|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for server components to communicate with users at their client.
| Method Summary | |
void |
broadcast(java.util.Enumeration users,
Message m)
Broadcasts message to the given set of users (EXCEPT self). |
void |
broadcast(Message m)
Broadcast Message to all active users EXCEPT self. |
void |
connectUser(java.lang.String userName,
ICommunicator agent)
Register with the communicator the means to interact with a user. |
void |
output(Message m)
Output message. |
| Method Detail |
public void broadcast(Message m)
m - Message
public void broadcast(java.util.Enumeration users,
Message m)
users - Enumeration an Enumeration of User objects to deliver message tom - Message the Message to be delivered to the client.
public void connectUser(java.lang.String userName,
ICommunicator agent)
userName - user for whom communication is being managed.agent - ICommunicator object managing the communicationpublic void output(Message m)
The routing of the message is determined by the message's attributes.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||