public interface AtmosphereMessage<T>
extends java.io.Serializable
ManagedService| Modifier and Type | Interface and Description |
|---|---|
static class |
AtmosphereMessage.TYPE |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asByte()
Serialize this object in the form of an byte[] array.
|
java.lang.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 |
AtmosphereMessage.TYPE type()
AtmosphereMessage.TYPET getMessage()
void setMessage(T message)
message - java.lang.String asString()
String.byte[] asByte()
Copyright © 2019. All Rights Reserved.