Package de.dwerth.gntpserver.gntp.messages

Examples of de.dwerth.gntpserver.gntp.messages.NotifyMessage


    // Check what Messagetype we got here
    StringTokenizer st = new StringTokenizer(firstLine, " ");
    st.nextToken(); // GNTP/<version>
    String messageType = st.nextToken(); // <messagetype>
    if (messageType.equals(GNTPMessage.NOTIFY)) {
      retVal = new NotifyMessage();
    } else if (messageType.equals(GNTPMessage.REGISTER)) {
      retVal = new RegisterMessage();
    } else if (messageType.equals(GNTPMessage.SUBSCRIBE)) {
      retVal = new SubscribeMessage();
    } else {
View Full Code Here

TOP

Related Classes of de.dwerth.gntpserver.gntp.messages.NotifyMessage

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.