|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Representation interface of a client.
Inner Class Summary | |
static class |
Client.ConnectionType
The connection type indicates the client's connection type: long-polling messages are sent to the server as the message parameter of an application/x-www-form-urlencoded encoded POST request. |
Method Summary | |
AuthenticatedUser |
getAuthenticatedUser()
Get authenticated user object of this client. |
java.util.Set |
getChannelSubscriptions()
Get all the channels currently subscribed by this client. |
java.lang.String |
getId()
Get the ID associated with this client |
long |
getLastAccessTime()
Get the last-accessed-time for this client |
long |
getPublishedMessageCount()
Get the number of messages published by this client on all channels |
void |
updateLastAccessTime()
Update last access time for this client. |
Method Detail |
public java.lang.String getId()
public long getLastAccessTime()
public java.util.Set getChannelSubscriptions()
public long getPublishedMessageCount()
public void updateLastAccessTime()
public AuthenticatedUser getAuthenticatedUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |