com.threerings.micasa.lobby
Class LobbyMarshaller.LobbiesMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
      extended by com.threerings.micasa.lobby.LobbyMarshaller.LobbiesMarshaller
All Implemented Interfaces:
Streamable, LobbyService.LobbiesListener, InvocationService.InvocationListener
Enclosing class:
LobbyMarshaller

public static class LobbyMarshaller.LobbiesMarshaller
extends InvocationMarshaller.ListenerMarshaller
implements LobbyService.LobbiesListener

Marshalls results to implementations of LobbyService.LobbiesListener.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
static int GOT_LOBBIES
          The method id used to dispatch gotLobbies(java.util.List) responses.
 
Fields inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
_invId, callerOid, listener, mapStamp, omgr, REQUEST_FAILED_RSPID, requestId, transport
 
Constructor Summary
LobbyMarshaller.LobbiesMarshaller()
           
 
Method Summary
 void dispatchResponse(int methodId, Object[] args)
           
 void gotLobbies(List<Lobby> arg1)
          Supplies the listener with the results of a LobbyService.getLobbies(java.lang.String, com.threerings.micasa.lobby.LobbyService.LobbiesListener) 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

GOT_LOBBIES

public static final int GOT_LOBBIES
The method id used to dispatch gotLobbies(java.util.List) responses.

See Also:
Constant Field Values
Constructor Detail

LobbyMarshaller.LobbiesMarshaller

public LobbyMarshaller.LobbiesMarshaller()
Method Detail

gotLobbies

public void gotLobbies(List<Lobby> arg1)
Description copied from interface: LobbyService.LobbiesListener
Supplies the listener with the results of a LobbyService.getLobbies(java.lang.String, com.threerings.micasa.lobby.LobbyService.LobbiesListener) request.

Specified by:
gotLobbies in interface LobbyService.LobbiesListener

dispatchResponse

public void dispatchResponse(int methodId,
                             Object[] args)
Overrides:
dispatchResponse in class InvocationMarshaller.ListenerMarshaller