com.threerings.presents.peer.server
Interface NodeRequestsListener<T>

All Superinterfaces:
InvocationService.InvocationListener

public interface NodeRequestsListener<T>
extends InvocationService.InvocationListener

Communicates the NodeRequestsListener.NodeRequestsResult of a PeerManager.NodeRequest sent to one or more peer nodes.


Nested Class Summary
static interface NodeRequestsListener.NodeRequestsResult<T>
          Contains the result of a PeerManager.NodeRequest sent to one or more peer nodes.
 
Method Summary
 void requestsProcessed(NodeRequestsListener.NodeRequestsResult<T> result)
          Called upon the successful completion of PeerManager.invokeNodeRequest(com.threerings.presents.peer.server.PeerManager.NodeRequest, com.threerings.presents.peer.server.NodeRequestsListener), regardless of how many nodes were contacted or applicable.
 
Methods inherited from interface com.threerings.presents.client.InvocationService.InvocationListener
requestFailed
 

Method Detail

requestsProcessed

void requestsProcessed(NodeRequestsListener.NodeRequestsResult<T> result)
Called upon the successful completion of PeerManager.invokeNodeRequest(com.threerings.presents.peer.server.PeerManager.NodeRequest, com.threerings.presents.peer.server.NodeRequestsListener), regardless of how many nodes were contacted or applicable.