org.glassfish.tyrus.sample.chat.chatdata
Class ChatUpdateMessage

java.lang.Object
  extended by org.glassfish.tyrus.sample.chat.chatdata.ChatMessage
      extended by org.glassfish.tyrus.sample.chat.chatdata.ChatUpdateMessage

public class ChatUpdateMessage
extends ChatMessage

Author:
Danny Coward (danny.coward at oracle.com)

Constructor Summary
ChatUpdateMessage()
           
ChatUpdateMessage(String username, String message)
           
 
Method Summary
 String asString()
           
 void fromString(String s)
           
 String getMessage()
           
 String getUsername()
           
 
Methods inherited from class org.glassfish.tyrus.sample.chat.chatdata.ChatMessage
main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatUpdateMessage

public ChatUpdateMessage(String username,
                         String message)

ChatUpdateMessage

public ChatUpdateMessage()
Method Detail

getUsername

public String getUsername()

getMessage

public String getMessage()

fromString

public void fromString(String s)
Specified by:
fromString in class ChatMessage

asString

public String asString()
Specified by:
asString in class ChatMessage


Copyright © 2012. All Rights Reserved.