com.threerings.admin.server
Class AdminDispatcher

java.lang.Object
  extended by com.threerings.presents.server.InvocationDispatcher<AdminMarshaller>
      extended by com.threerings.admin.server.AdminDispatcher

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

Dispatches requests to the AdminProvider.


Field Summary
 
Fields inherited from class com.threerings.presents.server.InvocationDispatcher
provider
 
Constructor Summary
AdminDispatcher(AdminProvider provider)
          Creates a dispatcher that may be registered to dispatch invocation service requests for the specified provider.
 
Method Summary
 AdminMarshaller 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

AdminDispatcher

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

Method Detail

createMarshaller

public AdminMarshaller 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<AdminMarshaller>

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<AdminMarshaller>
Throws:
InvocationException