|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AtmosphereMessage<T>
Base class for GWT deserialized messages that will be broadcasted as String through the Atmosphere Framework own component like ManagedService
| Nested Class Summary | |
|---|---|
static class |
AtmosphereMessage.TYPE
|
| Method Summary | |
|---|---|
byte[] |
asByte()
Serialize this object in the form of an byte[] array. |
String |
asString()
Serialize this object in the form of an String. |
T |
getMessage()
Return the message of type T |
void |
setMessage(T message)
Set the message of type T |
AtmosphereMessage.TYPE |
type()
Return the AtmosphereMessage.TYPE |
| Method Detail |
|---|
AtmosphereMessage.TYPE type()
AtmosphereMessage.TYPE
T getMessage()
void setMessage(T message)
message - String asString()
String.
byte[] asByte()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||