net.tomp2p.replication
Interface ResponsibilityListener
- All Known Implementing Classes:
- ReplicationExecutor, TrackerStorageReplication
public interface ResponsibilityListener
- Author:
- Thomas Bocek
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 keyother - The other peer that is responsible for locationKey
Copyright © 2013. All Rights Reserved.