com.threerings.whirled.zone.server
Class ZoneDispatcher

java.lang.Object
  extended by com.threerings.presents.server.InvocationDispatcher<ZoneMarshaller>
      extended by com.threerings.whirled.zone.server.ZoneDispatcher

public class ZoneDispatcher
extends InvocationDispatcher<ZoneMarshaller>

Dispatches requests to the ZoneProvider.


Field Summary
 
Fields inherited from class com.threerings.presents.server.InvocationDispatcher
provider
 
Constructor Summary
ZoneDispatcher(ZoneProvider provider)
          Creates a dispatcher that may be registered to dispatch invocation service requests for the specified provider.
 
Method Summary
 ZoneMarshaller createMarshaller()
           
 void dispatchRequest(ClientObject source, int methodId, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZoneDispatcher

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

Method Detail

createMarshaller

public ZoneMarshaller createMarshaller()
Specified by:
createMarshaller in class InvocationDispatcher<ZoneMarshaller>

dispatchRequest

public void dispatchRequest(ClientObject source,
                            int methodId,
                            Object[] args)
                     throws InvocationException
Overrides:
dispatchRequest in class InvocationDispatcher<ZoneMarshaller>
Throws:
InvocationException