com.threerings.presents.data
Class InvocationMarshaller.ConfirmMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
      extended by com.threerings.presents.data.InvocationMarshaller.ConfirmMarshaller
All Implemented Interfaces:
Streamable, InvocationService.ConfirmListener, InvocationService.InvocationListener
Enclosing class:
InvocationMarshaller<T extends ClientObject>

public static class InvocationMarshaller.ConfirmMarshaller
extends InvocationMarshaller.ListenerMarshaller
implements InvocationService.ConfirmListener

Defines a marshaller for the standard InvocationService.ConfirmListener.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
static int REQUEST_PROCESSED
          The method id used to dispatch requestProcessed() responses.
 
Fields inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
_invId, callerOid, listener, mapStamp, omgr, REQUEST_FAILED_RSPID, requestId, transport
 
Constructor Summary
InvocationMarshaller.ConfirmMarshaller()
           
 
Method Summary
 void dispatchResponse(int methodId, Object[] args)
          Called to dispatch an invocation response to our target listener.
 void requestProcessed()
          Indicates that the request was successfully processed.
 
Methods inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
cast, finalize, requestFailed, sendResponse, setInvocationId, setNoResponse, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.threerings.presents.client.InvocationService.InvocationListener
requestFailed
 

Field Detail

REQUEST_PROCESSED

public static final int REQUEST_PROCESSED
The method id used to dispatch requestProcessed() responses.

See Also:
Constant Field Values
Constructor Detail

InvocationMarshaller.ConfirmMarshaller

public InvocationMarshaller.ConfirmMarshaller()
Method Detail

requestProcessed

public void requestProcessed()
Description copied from interface: InvocationService.ConfirmListener
Indicates that the request was successfully processed.

Specified by:
requestProcessed in interface InvocationService.ConfirmListener

dispatchResponse

public void dispatchResponse(int methodId,
                             Object[] args)
Description copied from class: InvocationMarshaller.ListenerMarshaller
Called to dispatch an invocation response to our target listener.

Overrides:
dispatchResponse in class InvocationMarshaller.ListenerMarshaller