com.threerings.bureau.server
Class BureauDispatcher

java.lang.Object
  extended by com.threerings.presents.server.InvocationDispatcher<BureauMarshaller>
      extended by com.threerings.bureau.server.BureauDispatcher

@Generated(value="com.threerings.presents.tools.GenServiceTask",
           comments="Derived from BureauService.java.")
public class BureauDispatcher
extends InvocationDispatcher<BureauMarshaller>

Dispatches requests to the BureauProvider.


Field Summary
 
Fields inherited from class com.threerings.presents.server.InvocationDispatcher
provider
 
Constructor Summary
BureauDispatcher(BureauProvider provider)
          Creates a dispatcher that may be registered to dispatch invocation service requests for the specified provider.
 
Method Summary
 BureauMarshaller createMarshaller()
          Creates an instance of the appropriate InvocationMarshaller derived class for use with this dispatcher.
 void dispatchRequest(ClientObject source, int methodId, Object[] args)
          Dispatches the specified method to our provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BureauDispatcher

public BureauDispatcher(BureauProvider provider)
Creates a dispatcher that may be registered to dispatch invocation service requests for the specified provider.

Method Detail

createMarshaller

public BureauMarshaller createMarshaller()
Description copied from class: InvocationDispatcher
Creates an instance of the appropriate InvocationMarshaller derived class for use with this dispatcher.

Specified by:
createMarshaller in class InvocationDispatcher<BureauMarshaller>

dispatchRequest

public void dispatchRequest(ClientObject source,
                            int methodId,
                            Object[] args)
                     throws InvocationException
Description copied from class: InvocationDispatcher
Dispatches the specified method to our provider.

Overrides:
dispatchRequest in class InvocationDispatcher<BureauMarshaller>
Throws:
InvocationException