com.threerings.whirled.zone.client
Class ZoneDecoder

java.lang.Object
  extended by com.threerings.presents.client.InvocationDecoder
      extended by com.threerings.whirled.zone.client.ZoneDecoder

public class ZoneDecoder
extends com.threerings.presents.client.InvocationDecoder

Dispatches calls to a ZoneReceiver instance.


Field Summary
static int FORCED_MOVE
          The method id used to dispatch ZoneReceiver.forcedMove(int, int) notifications.
static String RECEIVER_CODE
          The generated hash code used to identify this receiver class.
 
Fields inherited from class com.threerings.presents.client.InvocationDecoder
receiver
 
Constructor Summary
ZoneDecoder(ZoneReceiver receiver)
          Creates a decoder that may be registered to dispatch invocation service notifications to the specified receiver.
 
Method Summary
 void dispatchNotification(int methodId, Object[] args)
           
 String getReceiverCode()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECEIVER_CODE

public static final String RECEIVER_CODE
The generated hash code used to identify this receiver class.

See Also:
Constant Field Values

FORCED_MOVE

public static final int FORCED_MOVE
The method id used to dispatch ZoneReceiver.forcedMove(int, int) notifications.

See Also:
Constant Field Values
Constructor Detail

ZoneDecoder

public ZoneDecoder(ZoneReceiver receiver)
Creates a decoder that may be registered to dispatch invocation service notifications to the specified receiver.

Method Detail

getReceiverCode

public String getReceiverCode()
Specified by:
getReceiverCode in class com.threerings.presents.client.InvocationDecoder

dispatchNotification

public void dispatchNotification(int methodId,
                                 Object[] args)
Overrides:
dispatchNotification in class com.threerings.presents.client.InvocationDecoder


Copyright © 2011. All Rights Reserved.