com.threerings.presents.peer.server
Class PeerManager.NodeRequest
java.lang.Object
com.threerings.presents.peer.server.PeerManager.NodeRequest
- All Implemented Interfaces:
- Streamable, Streamable.Closure, PeerManager.NodeApplicant
- Enclosing class:
- PeerManager
public abstract static class PeerManager.NodeRequest
- extends Object
- implements Streamable.Closure, PeerManager.NodeApplicant
Encapsulates code that is meant to be executed one or more servers and return a result.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeerManager.NodeRequest
public PeerManager.NodeRequest()
invoke
public void invoke(InvocationService.ResultListener listener)
- Invokes the action on the target server.
execute
protected abstract void execute(InvocationService.ResultListener listener)