Regenerated services and receivers to fix bugs and use updated templates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1659 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ParlorDecoder.java,v 1.1 2002/08/14 19:07:52 mdb Exp $
|
||||
// $Id: ParlorDecoder.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.client;
|
||||
|
||||
@@ -9,6 +9,10 @@ import com.threerings.presents.client.InvocationDecoder;
|
||||
|
||||
/**
|
||||
* Dispatches calls to a {@link ParlorReceiver} instance.
|
||||
*
|
||||
* <p> Generated from <code>
|
||||
* $Id: ParlorDecoder.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
* </code>
|
||||
*/
|
||||
public class ParlorDecoder extends InvocationDecoder
|
||||
{
|
||||
@@ -79,5 +83,5 @@ public class ParlorDecoder extends InvocationDecoder
|
||||
}
|
||||
}
|
||||
|
||||
// Generated on 11:25:47 08/12/02.
|
||||
// Generated on 12:37:00 08/20/02.
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ParlorMarshaller.java,v 1.1 2002/08/14 19:07:53 mdb Exp $
|
||||
// $Id: ParlorMarshaller.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.data;
|
||||
|
||||
@@ -18,48 +18,21 @@ import com.threerings.presents.dobj.InvocationResponseEvent;
|
||||
* 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.
|
||||
*
|
||||
* <p> Generated from <code>
|
||||
* $Id: ParlorMarshaller.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
* </code>
|
||||
*/
|
||||
public class ParlorMarshaller extends InvocationMarshaller
|
||||
implements ParlorService
|
||||
{
|
||||
// documentation inherited
|
||||
public static class InviteMarshaller extends ListenerMarshaller
|
||||
implements InviteListener
|
||||
{
|
||||
/** The method id used to dispatch {@link #inviteReceived}
|
||||
* responses. */
|
||||
public static final int INVITE_RECEIVED = 0;
|
||||
|
||||
// documentation inherited from interface
|
||||
public void inviteReceived (int arg1)
|
||||
{
|
||||
omgr.postEvent(new InvocationResponseEvent(
|
||||
callerOid, requestId, INVITE_RECEIVED,
|
||||
new Object[] { new Integer(arg1) }));
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public void dispatchResponse (int methodId, Object[] args)
|
||||
{
|
||||
switch (methodId) {
|
||||
case INVITE_RECEIVED:
|
||||
((InviteListener)listener).inviteReceived(
|
||||
((Integer)args[0]).intValue());
|
||||
return;
|
||||
|
||||
default:
|
||||
super.dispatchResponse(methodId, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public static class TableMarshaller extends ListenerMarshaller
|
||||
implements TableListener
|
||||
{
|
||||
/** The method id used to dispatch {@link #tableCreated}
|
||||
* responses. */
|
||||
public static final int TABLE_CREATED = 0;
|
||||
public static final int TABLE_CREATED = 1;
|
||||
|
||||
// documentation inherited from interface
|
||||
public void tableCreated (int arg1)
|
||||
@@ -84,6 +57,37 @@ public class ParlorMarshaller extends InvocationMarshaller
|
||||
}
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public static class InviteMarshaller extends ListenerMarshaller
|
||||
implements InviteListener
|
||||
{
|
||||
/** The method id used to dispatch {@link #inviteReceived}
|
||||
* responses. */
|
||||
public static final int INVITE_RECEIVED = 1;
|
||||
|
||||
// documentation inherited from interface
|
||||
public void inviteReceived (int arg1)
|
||||
{
|
||||
omgr.postEvent(new InvocationResponseEvent(
|
||||
callerOid, requestId, INVITE_RECEIVED,
|
||||
new Object[] { new Integer(arg1) }));
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public void dispatchResponse (int methodId, Object[] args)
|
||||
{
|
||||
switch (methodId) {
|
||||
case INVITE_RECEIVED:
|
||||
((InviteListener)listener).inviteReceived(
|
||||
((Integer)args[0]).intValue());
|
||||
return;
|
||||
|
||||
default:
|
||||
super.dispatchResponse(methodId, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** The method id used to dispatch {@link #invite} requests. */
|
||||
public static final int INVITE = 1;
|
||||
|
||||
@@ -162,5 +166,5 @@ public class ParlorMarshaller extends InvocationMarshaller
|
||||
});
|
||||
}
|
||||
|
||||
// Class file generated on 00:26:01 08/11/02.
|
||||
// Class file generated on 12:33:04 08/20/02.
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: GameDispatcher.java,v 1.1 2002/08/14 19:07:53 mdb Exp $
|
||||
// $Id: GameDispatcher.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.game;
|
||||
|
||||
@@ -13,6 +13,10 @@ import com.threerings.presents.server.InvocationException;
|
||||
|
||||
/**
|
||||
* Dispatches requests to the {@link GameProvider}.
|
||||
*
|
||||
* <p> Generated from <code>
|
||||
* $Id: GameDispatcher.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
* </code>
|
||||
*/
|
||||
public class GameDispatcher extends InvocationDispatcher
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: GameMarshaller.java,v 1.1 2002/08/14 19:07:53 mdb Exp $
|
||||
// $Id: GameMarshaller.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.game;
|
||||
|
||||
@@ -14,6 +14,10 @@ import com.threerings.presents.dobj.InvocationResponseEvent;
|
||||
* 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.
|
||||
*
|
||||
* <p> Generated from <code>
|
||||
* $Id: GameMarshaller.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
* </code>
|
||||
*/
|
||||
public class GameMarshaller extends InvocationMarshaller
|
||||
implements GameService
|
||||
@@ -29,5 +33,5 @@ public class GameMarshaller extends InvocationMarshaller
|
||||
});
|
||||
}
|
||||
|
||||
// Class file generated on 00:26:01 08/11/02.
|
||||
// Class file generated on 12:33:04 08/20/02.
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ParlorDispatcher.java,v 1.1 2002/08/14 19:07:54 mdb Exp $
|
||||
// $Id: ParlorDispatcher.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.server;
|
||||
|
||||
@@ -17,6 +17,10 @@ import com.threerings.presents.server.InvocationException;
|
||||
|
||||
/**
|
||||
* Dispatches requests to the {@link ParlorProvider}.
|
||||
*
|
||||
* <p> Generated from <code>
|
||||
* $Id: ParlorDispatcher.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
* </code>
|
||||
*/
|
||||
public class ParlorDispatcher extends InvocationDispatcher
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ParlorSender.java,v 1.1 2002/08/14 19:07:54 mdb Exp $
|
||||
// $Id: ParlorSender.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.server;
|
||||
|
||||
@@ -12,6 +12,10 @@ import com.threerings.presents.server.InvocationSender;
|
||||
/**
|
||||
* Used to issue notifications to a {@link ParlorReceiver} instance on a
|
||||
* client.
|
||||
*
|
||||
* <p> Generated from <code>
|
||||
* $Id: ParlorSender.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
|
||||
* </code>
|
||||
*/
|
||||
public class ParlorSender extends InvocationSender
|
||||
{
|
||||
@@ -63,5 +67,5 @@ public class ParlorSender extends InvocationSender
|
||||
new Object[] { new Integer(arg1) });
|
||||
}
|
||||
|
||||
// Generated on 11:25:47 08/12/02.
|
||||
// Generated on 12:37:00 08/20/02.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user