@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from LobbyService.java.")
public class LobbyMarshaller
extends com.threerings.presents.data.InvocationMarshaller
implements LobbyService
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.| Modifier and Type | Class and Description |
|---|---|
static class |
LobbyMarshaller.CategoriesMarshaller
Marshalls results to implementations of
LobbyService.CategoriesListener. |
static class |
LobbyMarshaller.LobbiesMarshaller
Marshalls results to implementations of
LobbyService.LobbiesListener. |
com.threerings.presents.data.InvocationMarshaller.ConfirmMarshaller, com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller, com.threerings.presents.data.InvocationMarshaller.ResultMarshallerLobbyService.CategoriesListener, LobbyService.LobbiesListener| Modifier and Type | Field and Description |
|---|---|
static int |
GET_CATEGORIES
The method id used to dispatch
getCategories(com.threerings.micasa.lobby.LobbyService.CategoriesListener) requests. |
static int |
GET_LOBBIES
The method id used to dispatch
getLobbies(java.lang.String, com.threerings.micasa.lobby.LobbyService.LobbiesListener) requests. |
| Constructor and Description |
|---|
LobbyMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
getCategories(LobbyService.CategoriesListener arg1)
Requests the list of lobby categories that are available on this
server.
|
void |
getLobbies(String arg1,
LobbyService.LobbiesListener arg2)
Requests information on all active lobbies that match the specified category.
|
public static final int GET_CATEGORIES
getCategories(com.threerings.micasa.lobby.LobbyService.CategoriesListener) requests.public static final int GET_LOBBIES
getLobbies(java.lang.String, com.threerings.micasa.lobby.LobbyService.LobbiesListener) requests.public void getCategories(LobbyService.CategoriesListener arg1)
LobbyServicegetCategories in interface LobbyServicearg1 - the listener that will receive and process the response.public void getLobbies(String arg1, LobbyService.LobbiesListener arg2)
LobbyServicegetLobbies in interface LobbyServicearg1 - the category of game for which a list of lobbies is desired.arg2 - the listener that will receive and process the response.Copyright © 2015. All rights reserved.