public interface ChatService extends InvocationService<ClientObject>
ChatDirector.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ChatService.TellListener
Used to communicate the response to a
tell(com.threerings.util.Name, java.lang.String, com.threerings.crowd.chat.client.ChatService.TellListener) request. |
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener| Modifier and Type | Method and Description |
|---|---|
void |
away(String message)
Sets this client's away message.
|
void |
broadcast(String message,
InvocationService.InvocationListener listener)
Requests that a message be broadcast to all users in the system.
|
void |
tell(Name target,
String message,
ChatService.TellListener listener)
Requests that a tell message be delivered to the user with username equal to
target. |
void tell(Name target, String message, ChatService.TellListener listener)
target.target - the username of the user to which the tell message should be delivered.message - the contents of the message.listener - the reference that will receive the tell response.void broadcast(String message, InvocationService.InvocationListener listener)
message - the contents of the message.listener - the reference that will receive a failure response.void away(String message)
Copyright © 2015. All rights reserved.