com.threerings.presents.peer.server
Class PeerManager.NodeAction

java.lang.Object
  extended by com.threerings.presents.peer.server.PeerManager.NodeAction
All Implemented Interfaces:
Streamable, Streamable.Closure, PeerManager.NodeApplicant
Direct Known Subclasses:
ChatChannelManager.ChannelAction
Enclosing class:
PeerManager

public abstract static class PeerManager.NodeAction
extends Object
implements Streamable.Closure, PeerManager.NodeApplicant

Encapsulates code that is meant to be executed one or more servers.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Constructor Summary
PeerManager.NodeAction()
           
 
Method Summary
protected abstract  void execute()
           
 void invoke()
          Invokes the action on the target server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.threerings.presents.peer.server.PeerManager.NodeApplicant
isApplicable
 

Constructor Detail

PeerManager.NodeAction

public PeerManager.NodeAction()
Method Detail

invoke

public void invoke()
Invokes the action on the target server.


execute

protected abstract void execute()