com.threerings.micasa.lobby
Class LobbyMarshaller
java.lang.Object
com.threerings.presents.data.InvocationMarshaller
com.threerings.micasa.lobby.LobbyMarshaller
- All Implemented Interfaces:
- Streamable, LobbyService, InvocationService
@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from LobbyService.java.")
public class LobbyMarshaller- extends InvocationMarshaller
- implements LobbyService
Provides the implementation of the LobbyService 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.
| Methods inherited from class com.threerings.presents.data.InvocationMarshaller |
getInvocationCode, init, readField__invCode, readField__invOid, readObject, sendRequest, sendRequest, sendRequest, sendRequest, setInvocationOid, setNoResponse, toString, writeField__invCode, writeField__invOid |
GET_CATEGORIES
public static final int GET_CATEGORIES
- The method id used to dispatch
getCategories(com.threerings.micasa.lobby.LobbyService.CategoriesListener) requests.
- See Also:
- Constant Field Values
GET_LOBBIES
public static final int GET_LOBBIES
- The method id used to dispatch
getLobbies(java.lang.String, com.threerings.micasa.lobby.LobbyService.LobbiesListener) requests.
- See Also:
- Constant Field Values
LobbyMarshaller
public LobbyMarshaller()
getCategories
public void getCategories(LobbyService.CategoriesListener arg1)
- Description copied from interface:
LobbyService
- Requests the list of lobby categories that are available on this
server.
- Specified by:
getCategories in interface LobbyService
- Parameters:
arg1 - the listener that will receive and process the response.
getLobbies
public void getLobbies(String arg1,
LobbyService.LobbiesListener arg2)
- Description copied from interface:
LobbyService
- Requests information on all active lobbies that match the specified category.
- Specified by:
getLobbies in interface LobbyService
- Parameters:
arg1 - the category of game for which a list of lobbies is desired.arg2 - the listener that will receive and process the response.