Package uk.ac.cam.cl.fjava.messages

Examples of uk.ac.cam.cl.fjava.messages.ChangeNickMessage


    private Message createMessage(String text) throws ExitApplicationException {
        Message m = null;

        if (text.startsWith("\\")) {
            if (text.startsWith("\\nick ")) {
                m = new ChangeNickMessage(text.substring(6));
            }

            else if (text.equals("\\quit")) {
                ChatClient.printMessage(new Date(), "Client",
                        "Connection terminated");
View Full Code Here


    private Message createMessage(String text) throws ExitApplicationException {
        Message m = null;

        if (text.startsWith("\\")) {
            if (text.startsWith("\\nick ")) {
                m = new ChangeNickMessage(text.substring(6));
            }

            else if (text.equals("\\quit")) {
                SafeChatClient.printMessage(new Date(), "Client",
                        "Connection terminated");
View Full Code Here

TOP

Related Classes of uk.ac.cam.cl.fjava.messages.ChangeNickMessage

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.