com.threerings.presents.data
Class InvocationMarshaller.ResultMarshaller
java.lang.Object
com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
com.threerings.presents.data.InvocationMarshaller.ResultMarshaller
- All Implemented Interfaces:
- Streamable, InvocationService.InvocationListener, InvocationService.ResultListener
- Enclosing class:
- InvocationMarshaller<T extends ClientObject>
public static class InvocationMarshaller.ResultMarshaller
- extends InvocationMarshaller.ListenerMarshaller
- implements InvocationService.ResultListener
Defines a marshaller for the standard InvocationService.ResultListener.
|
Method Summary |
void |
dispatchResponse(int methodId,
Object[] args)
Called to dispatch an invocation response to our target listener. |
void |
requestProcessed(Object result)
Indicates that the request was successfully processed. |
REQUEST_PROCESSED
public static final int REQUEST_PROCESSED
- The method id used to dispatch
requestProcessed(java.lang.Object) responses.
- See Also:
- Constant Field Values
InvocationMarshaller.ResultMarshaller
public InvocationMarshaller.ResultMarshaller()
requestProcessed
public void requestProcessed(Object result)
- Description copied from interface:
InvocationService.ResultListener
- Indicates that the request was successfully processed.
- Specified by:
requestProcessed in interface InvocationService.ResultListener
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