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
@@ -40,7 +40,7 @@ public class EZGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #addToCollection} requests. */ /** The method id used to dispatch {@link #addToCollection} requests. */
public static final int ADD_TO_COLLECTION = 1; public static final int ADD_TO_COLLECTION = 1;
// documentation inherited from interface // from interface EZGameService
public void addToCollection (Client arg1, String arg2, byte[][] arg3, boolean arg4, InvocationService.InvocationListener arg5) public void addToCollection (Client arg1, String arg2, byte[][] arg3, boolean arg4, InvocationService.InvocationListener arg5)
{ {
ListenerMarshaller listener5 = new ListenerMarshaller(); ListenerMarshaller listener5 = new ListenerMarshaller();
@@ -53,7 +53,7 @@ public class EZGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #endGame} requests. */ /** The method id used to dispatch {@link #endGame} requests. */
public static final int END_GAME = 2; public static final int END_GAME = 2;
// documentation inherited from interface // from interface EZGameService
public void endGame (Client arg1, int[] arg2, InvocationService.InvocationListener arg3) public void endGame (Client arg1, int[] arg2, InvocationService.InvocationListener arg3)
{ {
ListenerMarshaller listener3 = new ListenerMarshaller(); ListenerMarshaller listener3 = new ListenerMarshaller();
@@ -66,7 +66,7 @@ public class EZGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #endTurn} requests. */ /** The method id used to dispatch {@link #endTurn} requests. */
public static final int END_TURN = 3; public static final int END_TURN = 3;
// documentation inherited from interface // from interface EZGameService
public void endTurn (Client arg1, int arg2, InvocationService.InvocationListener arg3) public void endTurn (Client arg1, int arg2, InvocationService.InvocationListener arg3)
{ {
ListenerMarshaller listener3 = new ListenerMarshaller(); ListenerMarshaller listener3 = new ListenerMarshaller();
@@ -79,7 +79,7 @@ public class EZGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #getFromCollection} requests. */ /** The method id used to dispatch {@link #getFromCollection} requests. */
public static final int GET_FROM_COLLECTION = 4; public static final int GET_FROM_COLLECTION = 4;
// documentation inherited from interface // from interface EZGameService
public void getFromCollection (Client arg1, String arg2, boolean arg3, int arg4, String arg5, int arg6, InvocationService.ConfirmListener arg7) public void getFromCollection (Client arg1, String arg2, boolean arg3, int arg4, String arg5, int arg6, InvocationService.ConfirmListener arg7)
{ {
InvocationMarshaller.ConfirmMarshaller listener7 = new InvocationMarshaller.ConfirmMarshaller(); InvocationMarshaller.ConfirmMarshaller listener7 = new InvocationMarshaller.ConfirmMarshaller();
@@ -92,7 +92,7 @@ public class EZGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #mergeCollection} requests. */ /** The method id used to dispatch {@link #mergeCollection} requests. */
public static final int MERGE_COLLECTION = 5; public static final int MERGE_COLLECTION = 5;
// documentation inherited from interface // from interface EZGameService
public void mergeCollection (Client arg1, String arg2, String arg3, InvocationService.InvocationListener arg4) public void mergeCollection (Client arg1, String arg2, String arg3, InvocationService.InvocationListener arg4)
{ {
ListenerMarshaller listener4 = new ListenerMarshaller(); ListenerMarshaller listener4 = new ListenerMarshaller();
@@ -105,7 +105,7 @@ public class EZGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #sendMessage} requests. */ /** The method id used to dispatch {@link #sendMessage} requests. */
public static final int SEND_MESSAGE = 6; public static final int SEND_MESSAGE = 6;
// documentation inherited from interface // from interface EZGameService
public void sendMessage (Client arg1, String arg2, Object arg3, int arg4, InvocationService.InvocationListener arg5) public void sendMessage (Client arg1, String arg2, Object arg3, int arg4, InvocationService.InvocationListener arg5)
{ {
ListenerMarshaller listener5 = new ListenerMarshaller(); ListenerMarshaller listener5 = new ListenerMarshaller();
@@ -118,7 +118,7 @@ public class EZGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #setProperty} requests. */ /** The method id used to dispatch {@link #setProperty} requests. */
public static final int SET_PROPERTY = 7; public static final int SET_PROPERTY = 7;
// documentation inherited from interface // from interface EZGameService
public void setProperty (Client arg1, String arg2, Object arg3, int arg4, InvocationService.InvocationListener arg5) public void setProperty (Client arg1, String arg2, Object arg3, int arg4, InvocationService.InvocationListener arg5)
{ {
ListenerMarshaller listener5 = new ListenerMarshaller(); ListenerMarshaller listener5 = new ListenerMarshaller();
@@ -131,7 +131,7 @@ public class EZGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #setTicker} requests. */ /** The method id used to dispatch {@link #setTicker} requests. */
public static final int SET_TICKER = 8; public static final int SET_TICKER = 8;
// documentation inherited from interface // from interface EZGameService
public void setTicker (Client arg1, String arg2, int arg3, InvocationService.InvocationListener arg4) public void setTicker (Client arg1, String arg2, int arg3, InvocationService.InvocationListener arg4)
{ {
ListenerMarshaller listener4 = new ListenerMarshaller(); ListenerMarshaller listener4 = new ListenerMarshaller();
@@ -140,5 +140,4 @@ public class EZGameMarshaller extends InvocationMarshaller
arg2, Integer.valueOf(arg3), listener4 arg2, Integer.valueOf(arg3), listener4
}); });
} }
} }
@@ -37,7 +37,9 @@ import java.util.List;
public class LobbyMarshaller extends InvocationMarshaller public class LobbyMarshaller extends InvocationMarshaller
implements LobbyService implements LobbyService
{ {
// documentation inherited /**
* Marshalls results to implementations of {@link CategoriesListener}.
*/
public static class CategoriesMarshaller extends ListenerMarshaller public static class CategoriesMarshaller extends ListenerMarshaller
implements CategoriesListener implements CategoriesListener
{ {
@@ -45,7 +47,7 @@ public class LobbyMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int GOT_CATEGORIES = 1; public static final int GOT_CATEGORIES = 1;
// documentation inherited from interface // from interface CategoriesMarshaller
public void gotCategories (String[] arg1) public void gotCategories (String[] arg1)
{ {
_invId = null; _invId = null;
@@ -54,7 +56,7 @@ public class LobbyMarshaller extends InvocationMarshaller
new Object[] { arg1 })); new Object[] { arg1 }));
} }
// documentation inherited @Override // from InvocationMarshaller
public void dispatchResponse (int methodId, Object[] args) public void dispatchResponse (int methodId, Object[] args)
{ {
switch (methodId) { 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 public static class LobbiesMarshaller extends ListenerMarshaller
implements LobbiesListener implements LobbiesListener
{ {
@@ -78,7 +82,7 @@ public class LobbyMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int GOT_LOBBIES = 1; public static final int GOT_LOBBIES = 1;
// documentation inherited from interface // from interface LobbiesMarshaller
public void gotLobbies (List arg1) public void gotLobbies (List arg1)
{ {
_invId = null; _invId = null;
@@ -87,7 +91,7 @@ public class LobbyMarshaller extends InvocationMarshaller
new Object[] { arg1 })); new Object[] { arg1 }));
} }
// documentation inherited @Override // from InvocationMarshaller
public void dispatchResponse (int methodId, Object[] args) public void dispatchResponse (int methodId, Object[] args)
{ {
switch (methodId) { switch (methodId) {
@@ -106,7 +110,7 @@ public class LobbyMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #getCategories} requests. */ /** The method id used to dispatch {@link #getCategories} requests. */
public static final int GET_CATEGORIES = 1; public static final int GET_CATEGORIES = 1;
// documentation inherited from interface // from interface LobbyService
public void getCategories (Client arg1, LobbyService.CategoriesListener arg2) public void getCategories (Client arg1, LobbyService.CategoriesListener arg2)
{ {
LobbyMarshaller.CategoriesMarshaller listener2 = new LobbyMarshaller.CategoriesMarshaller(); LobbyMarshaller.CategoriesMarshaller listener2 = new LobbyMarshaller.CategoriesMarshaller();
@@ -119,7 +123,7 @@ public class LobbyMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #getLobbies} requests. */ /** The method id used to dispatch {@link #getLobbies} requests. */
public static final int GET_LOBBIES = 2; public static final int GET_LOBBIES = 2;
// documentation inherited from interface // from interface LobbyService
public void getLobbies (Client arg1, String arg2, LobbyService.LobbiesListener arg3) public void getLobbies (Client arg1, String arg2, LobbyService.LobbiesListener arg3)
{ {
LobbyMarshaller.LobbiesMarshaller listener3 = new LobbyMarshaller.LobbiesMarshaller(); LobbyMarshaller.LobbiesMarshaller listener3 = new LobbyMarshaller.LobbiesMarshaller();
@@ -128,5 +132,4 @@ public class LobbyMarshaller extends InvocationMarshaller
arg2, listener3 arg2, listener3
}); });
} }
} }
@@ -40,12 +40,11 @@ public class SimulatorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #createGame} requests. */ /** The method id used to dispatch {@link #createGame} requests. */
public static final int CREATE_GAME = 1; 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) public void createGame (Client arg1, GameConfig arg2, String arg3, int arg4)
{ {
sendRequest(arg1, CREATE_GAME, new Object[] { sendRequest(arg1, CREATE_GAME, new Object[] {
arg2, arg3, Integer.valueOf(arg4) arg2, arg3, Integer.valueOf(arg4)
}); });
} }
} }
@@ -40,7 +40,7 @@ public class TrickCardGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #playCard} requests. */ /** The method id used to dispatch {@link #playCard} requests. */
public static final int PLAY_CARD = 1; public static final int PLAY_CARD = 1;
// documentation inherited from interface // from interface TrickCardGameService
public void playCard (Client arg1, Card arg2, int arg3) public void playCard (Client arg1, Card arg2, int arg3)
{ {
sendRequest(arg1, PLAY_CARD, new Object[] { sendRequest(arg1, PLAY_CARD, new Object[] {
@@ -51,7 +51,7 @@ public class TrickCardGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #requestRematch} requests. */ /** The method id used to dispatch {@link #requestRematch} requests. */
public static final int REQUEST_REMATCH = 2; public static final int REQUEST_REMATCH = 2;
// documentation inherited from interface // from interface TrickCardGameService
public void requestRematch (Client arg1) public void requestRematch (Client arg1)
{ {
sendRequest(arg1, REQUEST_REMATCH, new Object[] { sendRequest(arg1, REQUEST_REMATCH, new Object[] {
@@ -62,12 +62,11 @@ public class TrickCardGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #sendCardsToPlayer} requests. */ /** The method id used to dispatch {@link #sendCardsToPlayer} requests. */
public static final int SEND_CARDS_TO_PLAYER = 3; public static final int SEND_CARDS_TO_PLAYER = 3;
// documentation inherited from interface // from interface TrickCardGameService
public void sendCardsToPlayer (Client arg1, int arg2, Card[] arg3) public void sendCardsToPlayer (Client arg1, int arg2, Card[] arg3)
{ {
sendRequest(arg1, SEND_CARDS_TO_PLAYER, new Object[] { sendRequest(arg1, SEND_CARDS_TO_PLAYER, new Object[] {
Integer.valueOf(arg2), arg3 Integer.valueOf(arg2), arg3
}); });
} }
} }
@@ -40,7 +40,9 @@ import com.threerings.util.Name;
public class ParlorMarshaller extends InvocationMarshaller public class ParlorMarshaller extends InvocationMarshaller
implements ParlorService implements ParlorService
{ {
// documentation inherited /**
* Marshalls results to implementations of {@link InviteListener}.
*/
public static class InviteMarshaller extends ListenerMarshaller public static class InviteMarshaller extends ListenerMarshaller
implements InviteListener implements InviteListener
{ {
@@ -48,7 +50,7 @@ public class ParlorMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int INVITE_RECEIVED = 1; public static final int INVITE_RECEIVED = 1;
// documentation inherited from interface // from interface InviteMarshaller
public void inviteReceived (int arg1) public void inviteReceived (int arg1)
{ {
_invId = null; _invId = null;
@@ -57,7 +59,7 @@ public class ParlorMarshaller extends InvocationMarshaller
new Object[] { Integer.valueOf(arg1) })); new Object[] { Integer.valueOf(arg1) }));
} }
// documentation inherited @Override // from InvocationMarshaller
public void dispatchResponse (int methodId, Object[] args) public void dispatchResponse (int methodId, Object[] args)
{ {
switch (methodId) { switch (methodId) {
@@ -73,7 +75,9 @@ public class ParlorMarshaller extends InvocationMarshaller
} }
} }
// documentation inherited /**
* Marshalls results to implementations of {@link TableListener}.
*/
public static class TableMarshaller extends ListenerMarshaller public static class TableMarshaller extends ListenerMarshaller
implements TableListener implements TableListener
{ {
@@ -81,7 +85,7 @@ public class ParlorMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int TABLE_CREATED = 1; public static final int TABLE_CREATED = 1;
// documentation inherited from interface // from interface TableMarshaller
public void tableCreated (int arg1) public void tableCreated (int arg1)
{ {
_invId = null; _invId = null;
@@ -90,7 +94,7 @@ public class ParlorMarshaller extends InvocationMarshaller
new Object[] { Integer.valueOf(arg1) })); new Object[] { Integer.valueOf(arg1) }));
} }
// documentation inherited @Override // from InvocationMarshaller
public void dispatchResponse (int methodId, Object[] args) public void dispatchResponse (int methodId, Object[] args)
{ {
switch (methodId) { switch (methodId) {
@@ -109,7 +113,7 @@ public class ParlorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #cancel} requests. */ /** The method id used to dispatch {@link #cancel} requests. */
public static final int CANCEL = 1; public static final int CANCEL = 1;
// documentation inherited from interface // from interface ParlorService
public void cancel (Client arg1, int arg2, InvocationService.InvocationListener arg3) public void cancel (Client arg1, int arg2, InvocationService.InvocationListener arg3)
{ {
ListenerMarshaller listener3 = new ListenerMarshaller(); ListenerMarshaller listener3 = new ListenerMarshaller();
@@ -122,7 +126,7 @@ public class ParlorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #createTable} requests. */ /** The method id used to dispatch {@link #createTable} requests. */
public static final int CREATE_TABLE = 2; public static final int CREATE_TABLE = 2;
// documentation inherited from interface // from interface ParlorService
public void createTable (Client arg1, int arg2, TableConfig arg3, GameConfig arg4, ParlorService.TableListener arg5) public void createTable (Client arg1, int arg2, TableConfig arg3, GameConfig arg4, ParlorService.TableListener arg5)
{ {
ParlorMarshaller.TableMarshaller listener5 = new ParlorMarshaller.TableMarshaller(); ParlorMarshaller.TableMarshaller listener5 = new ParlorMarshaller.TableMarshaller();
@@ -135,7 +139,7 @@ public class ParlorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #invite} requests. */ /** The method id used to dispatch {@link #invite} requests. */
public static final int INVITE = 3; public static final int INVITE = 3;
// documentation inherited from interface // from interface ParlorService
public void invite (Client arg1, Name arg2, GameConfig arg3, ParlorService.InviteListener arg4) public void invite (Client arg1, Name arg2, GameConfig arg3, ParlorService.InviteListener arg4)
{ {
ParlorMarshaller.InviteMarshaller listener4 = new ParlorMarshaller.InviteMarshaller(); ParlorMarshaller.InviteMarshaller listener4 = new ParlorMarshaller.InviteMarshaller();
@@ -148,7 +152,7 @@ public class ParlorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #joinTable} requests. */ /** The method id used to dispatch {@link #joinTable} requests. */
public static final int JOIN_TABLE = 4; public static final int JOIN_TABLE = 4;
// documentation inherited from interface // from interface ParlorService
public void joinTable (Client arg1, int arg2, int arg3, int arg4, InvocationService.InvocationListener arg5) public void joinTable (Client arg1, int arg2, int arg3, int arg4, InvocationService.InvocationListener arg5)
{ {
ListenerMarshaller listener5 = new ListenerMarshaller(); ListenerMarshaller listener5 = new ListenerMarshaller();
@@ -161,7 +165,7 @@ public class ParlorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #leaveTable} requests. */ /** The method id used to dispatch {@link #leaveTable} requests. */
public static final int LEAVE_TABLE = 5; public static final int LEAVE_TABLE = 5;
// documentation inherited from interface // from interface ParlorService
public void leaveTable (Client arg1, int arg2, int arg3, InvocationService.InvocationListener arg4) public void leaveTable (Client arg1, int arg2, int arg3, InvocationService.InvocationListener arg4)
{ {
ListenerMarshaller listener4 = new ListenerMarshaller(); ListenerMarshaller listener4 = new ListenerMarshaller();
@@ -174,7 +178,7 @@ public class ParlorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #respond} requests. */ /** The method id used to dispatch {@link #respond} requests. */
public static final int RESPOND = 6; public static final int RESPOND = 6;
// documentation inherited from interface // from interface ParlorService
public void respond (Client arg1, int arg2, int arg3, Object arg4, InvocationService.InvocationListener arg5) public void respond (Client arg1, int arg2, int arg3, Object arg4, InvocationService.InvocationListener arg5)
{ {
ListenerMarshaller listener5 = new ListenerMarshaller(); ListenerMarshaller listener5 = new ListenerMarshaller();
@@ -187,7 +191,7 @@ public class ParlorMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #startSolitaire} requests. */ /** The method id used to dispatch {@link #startSolitaire} requests. */
public static final int START_SOLITAIRE = 7; public static final int START_SOLITAIRE = 7;
// documentation inherited from interface // from interface ParlorService
public void startSolitaire (Client arg1, GameConfig arg2, InvocationService.ConfirmListener arg3) public void startSolitaire (Client arg1, GameConfig arg2, InvocationService.ConfirmListener arg3)
{ {
InvocationMarshaller.ConfirmMarshaller listener3 = new InvocationMarshaller.ConfirmMarshaller(); InvocationMarshaller.ConfirmMarshaller listener3 = new InvocationMarshaller.ConfirmMarshaller();
@@ -196,5 +200,4 @@ public class ParlorMarshaller extends InvocationMarshaller
arg2, listener3 arg2, listener3
}); });
} }
} }
@@ -40,7 +40,7 @@ public class PuzzleGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #updateProgress} requests. */ /** The method id used to dispatch {@link #updateProgress} requests. */
public static final int UPDATE_PROGRESS = 1; public static final int UPDATE_PROGRESS = 1;
// documentation inherited from interface // from interface PuzzleGameService
public void updateProgress (Client arg1, int arg2, int[] arg3) public void updateProgress (Client arg1, int arg2, int[] arg3)
{ {
sendRequest(arg1, UPDATE_PROGRESS, new Object[] { sendRequest(arg1, UPDATE_PROGRESS, new Object[] {
@@ -51,12 +51,11 @@ public class PuzzleGameMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #updateProgressSync} requests. */ /** The method id used to dispatch {@link #updateProgressSync} requests. */
public static final int UPDATE_PROGRESS_SYNC = 2; public static final int UPDATE_PROGRESS_SYNC = 2;
// documentation inherited from interface // from interface PuzzleGameService
public void updateProgressSync (Client arg1, int arg2, int[] arg3, Board[] arg4) public void updateProgressSync (Client arg1, int arg2, int[] arg3, Board[] arg4)
{ {
sendRequest(arg1, UPDATE_PROGRESS_SYNC, new Object[] { sendRequest(arg1, UPDATE_PROGRESS_SYNC, new Object[] {
Integer.valueOf(arg2), arg3, arg4 Integer.valueOf(arg2), arg3, arg4
}); });
} }
} }
@@ -41,7 +41,7 @@ public class StageSceneMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #addObject} requests. */ /** The method id used to dispatch {@link #addObject} requests. */
public static final int ADD_OBJECT = 1; public static final int ADD_OBJECT = 1;
// documentation inherited from interface // from interface StageSceneService
public void addObject (Client arg1, ObjectInfo arg2, InvocationService.ConfirmListener arg3) public void addObject (Client arg1, ObjectInfo arg2, InvocationService.ConfirmListener arg3)
{ {
InvocationMarshaller.ConfirmMarshaller listener3 = new InvocationMarshaller.ConfirmMarshaller(); InvocationMarshaller.ConfirmMarshaller listener3 = new InvocationMarshaller.ConfirmMarshaller();
@@ -54,7 +54,7 @@ public class StageSceneMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #removeObjects} requests. */ /** The method id used to dispatch {@link #removeObjects} requests. */
public static final int REMOVE_OBJECTS = 2; public static final int REMOVE_OBJECTS = 2;
// documentation inherited from interface // from interface StageSceneService
public void removeObjects (Client arg1, ObjectInfo[] arg2, InvocationService.ConfirmListener arg3) public void removeObjects (Client arg1, ObjectInfo[] arg2, InvocationService.ConfirmListener arg3)
{ {
InvocationMarshaller.ConfirmMarshaller listener3 = new InvocationMarshaller.ConfirmMarshaller(); InvocationMarshaller.ConfirmMarshaller listener3 = new InvocationMarshaller.ConfirmMarshaller();
@@ -63,5 +63,4 @@ public class StageSceneMarshaller extends InvocationMarshaller
arg2, listener3 arg2, listener3
}); });
} }
} }
@@ -39,7 +39,9 @@ import com.threerings.whirled.data.SceneUpdate;
public class SceneMarshaller extends InvocationMarshaller public class SceneMarshaller extends InvocationMarshaller
implements SceneService implements SceneService
{ {
// documentation inherited /**
* Marshalls results to implementations of {@link SceneMoveListener}.
*/
public static class SceneMoveMarshaller extends ListenerMarshaller public static class SceneMoveMarshaller extends ListenerMarshaller
implements SceneMoveListener implements SceneMoveListener
{ {
@@ -47,7 +49,7 @@ public class SceneMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int MOVE_SUCCEEDED = 1; public static final int MOVE_SUCCEEDED = 1;
// documentation inherited from interface // from interface SceneMoveMarshaller
public void moveSucceeded (int arg1, PlaceConfig arg2) public void moveSucceeded (int arg1, PlaceConfig arg2)
{ {
_invId = null; _invId = null;
@@ -60,7 +62,7 @@ public class SceneMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int MOVE_SUCCEEDED_WITH_SCENE = 2; public static final int MOVE_SUCCEEDED_WITH_SCENE = 2;
// documentation inherited from interface // from interface SceneMoveMarshaller
public void moveSucceededWithScene (int arg1, PlaceConfig arg2, SceneModel arg3) public void moveSucceededWithScene (int arg1, PlaceConfig arg2, SceneModel arg3)
{ {
_invId = null; _invId = null;
@@ -73,7 +75,7 @@ public class SceneMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int MOVE_SUCCEEDED_WITH_UPDATES = 3; public static final int MOVE_SUCCEEDED_WITH_UPDATES = 3;
// documentation inherited from interface // from interface SceneMoveMarshaller
public void moveSucceededWithUpdates (int arg1, PlaceConfig arg2, SceneUpdate[] arg3) public void moveSucceededWithUpdates (int arg1, PlaceConfig arg2, SceneUpdate[] arg3)
{ {
_invId = null; _invId = null;
@@ -82,7 +84,7 @@ public class SceneMarshaller extends InvocationMarshaller
new Object[] { Integer.valueOf(arg1), arg2, arg3 })); new Object[] { Integer.valueOf(arg1), arg2, arg3 }));
} }
// documentation inherited @Override // from InvocationMarshaller
public void dispatchResponse (int methodId, Object[] args) public void dispatchResponse (int methodId, Object[] args)
{ {
switch (methodId) { switch (methodId) {
@@ -111,7 +113,7 @@ public class SceneMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #moveTo} requests. */ /** The method id used to dispatch {@link #moveTo} requests. */
public static final int MOVE_TO = 1; public static final int MOVE_TO = 1;
// documentation inherited from interface // from interface SceneService
public void moveTo (Client arg1, int arg2, int arg3, SceneService.SceneMoveListener arg4) public void moveTo (Client arg1, int arg2, int arg3, SceneService.SceneMoveListener arg4)
{ {
SceneMarshaller.SceneMoveMarshaller listener4 = new SceneMarshaller.SceneMoveMarshaller(); SceneMarshaller.SceneMoveMarshaller listener4 = new SceneMarshaller.SceneMoveMarshaller();
@@ -120,5 +122,4 @@ public class SceneMarshaller extends InvocationMarshaller
Integer.valueOf(arg2), Integer.valueOf(arg3), listener4 Integer.valueOf(arg2), Integer.valueOf(arg3), listener4
}); });
} }
} }
@@ -43,7 +43,7 @@ public class SpotMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #changeLocation} requests. */ /** The method id used to dispatch {@link #changeLocation} requests. */
public static final int CHANGE_LOCATION = 1; public static final int CHANGE_LOCATION = 1;
// documentation inherited from interface // from interface SpotService
public void changeLocation (Client arg1, int arg2, Location arg3, InvocationService.ConfirmListener arg4) public void changeLocation (Client arg1, int arg2, Location arg3, InvocationService.ConfirmListener arg4)
{ {
InvocationMarshaller.ConfirmMarshaller listener4 = new InvocationMarshaller.ConfirmMarshaller(); InvocationMarshaller.ConfirmMarshaller listener4 = new InvocationMarshaller.ConfirmMarshaller();
@@ -56,7 +56,7 @@ public class SpotMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #clusterSpeak} requests. */ /** The method id used to dispatch {@link #clusterSpeak} requests. */
public static final int CLUSTER_SPEAK = 2; public static final int CLUSTER_SPEAK = 2;
// documentation inherited from interface // from interface SpotService
public void clusterSpeak (Client arg1, String arg2, byte arg3) public void clusterSpeak (Client arg1, String arg2, byte arg3)
{ {
sendRequest(arg1, CLUSTER_SPEAK, new Object[] { sendRequest(arg1, CLUSTER_SPEAK, new Object[] {
@@ -67,7 +67,7 @@ public class SpotMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #joinCluster} requests. */ /** The method id used to dispatch {@link #joinCluster} requests. */
public static final int JOIN_CLUSTER = 3; public static final int JOIN_CLUSTER = 3;
// documentation inherited from interface // from interface SpotService
public void joinCluster (Client arg1, int arg2, InvocationService.ConfirmListener arg3) public void joinCluster (Client arg1, int arg2, InvocationService.ConfirmListener arg3)
{ {
InvocationMarshaller.ConfirmMarshaller listener3 = new InvocationMarshaller.ConfirmMarshaller(); InvocationMarshaller.ConfirmMarshaller listener3 = new InvocationMarshaller.ConfirmMarshaller();
@@ -80,7 +80,7 @@ public class SpotMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #traversePortal} requests. */ /** The method id used to dispatch {@link #traversePortal} requests. */
public static final int TRAVERSE_PORTAL = 4; public static final int TRAVERSE_PORTAL = 4;
// documentation inherited from interface // from interface SpotService
public void traversePortal (Client arg1, int arg2, int arg3, int arg4, SceneService.SceneMoveListener arg5) public void traversePortal (Client arg1, int arg2, int arg3, int arg4, SceneService.SceneMoveListener arg5)
{ {
SceneMarshaller.SceneMoveMarshaller listener5 = new SceneMarshaller.SceneMoveMarshaller(); SceneMarshaller.SceneMoveMarshaller listener5 = new SceneMarshaller.SceneMoveMarshaller();
@@ -89,5 +89,4 @@ public class SpotMarshaller extends InvocationMarshaller
Integer.valueOf(arg2), Integer.valueOf(arg3), Integer.valueOf(arg4), listener5 Integer.valueOf(arg2), Integer.valueOf(arg3), Integer.valueOf(arg4), listener5
}); });
} }
} }
@@ -40,7 +40,9 @@ import com.threerings.whirled.zone.data.ZoneSummary;
public class ZoneMarshaller extends InvocationMarshaller public class ZoneMarshaller extends InvocationMarshaller
implements ZoneService implements ZoneService
{ {
// documentation inherited /**
* Marshalls results to implementations of {@link ZoneMoveListener}.
*/
public static class ZoneMoveMarshaller extends ListenerMarshaller public static class ZoneMoveMarshaller extends ListenerMarshaller
implements ZoneMoveListener implements ZoneMoveListener
{ {
@@ -48,7 +50,7 @@ public class ZoneMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int MOVE_SUCCEEDED = 1; public static final int MOVE_SUCCEEDED = 1;
// documentation inherited from interface // from interface ZoneMoveMarshaller
public void moveSucceeded (int arg1, PlaceConfig arg2, ZoneSummary arg3) public void moveSucceeded (int arg1, PlaceConfig arg2, ZoneSummary arg3)
{ {
_invId = null; _invId = null;
@@ -61,7 +63,7 @@ public class ZoneMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int MOVE_SUCCEEDED_WITH_SCENE = 2; public static final int MOVE_SUCCEEDED_WITH_SCENE = 2;
// documentation inherited from interface // from interface ZoneMoveMarshaller
public void moveSucceededWithScene (int arg1, PlaceConfig arg2, ZoneSummary arg3, SceneModel arg4) public void moveSucceededWithScene (int arg1, PlaceConfig arg2, ZoneSummary arg3, SceneModel arg4)
{ {
_invId = null; _invId = null;
@@ -74,7 +76,7 @@ public class ZoneMarshaller extends InvocationMarshaller
* responses. */ * responses. */
public static final int MOVE_SUCCEEDED_WITH_UPDATES = 3; public static final int MOVE_SUCCEEDED_WITH_UPDATES = 3;
// documentation inherited from interface // from interface ZoneMoveMarshaller
public void moveSucceededWithUpdates (int arg1, PlaceConfig arg2, ZoneSummary arg3, SceneUpdate[] arg4) public void moveSucceededWithUpdates (int arg1, PlaceConfig arg2, ZoneSummary arg3, SceneUpdate[] arg4)
{ {
_invId = null; _invId = null;
@@ -83,7 +85,7 @@ public class ZoneMarshaller extends InvocationMarshaller
new Object[] { Integer.valueOf(arg1), arg2, arg3, arg4 })); new Object[] { Integer.valueOf(arg1), arg2, arg3, arg4 }));
} }
// documentation inherited @Override // from InvocationMarshaller
public void dispatchResponse (int methodId, Object[] args) public void dispatchResponse (int methodId, Object[] args)
{ {
switch (methodId) { switch (methodId) {
@@ -112,7 +114,7 @@ public class ZoneMarshaller extends InvocationMarshaller
/** The method id used to dispatch {@link #moveTo} requests. */ /** The method id used to dispatch {@link #moveTo} requests. */
public static final int MOVE_TO = 1; public static final int MOVE_TO = 1;
// documentation inherited from interface // from interface ZoneService
public void moveTo (Client arg1, int arg2, int arg3, int arg4, ZoneService.ZoneMoveListener arg5) public void moveTo (Client arg1, int arg2, int arg3, int arg4, ZoneService.ZoneMoveListener arg5)
{ {
ZoneMarshaller.ZoneMoveMarshaller listener5 = new ZoneMarshaller.ZoneMoveMarshaller(); ZoneMarshaller.ZoneMoveMarshaller listener5 = new ZoneMarshaller.ZoneMoveMarshaller();
@@ -121,5 +123,4 @@ public class ZoneMarshaller extends InvocationMarshaller
Integer.valueOf(arg2), Integer.valueOf(arg3), Integer.valueOf(arg4), listener5 Integer.valueOf(arg2), Integer.valueOf(arg3), Integer.valueOf(arg4), listener5
}); });
} }
} }