|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Object
Member
public class Member
This class represents participant on Channel.
System guarantees that the identity of member instances will
remain equal for same user on given channel.
Therefore it is safe to use Member instances, for instance,
as a key for Map.
| Method Summary | |
|---|---|
String |
getId()
Returns the unique identification string for this member. |
Value |
getInfo()
Returns the associated info structure for this member. |
void |
send(String command,
Value argument,
ResponseCallback callback)
Sends a message directly to this member. |
| Methods inherited from class Object |
|---|
toString, equals, hashCode |
| Methods inherited from |
|---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getId()
public Value getInfo()
public void send(String command,
Value argument,
ResponseCallback callback)
command - Name of commandargument - Command argumentcallback - Optional callback if the response is expected.
Callback will receive the response Value.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||