com.threerings.bureau.client
Interface BureauService

All Superinterfaces:
InvocationService<ClientObject>
All Known Implementing Classes:
BureauMarshaller

public interface BureauService
extends InvocationService<ClientObject>

Interface for the bureau to communicate with the server.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener
 
Method Summary
 void agentCreated(int agentId)
          Notify the server that a previosuly requested agent is now created and ready to use.
 void agentCreationFailed(int agentId)
          Notify the server that a previosuly requested agent could not be created.
 void agentDestroyed(int agentId)
          Notify the server that an agent is no longer running.
 void bureauError(String message)
          Notifies the server that this bureau has encountered a critical error and needs to be shut down.
 void bureauInitialized(String bureauId)
          Notifies the server that the bureau is up and running and ready to receive requests via the BureauReceiver.
 

Method Detail

bureauInitialized

void bureauInitialized(String bureauId)
Notifies the server that the bureau is up and running and ready to receive requests via the BureauReceiver.

See Also:
BureauReceiver

bureauError

void bureauError(String message)
Notifies the server that this bureau has encountered a critical error and needs to be shut down.


agentCreated

void agentCreated(int agentId)
Notify the server that a previosuly requested agent is now created and ready to use.

See Also:
BureauReceiver.createAgent(int)

agentCreationFailed

void agentCreationFailed(int agentId)
Notify the server that a previosuly requested agent could not be created.

See Also:
BureauReceiver.createAgent(int)

agentDestroyed

void agentDestroyed(int agentId)
Notify the server that an agent is no longer running. Normally called in response to a call to destroyAgent

See Also:
BureauReceiver.destroyAgent(int)