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


Method Summary
 FutureResponse create(PeerAddress address, boolean primary)
          Creates an RPC.
 

Method Detail

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 peer
primary - 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.