org.atmosphere.samples.chat
Class WebSocketChat.Data

java.lang.Object
  extended by org.atmosphere.samples.chat.WebSocketChat.Data
Enclosing class:
WebSocketChat

public static final class WebSocketChat.Data
extends Object


Constructor Summary
WebSocketChat.Data()
           
WebSocketChat.Data(String author, String message)
           
 
Method Summary
 String getAuthor()
           
 String getMessage()
           
 long getTime()
           
 void setAuthor(String author)
           
 void setMessage(String message)
           
 void setTime(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSocketChat.Data

public WebSocketChat.Data()

WebSocketChat.Data

public WebSocketChat.Data(String author,
                          String message)
Method Detail

getMessage

public String getMessage()

getAuthor

public String getAuthor()

setAuthor

public void setAuthor(String author)

setMessage

public void setMessage(String message)

getTime

public long getTime()

setTime

public void setTime(long time)


Copyright © 2013. All Rights Reserved.