com.threerings.parlor.tourney.data
Class TourneyMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller
      extended by com.threerings.parlor.tourney.data.TourneyMarshaller
All Implemented Interfaces:
Streamable, TourneyService, InvocationService

@Generated(value="com.threerings.presents.tools.GenServiceTask",
           comments="Derived from TourneyService.java.")
public class TourneyMarshaller
extends InvocationMarshaller
implements TourneyService

Provides the implementation of the TourneyService 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.presents.data.InvocationMarshaller
InvocationMarshaller.ConfirmMarshaller, InvocationMarshaller.ListenerMarshaller, InvocationMarshaller.ResultMarshaller
 
Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
static int CANCEL
          The method id used to dispatch cancel(com.threerings.presents.client.InvocationService.ConfirmListener) requests.
static int JOIN
          The method id used to dispatch join(com.threerings.presents.client.InvocationService.ConfirmListener) requests.
static int LEAVE
          The method id used to dispatch leave(com.threerings.presents.client.InvocationService.ConfirmListener) requests.
 
Fields inherited from class com.threerings.presents.data.InvocationMarshaller
_invCode, _invdir, _invOid
 
Constructor Summary
TourneyMarshaller()
           
 
Method Summary
 void cancel(InvocationService.ConfirmListener arg1)
          Handles a request to cancel the tourney.
 void join(InvocationService.ConfirmListener arg1)
          Handles a request to join the tourney.
 void leave(InvocationService.ConfirmListener arg1)
          Handles a request to leave the tourney.
 
Methods inherited from class com.threerings.presents.data.InvocationMarshaller
getInvocationCode, init, readField__invCode, readField__invOid, readObject, sendRequest, sendRequest, sendRequest, sendRequest, setInvocationOid, setNoResponse, toString, writeField__invCode, writeField__invOid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CANCEL

public static final int CANCEL
The method id used to dispatch cancel(com.threerings.presents.client.InvocationService.ConfirmListener) requests.

See Also:
Constant Field Values

JOIN

public static final int JOIN
The method id used to dispatch join(com.threerings.presents.client.InvocationService.ConfirmListener) requests.

See Also:
Constant Field Values

LEAVE

public static final int LEAVE
The method id used to dispatch leave(com.threerings.presents.client.InvocationService.ConfirmListener) requests.

See Also:
Constant Field Values
Constructor Detail

TourneyMarshaller

public TourneyMarshaller()
Method Detail

cancel

public void cancel(InvocationService.ConfirmListener arg1)
Description copied from interface: TourneyService
Handles a request to cancel the tourney.

Specified by:
cancel in interface TourneyService

join

public void join(InvocationService.ConfirmListener arg1)
Description copied from interface: TourneyService
Handles a request to join the tourney.

Specified by:
join in interface TourneyService

leave

public void leave(InvocationService.ConfirmListener arg1)
Description copied from interface: TourneyService
Handles a request to leave the tourney.

Specified by:
leave in interface TourneyService