com.threerings.bureau.client
Interface BureauReceiver
- All Superinterfaces:
- InvocationReceiver
public interface BureauReceiver
- extends InvocationReceiver
Hooks for controlling a previously launched bureau client.
|
Method Summary |
void |
createAgent(int agentId)
Creates a new agent. |
void |
destroyAgent(int agentId)
Destroys a previously created agent. |
createAgent
void createAgent(int agentId)
- Creates a new agent. Implementors should create a new
Agent and give it access to
the AgentObject referred to by the agentId parameter and must notify
the service that the agent has been created using BureauService.agentCreated(com.threerings.presents.client.Client, int).
- Parameters:
agentId - the id of the AgentObject that needs an Agent
destroyAgent
void destroyAgent(int agentId)
- Destroys a previously created agent. Implementors should destroy the agent that was created
by the call to
createAgent with the same agent id and must notify
the service that the agent has been created using BureauService.agentDestroyed(com.threerings.presents.client.Client, int).
- Parameters:
agentId - the id of the AgentObject whose Agent
should be destroyed