@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from BureauService.java.")
public class BureauMarshaller
extends InvocationMarshaller<ClientObject>
implements BureauService
BureauService interface
that marshalls the arguments and delivers the request to the provider
on the server. Also provides an implementation of the response listener
interfaces that marshall the response arguments and deliver them back
to the requesting client.InvocationMarshaller.ConfirmMarshaller, InvocationMarshaller.ListenerMarshaller, InvocationMarshaller.ResultMarshallerInvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListenerStreamable.Closure| Modifier and Type | Field and Description |
|---|---|
static int |
AGENT_CREATED
The method id used to dispatch
agentCreated(int) requests. |
static int |
AGENT_CREATION_FAILED
The method id used to dispatch
agentCreationFailed(int) requests. |
static int |
AGENT_DESTROYED
The method id used to dispatch
agentDestroyed(int) requests. |
static int |
BUREAU_ERROR
The method id used to dispatch
bureauError(java.lang.String) requests. |
static int |
BUREAU_INITIALIZED
The method id used to dispatch
bureauInitialized(java.lang.String) requests. |
| Constructor and Description |
|---|
BureauMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
agentCreated(int arg1)
Notify the server that a previosuly requested agent is now created and ready to use.
|
void |
agentCreationFailed(int arg1)
Notify the server that a previosuly requested agent could not be created.
|
void |
agentDestroyed(int arg1)
Notify the server that an agent is no longer running.
|
void |
bureauError(String arg1)
Notifies the server that this bureau has encountered a critical error and needs to be shut
down.
|
void |
bureauInitialized(String arg1)
Notifies the server that the bureau is up and running and ready to receive
requests via the
BureauReceiver. |
getInvocationCode, init, readObject, setInvocationOid, setNoResponse, toStringpublic static final int AGENT_CREATED
agentCreated(int) requests.public static final int AGENT_CREATION_FAILED
agentCreationFailed(int) requests.public static final int AGENT_DESTROYED
agentDestroyed(int) requests.public static final int BUREAU_ERROR
bureauError(java.lang.String) requests.public static final int BUREAU_INITIALIZED
bureauInitialized(java.lang.String) requests.public void agentCreated(int arg1)
BureauServiceagentCreated in interface BureauServiceBureauReceiver.createAgent(int)public void agentCreationFailed(int arg1)
BureauServiceagentCreationFailed in interface BureauServiceBureauReceiver.createAgent(int)public void agentDestroyed(int arg1)
BureauServicedestroyAgentagentDestroyed in interface BureauServiceBureauReceiver.destroyAgent(int)public void bureauError(String arg1)
BureauServicebureauError in interface BureauServicepublic void bureauInitialized(String arg1)
BureauServiceBureauReceiver.bureauInitialized in interface BureauServiceBureauReceiverCopyright © 2015. All rights reserved.