Package edu.drexel.cs544.mcmuc.util

Examples of edu.drexel.cs544.mcmuc.util.MulticastChannel


        Room room = (Room) channels.get(roomNames.get(roomName));
        if (room != null) {
            room.removeKeyPair(publicKey);
            this.alert("Removed key pair for \"" + room.getUserName() + "@" + roomName + "\"");
        } else {
            throw new RoomDoesNotExistException(roomName);
        }
    }
View Full Code Here


        Room room = (Room) channels.get(roomNames.get(roomName));
        if (room != null) {
            room.send(message);
            this.output(message.getFrom() + "@" + roomName + ": " + (message.hasKey() ? "*encrypted*" : message.getBody())); // To create a new command prompt
        } else {
            throw new RoomDoesNotExistException(roomName);
        }
    }
View Full Code Here

TOP

Related Classes of edu.drexel.cs544.mcmuc.util.MulticastChannel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.