Actually these had been generated. Bruno must have regenerated them with an old

version of Narya.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@710 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-08-06 00:53:22 +00:00
parent 9a822fe561
commit 8410b8893c
44 changed files with 105 additions and 163 deletions
@@ -25,7 +25,6 @@ import com.threerings.parlor.tourney.client.TourneyService;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.net.Transport;
/**
* Provides the implementation of the {@link TourneyService} interface
@@ -25,7 +25,6 @@ import com.threerings.parlor.tourney.client.TourniesService;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.net.Transport;
/**
* Provides the implementation of the {@link TourniesService} interface
@@ -24,7 +24,6 @@ package com.threerings.parlor.tourney.server;
import com.threerings.parlor.tourney.data.TourneyMarshaller;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.server.InvocationDispatcher;
import com.threerings.presents.server.InvocationException;
@@ -48,7 +47,6 @@ public class TourneyDispatcher extends InvocationDispatcher<TourneyMarshaller>
return new TourneyMarshaller();
}
@SuppressWarnings("unchecked")
@Override // documentation inherited
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
@@ -57,22 +55,19 @@ public class TourneyDispatcher extends InvocationDispatcher<TourneyMarshaller>
switch (methodId) {
case TourneyMarshaller.CANCEL:
((TourneyProvider)provider).cancel(
source,
(InvocationService.ConfirmListener)args[0]
source, (InvocationService.ConfirmListener)args[0]
);
return;
case TourneyMarshaller.JOIN:
((TourneyProvider)provider).join(
source,
(InvocationService.ConfirmListener)args[0]
source, (InvocationService.ConfirmListener)args[0]
);
return;
case TourneyMarshaller.LEAVE:
((TourneyProvider)provider).leave(
source,
(InvocationService.ConfirmListener)args[0]
source, (InvocationService.ConfirmListener)args[0]
);
return;
@@ -21,6 +21,7 @@
package com.threerings.parlor.tourney.server;
import com.threerings.parlor.tourney.client.TourneyService;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.InvocationException;
@@ -34,18 +35,18 @@ public interface TourneyProvider extends InvocationProvider
/**
* Handles a {@link TourneyService#cancel} request.
*/
public void cancel (ClientObject caller, InvocationService.ConfirmListener arg1)
void cancel (ClientObject caller, InvocationService.ConfirmListener arg1)
throws InvocationException;
/**
* Handles a {@link TourneyService#join} request.
*/
public void join (ClientObject caller, InvocationService.ConfirmListener arg1)
void join (ClientObject caller, InvocationService.ConfirmListener arg1)
throws InvocationException;
/**
* Handles a {@link TourneyService#leave} request.
*/
public void leave (ClientObject caller, InvocationService.ConfirmListener arg1)
void leave (ClientObject caller, InvocationService.ConfirmListener arg1)
throws InvocationException;
}
@@ -25,7 +25,6 @@ import com.threerings.parlor.tourney.data.TourneyConfig;
import com.threerings.parlor.tourney.data.TourniesMarshaller;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.server.InvocationDispatcher;
import com.threerings.presents.server.InvocationException;
@@ -49,7 +48,6 @@ public class TourniesDispatcher extends InvocationDispatcher<TourniesMarshaller>
return new TourniesMarshaller();
}
@SuppressWarnings("unchecked")
@Override // documentation inherited
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
@@ -58,8 +56,7 @@ public class TourniesDispatcher extends InvocationDispatcher<TourniesMarshaller>
switch (methodId) {
case TourniesMarshaller.CREATE_TOURNEY:
((TourniesProvider)provider).createTourney(
source,
(TourneyConfig)args[0], (InvocationService.ResultListener)args[1]
source, (TourneyConfig)args[0], (InvocationService.ResultListener)args[1]
);
return;
@@ -21,6 +21,7 @@
package com.threerings.parlor.tourney.server;
import com.threerings.parlor.tourney.client.TourniesService;
import com.threerings.parlor.tourney.data.TourneyConfig;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.ClientObject;
@@ -35,6 +36,6 @@ public interface TourniesProvider extends InvocationProvider
/**
* Handles a {@link TourniesService#createTourney} request.
*/
public void createTourney (ClientObject caller, TourneyConfig arg1, InvocationService.ResultListener arg2)
void createTourney (ClientObject caller, TourneyConfig arg1, InvocationService.ResultListener arg2)
throws InvocationException;
}