com.threerings.presents.peer.server
Class PeerManager.NodeAction
java.lang.Object
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.
|
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 |
PeerManager.NodeAction
public PeerManager.NodeAction()
invoke
public void invoke()
- Invokes the action on the target server.
execute
protected abstract void execute()