net.tomp2p.replication
Interface ResponsibilityListener

All Known Implementing Classes:
ReplicationExecutor, TrackerStorageReplication

public interface ResponsibilityListener

Author:
Thomas Bocek

Method Summary
 void meResponsible(Number160 locationKey)
          The responsibilty changed to our peer.
 void otherResponsible(Number160 locationKey, PeerAddress other)
          Here an other peer is responsible and we need to transfer data.
 

Method Detail

meResponsible

void meResponsible(Number160 locationKey)
The responsibilty changed to our peer. That means we are now responsible.

Parameters:
locationKey - The location key

otherResponsible

void otherResponsible(Number160 locationKey,
                      PeerAddress other)
Here an other peer is responsible and we need to transfer data.

Parameters:
locationKey - The location key
other - The other peer that is responsible for locationKey


Copyright © 2013. All Rights Reserved.