com.threerings.crowd.chat.data
Class ChatMarshaller.TellMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
      extended by com.threerings.crowd.chat.data.ChatMarshaller.TellMarshaller
All Implemented Interfaces:
ChatService.TellListener, Streamable, InvocationService.InvocationListener
Enclosing class:
ChatMarshaller

public static class ChatMarshaller.TellMarshaller
extends InvocationMarshaller.ListenerMarshaller
implements ChatService.TellListener

Marshalls results to implementations of ChatService.TellListener.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
static int TELL_SUCCEEDED
          The method id used to dispatch tellSucceeded(long, java.lang.String) responses.
 
Fields inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
_invId, callerOid, listener, mapStamp, omgr, REQUEST_FAILED_RSPID, requestId, transport
 
Constructor Summary
ChatMarshaller.TellMarshaller()
           
 
Method Summary
 void dispatchResponse(int methodId, Object[] args)
          Called to dispatch an invocation response to our target listener.
 void tellSucceeded(long arg1, String arg2)
          Communicates the response to a ChatService.tell(com.threerings.util.Name, java.lang.String, com.threerings.crowd.chat.client.ChatService.TellListener) request.
 
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

TELL_SUCCEEDED

public static final int TELL_SUCCEEDED
The method id used to dispatch tellSucceeded(long, java.lang.String) responses.

See Also:
Constant Field Values
Constructor Detail

ChatMarshaller.TellMarshaller

public ChatMarshaller.TellMarshaller()
Method Detail

tellSucceeded

public void tellSucceeded(long arg1,
                          String arg2)
Description copied from interface: ChatService.TellListener
Communicates the response to a ChatService.tell(com.threerings.util.Name, java.lang.String, com.threerings.crowd.chat.client.ChatService.TellListener) request.

Specified by:
tellSucceeded in interface ChatService.TellListener
Parameters:
arg1 - the number of ms the tellee has been idle or 0L if they are not idle.
arg2 - the away message configured by the told player or null if they have no away message.

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