|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gwtwidgets.client.stream.Message
public class Message
Models a message sent over the streaming protocol
| Constructor Summary | |
|---|---|
Message()
|
|
| Method Summary | |
|---|---|
Map<String,String> |
getAttributes()
Returns reference to the message attribute map. |
String |
getContent()
Message content. |
int |
getSerialNumber()
|
boolean |
isEOF()
True if this is the last message in the stream |
void |
setAttributes(Map<String,String> attributes)
|
void |
setContent(String content)
|
void |
setEOF(boolean eof)
|
void |
setSerialNumber(int serialNumber)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Message()
| Method Detail |
|---|
public boolean isEOF()
public void setEOF(boolean eof)
public String getContent()
public void setContent(String content)
public Map<String,String> getAttributes()
public int getSerialNumber()
public void setSerialNumber(int serialNumber)
public void setAttributes(Map<String,String> attributes)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||