com.threerings.presents.data
Class RegistrationMarshaller

java.lang.Object
  extended by com.threerings.presents.data.InvocationMarshaller<ClientObject>
      extended by com.threerings.presents.data.RegistrationMarshaller
All Implemented Interfaces:
Streamable, InvocationService<ClientObject>, RegistrationService

@Generated(value="com.threerings.presents.tools.cpp.GenCPPServiceTask",
           comments="Derived from RegistrationService.java.")
public class RegistrationMarshaller
extends InvocationMarshaller<ClientObject>
implements RegistrationService

Provides the implementation of the RegistrationService 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 REGISTER_RECEIVER
          The method id used to dispatch registerReceiver(com.threerings.presents.client.InvocationReceiver.Registration) requests.
 
Fields inherited from class com.threerings.presents.data.InvocationMarshaller
_invCode, _invdir, _invOid
 
Constructor Summary
RegistrationMarshaller()
           
 
Method Summary
 void registerReceiver(InvocationReceiver.Registration arg1)
           
 
Methods inherited from class com.threerings.presents.data.InvocationMarshaller
getInvocationCode, init, readObject, sendRequest, sendRequest, sendRequest, sendRequest, setInvocationOid, setNoResponse, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REGISTER_RECEIVER

public static final int REGISTER_RECEIVER
The method id used to dispatch registerReceiver(com.threerings.presents.client.InvocationReceiver.Registration) requests.

See Also:
Constant Field Values
Constructor Detail

RegistrationMarshaller

public RegistrationMarshaller()
Method Detail

registerReceiver

public void registerReceiver(InvocationReceiver.Registration arg1)
Specified by:
registerReceiver in interface RegistrationService