Regenerated with updated templates.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@87 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2006-10-04 20:48:15 +00:00
parent 5c1ac0f17d
commit d896041553
10 changed files with 65 additions and 63 deletions
@@ -37,7 +37,9 @@ import java.util.List;
public class LobbyMarshaller extends InvocationMarshaller
implements LobbyService
{
// documentation inherited
/**
* Marshalls results to implementations of {@link CategoriesListener}.
*/
public static class CategoriesMarshaller extends ListenerMarshaller
implements CategoriesListener
{
@@ -45,7 +47,7 @@ public class LobbyMarshaller extends InvocationMarshaller
* responses. */
public static final int GOT_CATEGORIES = 1;
// documentation inherited from interface
// from interface CategoriesMarshaller
public void gotCategories (String[] arg1)
{
_invId = null;
@@ -54,7 +56,7 @@ public class LobbyMarshaller extends InvocationMarshaller
new Object[] { arg1 }));
}
// documentation inherited
@Override // from InvocationMarshaller
public void dispatchResponse (int methodId, Object[] args)
{
switch (methodId) {
@@ -70,7 +72,9 @@ public class LobbyMarshaller extends InvocationMarshaller
}
}
// documentation inherited
/**
* Marshalls results to implementations of {@link LobbiesListener}.
*/
public static class LobbiesMarshaller extends ListenerMarshaller
implements LobbiesListener
{
@@ -78,7 +82,7 @@ public class LobbyMarshaller extends InvocationMarshaller
* responses. */
public static final int GOT_LOBBIES = 1;
// documentation inherited from interface
// from interface LobbiesMarshaller
public void gotLobbies (List arg1)
{
_invId = null;
@@ -87,7 +91,7 @@ public class LobbyMarshaller extends InvocationMarshaller
new Object[] { arg1 }));
}
// documentation inherited
@Override // from InvocationMarshaller
public void dispatchResponse (int methodId, Object[] args)
{
switch (methodId) {
@@ -106,7 +110,7 @@ public class LobbyMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #getCategories} requests. */
public static final int GET_CATEGORIES = 1;
// documentation inherited from interface
// from interface LobbyService
public void getCategories (Client arg1, LobbyService.CategoriesListener arg2)
{
LobbyMarshaller.CategoriesMarshaller listener2 = new LobbyMarshaller.CategoriesMarshaller();
@@ -119,7 +123,7 @@ public class LobbyMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #getLobbies} requests. */
public static final int GET_LOBBIES = 2;
// documentation inherited from interface
// from interface LobbyService
public void getLobbies (Client arg1, String arg2, LobbyService.LobbiesListener arg3)
{
LobbyMarshaller.LobbiesMarshaller listener3 = new LobbyMarshaller.LobbiesMarshaller();
@@ -128,5 +132,4 @@ public class LobbyMarshaller extends InvocationMarshaller
arg2, listener3
});
}
}
@@ -40,12 +40,11 @@ public class SimulatorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #createGame} requests. */
public static final int CREATE_GAME = 1;
// documentation inherited from interface
// from interface SimulatorService
public void createGame (Client arg1, GameConfig arg2, String arg3, int arg4)
{
sendRequest(arg1, CREATE_GAME, new Object[] {
arg2, arg3, Integer.valueOf(arg4)
});
}
}