|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Message
A Bayeux Message
A Bayeux message is a Map of String/Object key value pairs representing the data in the message.
The message contains information about the channel it was published through and who the sender was
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Method Summary | |
|---|---|
Channel |
getChannel()
Returns a reference to the channel that this message was published throuhg |
Client |
getClient()
Returns a reference to the client that sent this message |
long |
getCreationTime()
returns the timestamp in milliseconds(System.currentTimeMillis()) of when this message was created. |
java.lang.String |
getId()
Returns the unique id of this message |
long |
getTTL()
Returns the time to live (in milliseconds) for this message |
void |
setTTL(long ttl)
Sets the time to live in milliseconds. |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Method Detail |
|---|
Client getClient()
Channel getChannel()
java.lang.String getId()
void setTTL(long ttl)
ttl - longlong getTTL()
long getCreationTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||