net.tomp2p.p2p
Interface DistributedTracker.Operation
- Enclosing class:
 - DistributedTracker
 
public static interface DistributedTracker.Operation
This interface is used for the RPC operations. It creates the calls to other peers
 
create
FutureResponse create(PeerAddress address,
                      boolean primary)
- Creates an RPC. For the distributed thracker, this is either addToTracker or getFromTracker
- Parameters:
 address - The address of the remote peerprimary - If the remote peer is a primary tracker, the flag is set to true
- Returns:
 - The future reponse of the RPC
 
 
 
Copyright © 2013. All Rights Reserved.