A B C D E F G H I K L M N O P Q R S T U V W X Z 

A

acquire(FutureResponse) - Method in class net.tomp2p.connection.PeerConnection
 
activePeers(Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
add(Bindings) - Method in class net.tomp2p.connection.Bindings
Adds the results from an other binding.
add(K) - Method in class net.tomp2p.futures.FutureLateJoin
Add a future when ready.
add(K) - Method in class net.tomp2p.futures.FutureLaterJoin
Add a future when ready.
add(Number640) - Method in class net.tomp2p.message.KeyCollection
 
add(PeerAddress) - Method in class net.tomp2p.message.NeighborSet
 
add(PeerAddress) - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
add(AddBuilder) - Method in class net.tomp2p.p2p.DistributedHashTable
 
add(AddTrackerBuilder) - Method in class net.tomp2p.p2p.DistributedTracker
 
add(Number160) - Method in class net.tomp2p.p2p.Peer
 
add(E) - Method in class net.tomp2p.rpc.CountingBloomFilter
 
add(E) - Method in class net.tomp2p.rpc.SimpleBloomFilter
 
add(PeerAddress, AddBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.StorageRPC
Adds data on a remote peer.
add(DataBuffer) - Method in class net.tomp2p.storage.DataBuffer
 
addActive(Number160, Number160, PeerAddress, Data) - Method in class net.tomp2p.storage.TrackerStorage
 
addAddress(InetAddress) - Method in class net.tomp2p.connection.Bindings
Adds an address that we want to listen to.
addAll(Collection<? extends E>) - Method in class net.tomp2p.rpc.CountingBloomFilter
 
addAll(Collection<? extends E>) - Method in class net.tomp2p.rpc.SimpleBloomFilter
 
addAutomaticFuture(AutomaticFuture) - Method in class net.tomp2p.p2p.PeerMaker
 
addBasedOn(Number160) - Method in class net.tomp2p.storage.Data
 
AddBuilder - Class in net.tomp2p.p2p.builder
 
AddBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.AddBuilder
 
addCancel(Cancel) - Method in interface net.tomp2p.futures.BaseFuture
Adds a cancel listener to this future, which is called when cancel is executed.
addCancel(Cancel) - Method in class net.tomp2p.futures.BaseFutureImpl
 
addComponent(ByteBuf) - Method in class net.tomp2p.message.Buffer
 
addComponent(ByteBuf...) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
addComponent(boolean, ByteBuf...) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
addFutureDHTReleaseListener(ChannelCreator) - Method in class net.tomp2p.futures.FutureDHT
Adds a listener to the response future and releases all aquired channels in channel creator.
addInterface(String) - Method in class net.tomp2p.connection.Bindings
Adds an interface that will be searched for.
addListener(BaseFutureListener<? extends BaseFuture>) - Method in interface net.tomp2p.futures.BaseFuture
Adds a listener which is notified when the state of this future changes.
addListener(BaseFutureListener<? extends BaseFuture>, boolean) - Method in interface net.tomp2p.futures.BaseFuture
Adds a listener which is notified when the state of this future changes.
addListener(BaseFutureListener<? extends BaseFuture>) - Method in class net.tomp2p.futures.BaseFutureImpl
 
addListener(BaseFutureListener<? extends BaseFuture>, boolean) - Method in class net.tomp2p.futures.BaseFutureImpl
 
addMaintainable(Maintainable) - Method in class net.tomp2p.p2p.MaintenanceTask
 
addPeerFilter(PeerFilter) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
addPeerFilter(PeerFilter) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
addPeerFilter(PeerFilter) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
addPeerMapChangeListener(PeerMapChangeListener) - Method in class net.tomp2p.peers.PeerMap
Add a map change listener.
addPeerReachableListener(PeerReachable) - Method in class net.tomp2p.rpc.PingRPC
 
addPeerReceivedBroadcastPingListener(PeerReceivedBroadcastPing) - Method in class net.tomp2p.rpc.PingRPC
 
addPeerStatusListener(PeerStatusListener) - Method in class net.tomp2p.rpc.QuitRPC
Add a peer status listener that gets notified when a peer is offline.
addPotentialHits(PeerAddress) - Method in class net.tomp2p.p2p.RoutingMechanism
 
addProtocol(StandardProtocolFamily) - Method in class net.tomp2p.connection.Bindings
 
addReleaseListener(ChannelCreator, BaseFuture...) - Static method in class net.tomp2p.utils.Utils
Adds a listener to the response future and releases all aquired channels in channel creator.
addRequests(FutureResponse) - Method in class net.tomp2p.futures.FutureDHT
Adds all requests that have been created for the DHT operations.
addRequests(FutureAsyncTask) - Method in class net.tomp2p.futures.FutureTask
Adds all requests that have been created for the DHT operations.
addResponsibilityListener(ResponsibilityListener) - Method in class net.tomp2p.p2p.Replication
Add responsibility listener.
addresses() - Method in class net.tomp2p.connection.Bindings
 
addResult(Collection<PeerAddress>) - Method in class net.tomp2p.message.NeighborSet
 
addShutdownListener(Shutdown) - Method in class net.tomp2p.p2p.Peer
 
addTimeout(Number640, long) - Method in interface net.tomp2p.storage.Storage
 
addTimeout(Number640, long) - Method in class net.tomp2p.storage.StorageMemory
 
addToAlreadyAsked(PeerAddress) - Method in class net.tomp2p.p2p.RoutingMechanism
 
addToTracker(PeerAddress, AddTrackerBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.TrackerRPC
 
addTracker(Number160) - Method in class net.tomp2p.p2p.Peer
 
AddTrackerBuilder - Class in net.tomp2p.p2p.builder
 
AddTrackerBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.AddTrackerBuilder
 
addTrackerMaintenance(PeerAddress, PeerAddress, Number160, Number160, TrackerStorage) - Method in class net.tomp2p.p2p.Maintenance
 
adjustConfiguration(RequestP2PConfiguration, SortedMap<PeerAddress, DigestInfo>) - Static method in class net.tomp2p.p2p.DistributedHashTable
Adjusts the number of minimum requests in the P2P configuration.
adjustMinimumResult(int) - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
alloc() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
allPeersReplicate() - Method in class net.tomp2p.p2p.PeerMaker
 
allPeersReplicate(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
alreadyAsked(SortedSet<PeerAddress>) - Method in class net.tomp2p.p2p.RoutingMechanism
 
alreadyAsked() - Method in class net.tomp2p.p2p.RoutingMechanism
 
alreadyRead() - Method in class net.tomp2p.message.Buffer
 
alreadyTransferred() - Method in class net.tomp2p.storage.DataBuffer
 
AlternativeCompositeByteBuf - Class in net.tomp2p.storage
Heavily inspired by CompositeByteBuf, but with a slight different behavior.
AlternativeCompositeByteBuf(ByteBufAllocator, boolean) - Constructor for class net.tomp2p.storage.AlternativeCompositeByteBuf
 
AlternativeCompositeByteBuf(ByteBufAllocator, boolean, ByteBuf...) - Constructor for class net.tomp2p.storage.AlternativeCompositeByteBuf
 
announceShutdown() - Method in class net.tomp2p.p2p.Peer
Sends a friendly shutdown message to my close neighbors in the DHT.
anyAddresses() - Method in class net.tomp2p.connection.Bindings
 
anyInterfaces() - Method in class net.tomp2p.connection.Bindings
 
anyProtocols() - Method in class net.tomp2p.connection.Bindings
 
approximateCount(E) - Method in class net.tomp2p.rpc.CountingBloomFilter
Returns the number of times that an element has been added.
array() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
arrayOffset() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
ascending(boolean) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
ascending() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
ascending(boolean) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
ascending() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
AutomaticFuture - Interface in net.tomp2p.p2p
Use this interface to notify if a future has been generated from a maintenance task.
availableTCPPermits() - Method in class net.tomp2p.connection.ChannelCreator
 
availableUDPPermits() - Method in class net.tomp2p.connection.ChannelCreator
 
await() - Method in interface net.tomp2p.futures.BaseFuture
Wait for the asynchronous operation to end.
await(long) - Method in interface net.tomp2p.futures.BaseFuture
Wait for the asynchronous operation to end with the specified timeout.
await() - Method in class net.tomp2p.futures.BaseFutureImpl
 
await(long) - Method in class net.tomp2p.futures.BaseFutureImpl
 
awaitListeners() - Method in interface net.tomp2p.futures.BaseFuture
Waits until all the listener finished.
awaitListeners() - Method in class net.tomp2p.futures.BaseFutureImpl
 
awaitListenersUninterruptibly() - Method in interface net.tomp2p.futures.BaseFuture
Waits uninterruptedly until all the listener finished.
awaitListenersUninterruptibly() - Method in class net.tomp2p.futures.BaseFutureImpl
 
awaitUninterruptibly() - Method in interface net.tomp2p.futures.BaseFuture
Wait for the asynchronous operation to end without interruption.
awaitUninterruptibly(long) - Method in interface net.tomp2p.futures.BaseFuture
Wait for the asynchronous operation to end with the specified timeout without interruption.
awaitUninterruptibly() - Method in class net.tomp2p.futures.BaseFutureImpl
 
awaitUninterruptibly(long) - Method in class net.tomp2p.futures.BaseFutureImpl
 

B

bagSizeOverflow() - Method in class net.tomp2p.peers.PeerMap
 
bagSizeOverflow() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
bagSizeOverflow(int) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
bagSizeVerified() - Method in class net.tomp2p.peers.PeerMap
 
bagSizeVerified() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
bagSizeVerified(int) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
basedOnSet() - Method in class net.tomp2p.storage.Data
 
BaseFuture - Interface in net.tomp2p.futures
Represents the result of an asynchronous operation.
BaseFuture.FutureType - Enum in net.tomp2p.futures
The first state is always INIT and will always end in either OK, FAILED, or CANCEl.
BaseFutureAdapter<F extends BaseFuture> - Class in net.tomp2p.futures
The BaseFuture always completes either successfully or failed.
BaseFutureAdapter() - Constructor for class net.tomp2p.futures.BaseFutureAdapter
 
BaseFutureImpl<K extends BaseFuture> - Class in net.tomp2p.futures
The base for all BaseFuture implementations.
BaseFutureImpl() - Constructor for class net.tomp2p.futures.BaseFutureImpl
Default constructor that sets the lock object, which is used for synchronization to this instance.
BaseFutureListener<F extends BaseFuture> - Interface in net.tomp2p.futures
Something interested in being notified when the result of an BaseFuture becomes available.
BasicBuilder<K> - Interface in net.tomp2p.p2p.builder
The basic build methods for the builder classes.
bestEffortclose(Closeable...) - Static method in class net.tomp2p.utils.Utils
 
Bindings - Class in net.tomp2p.connection
Gathers information about interface bindings.
Bindings() - Constructor for class net.tomp2p.connection.Bindings
 
bindings(Bindings) - Method in class net.tomp2p.p2p.PeerMaker
 
bitLength() - Method in class net.tomp2p.peers.Number160
Calculates the number of bits used to represent this number.
BITS - Static variable in class net.tomp2p.peers.Number160
 
bloomFilterAnd(boolean) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
bloomFilterAnd() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
bloomFilterAnd(boolean) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
bloomFilterAnd() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
bloomfilterFactory(BloomfilterFactory) - Method in class net.tomp2p.connection.PeerBean
 
bloomfilterFactory() - Method in class net.tomp2p.connection.PeerBean
 
bloomfilterFactory() - Method in class net.tomp2p.p2p.PeerMaker
 
bloomfilterFactory(BloomfilterFactory) - Method in class net.tomp2p.p2p.PeerMaker
 
BloomfilterFactory - Interface in net.tomp2p.rpc
 
bloomFilterIntersect() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
bootstrap(Collection<PeerAddress>, RoutingBuilder, ChannelCreator) - Method in class net.tomp2p.p2p.DistributedRouting
Bootstraps to the given peerAddresses, i.e.
bootstrap() - Method in class net.tomp2p.p2p.Peer
 
BootstrapBuilder - Class in net.tomp2p.p2p.builder
Boostraps to a known peer.
BootstrapBuilder(Peer) - Constructor for class net.tomp2p.p2p.builder.BootstrapBuilder
 
broadcast(Number160) - Method in class net.tomp2p.p2p.Peer
 
broadcastAddresses() - Method in class net.tomp2p.connection.Bindings
 
BroadcastBuilder - Class in net.tomp2p.p2p.builder
 
BroadcastBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.BroadcastBuilder
 
BroadcastHandler - Interface in net.tomp2p.p2p
The handler that is called when we receive a broadcast message.
broadcastHandler() - Method in class net.tomp2p.p2p.PeerMaker
 
broadcastHandler(BroadcastHandler) - Method in class net.tomp2p.p2p.PeerMaker
 
broadcastHandler() - Method in class net.tomp2p.rpc.BroadcastRPC
 
broadcastPingReceived(PeerAddress) - Method in interface net.tomp2p.p2p.PeerReceivedBroadcastPing
Call this method when we receive a broadcast ping.
BroadcastRPC - Class in net.tomp2p.rpc
 
BroadcastRPC(PeerBean, ConnectionBean, BroadcastHandler) - Constructor for class net.tomp2p.rpc.BroadcastRPC
 
Buffer - Class in net.tomp2p.message
 
Buffer(ByteBuf, int) - Constructor for class net.tomp2p.message.Buffer
 
Buffer(ByteBuf) - Constructor for class net.tomp2p.message.Buffer
 
buffer() - Method in class net.tomp2p.message.Buffer
 
buffer() - Method in class net.tomp2p.storage.Data
 
bufferList() - Method in class net.tomp2p.storage.DataBuffer
Always make a copy with shallowCopy before using the buffer directly.
builder() - Method in class net.tomp2p.futures.FutureDHT
 
Builder - Interface in net.tomp2p.p2p.builder
 
BYTE_ARRAY_SIZE - Static variable in class net.tomp2p.peers.Number160
 
BYTE_BITS - Static variable in class net.tomp2p.utils.Utils
 
BYTE_SIZE - Static variable in class net.tomp2p.utils.Utils
 
byteArrayToInt(byte[]) - Static method in class net.tomp2p.utils.Utils
 
bytes() - Method in class net.tomp2p.storage.DataBuffer
 
bytesBefore(byte) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
bytesBefore(int, byte) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
bytesBefore(int, int, byte) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 

C

CacheMap<K,V> - Class in net.tomp2p.utils
The CacheMap is a LRU cache with a given capacity.
CacheMap(int, boolean) - Constructor for class net.tomp2p.utils.CacheMap
Creates a new CacheMap with a fixed capacity.
cacheSize() - Method in class net.tomp2p.storage.KeyLock
 
cancel() - Method in class net.tomp2p.futures.BaseFutureImpl
 
Cancel - Interface in net.tomp2p.futures
A cancelable class should implement this method use use it for future objects.
cancel() - Method in interface net.tomp2p.futures.Cancel
This method gets called if a future is cancelled.
cancel() - Method in class net.tomp2p.p2p.RoutingMechanism
Cancel the future that causes the underlying futures to cancel as well.
capacity() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
capacity(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
capacity(int, boolean) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
changeAddress(InetAddress) - Method in class net.tomp2p.peers.PeerAddress
Create a new PeerAddress and change the InetAddress.
changeFirewalledTCP(boolean) - Method in class net.tomp2p.peers.PeerAddress
Create a new PeerAddress and change the firewalledTCP status.
changeFirewalledUDP(boolean) - Method in class net.tomp2p.peers.PeerAddress
Create a new PeerAddress and change the firewallUDP status.
changePeerId(Number160) - Method in class net.tomp2p.peers.PeerAddress
Create a new PeerAddress and change the peer id.
changePeerSocketAddress(PeerSocketAddress) - Method in class net.tomp2p.peers.PeerAddress
 
changePeerSocketAddresses(Collection<PeerSocketAddress>) - Method in class net.tomp2p.peers.PeerAddress
 
changePorts(int, int) - Method in class net.tomp2p.peers.PeerAddress
Create a new PeerAddress and change the TCP and UDP ports.
changePublicKey(PublicKey) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
changePublicKey() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
changeRelayed(boolean) - Method in class net.tomp2p.peers.PeerAddress
Create a new PeerAddress and change the relayed status.
channelActive(ChannelHandlerContext) - Method in class net.tomp2p.connection.HeartBeat
 
channelActive(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandlerTomP2P
 
ChannelClientConfiguration - Class in net.tomp2p.connection
The class that stores the limits for the resource reservation.
ChannelClientConfiguration() - Constructor for class net.tomp2p.connection.ChannelClientConfiguration
 
channelClientConfiguration() - Method in class net.tomp2p.connection.Sender
 
channelClientConfiguration() - Method in class net.tomp2p.p2p.PeerMaker
 
channelClientConfiguration(ChannelClientConfiguration) - Method in class net.tomp2p.p2p.PeerMaker
 
ChannelCreator - Class in net.tomp2p.connection
Creates the channels.
channelCreator() - Method in class net.tomp2p.connection.PeerConnection
 
channelFuture(ChannelFuture) - Method in class net.tomp2p.connection.PeerConnection
 
channelFuture() - Method in class net.tomp2p.connection.PeerConnection
 
channelInactive(ChannelHandlerContext) - Method in class net.tomp2p.connection.DropConnectionInboundHandler
 
channelInactive(ChannelHandlerContext) - Method in class net.tomp2p.connection.HeartBeat
 
channelInactive(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandlerTomP2P
 
channelInactive(ChannelHandlerContext) - Method in class net.tomp2p.message.TomP2PCumulationTCP
 
channelRead(ChannelHandlerContext, Object) - Method in class net.tomp2p.connection.HeartBeat
 
channelRead(ChannelHandlerContext, Object) - Method in class net.tomp2p.connection.IdleStateHandlerTomP2P
 
channelRead(ChannelHandlerContext, Object) - Method in class net.tomp2p.message.TomP2PCumulationTCP
 
channelRead(ChannelHandlerContext, Object) - Method in class net.tomp2p.message.TomP2PSinglePacketUDP
 
channelRead0(ChannelHandlerContext, Message) - Method in class net.tomp2p.connection.Dispatcher
 
channelRead0(ChannelHandlerContext, Message) - Method in class net.tomp2p.connection.RequestHandler
 
channelRegistered(ChannelHandlerContext) - Method in class net.tomp2p.connection.DropConnectionInboundHandler
 
channelRegistered(ChannelHandlerContext) - Method in class net.tomp2p.connection.HeartBeat
 
channelRegistered(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandlerTomP2P
 
ChannelServer - Class in net.tomp2p.connection
The "server" part that accepts connections.
ChannelServer(EventLoopGroup, EventLoopGroup, ChannelServerConficuration, Dispatcher, PeerStatusListener[]) - Constructor for class net.tomp2p.connection.ChannelServer
Sets parameters and starts network device discovery.
channelServer() - Method in class net.tomp2p.connection.ConnectionBean
 
ChannelServerConficuration - Class in net.tomp2p.connection
The the configuration for the server.
ChannelServerConficuration() - Constructor for class net.tomp2p.connection.ChannelServerConficuration
 
channelServerConfiguration() - Method in class net.tomp2p.connection.ChannelServer
 
channelServerConfiguration() - Method in class net.tomp2p.p2p.PeerMaker
 
channelServerConfiguration(ChannelServerConficuration) - Method in class net.tomp2p.p2p.PeerMaker
 
CHARS_PER_INT - Static variable in class net.tomp2p.peers.Number160
 
checkIdentity(Number160, PublicKey) - Method in class net.tomp2p.storage.IdentityManagement
 
checkTimeout() - Method in class net.tomp2p.storage.StorageLayer
 
clear() - Method in class net.tomp2p.connection.Bindings
Clears all lists: listenInterfaceHints, listenAddresses, broadcastAddresses.
clear() - Method in class net.tomp2p.rpc.CountingBloomFilter
Clear the Bloom Filter
clear() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Clear the Bloom Filter.
clear() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
clear() - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
close() - Method in class net.tomp2p.connection.PeerConnection
 
close() - Method in class net.tomp2p.futures.FuturePeerConnection
 
close(ChannelHandlerContext, ChannelPromise) - Method in class net.tomp2p.message.CountConnectionOutboundHandler
 
close() - Method in interface net.tomp2p.storage.Storage
 
close() - Method in class net.tomp2p.storage.StorageMemory
 
closeFuture() - Method in class net.tomp2p.connection.PeerConnection
 
closeNeighbors(PeerAddress, NeighborRPC.SearchValues, Message.Type, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.NeighborRPC
Requests close neighbors from the remote peer.
closePeers(int) - Method in class net.tomp2p.peers.PeerMap
Returns close peers to the peer itself.
closePeers(Number160, int) - Method in class net.tomp2p.peers.PeerMap
Returns close peer from the set to a given key.
closePeers(Number160, Number160, int, List<Map<Number160, PeerStatatistic>>) - Static method in class net.tomp2p.peers.PeerMap
 
compareTo(MessageID) - Method in class net.tomp2p.message.MessageID
 
compareTo(Number160) - Method in class net.tomp2p.peers.Number160
 
compareTo(Number320) - Method in class net.tomp2p.peers.Number320
 
compareTo(Number480) - Method in class net.tomp2p.peers.Number480
 
compareTo(Number640) - Method in class net.tomp2p.peers.Number640
 
compareTo(PeerAddress) - Method in class net.tomp2p.peers.PeerAddress
 
compareTo(ByteBuf) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
compBuffer() - Method in class net.tomp2p.message.CompByteBufAllocator
 
compBuffer(ByteBufAllocator, boolean, ByteBuf...) - Static method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
compBuffer(boolean) - Static method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
compBuffer() - Static method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
compBuffer(ByteBuf...) - Static method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
CompByteBufAllocator - Class in net.tomp2p.message
 
CompByteBufAllocator() - Constructor for class net.tomp2p.message.CompByteBufAllocator
 
compDirectBuffer() - Method in class net.tomp2p.message.CompByteBufAllocator
 
compDirectBuffer() - Static method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
compDirectBuffer(ByteBuf...) - Static method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
completed - Variable in class net.tomp2p.futures.BaseFutureImpl
 
compress(byte[]) - Static method in class net.tomp2p.utils.Utils
 
ConcurrentCacheMap<K,V> - Class in net.tomp2p.utils
A map with expiration and more or less LRU.
ConcurrentCacheMap() - Constructor for class net.tomp2p.utils.ConcurrentCacheMap
Creates a new instance of ConcurrentCacheMap using the supplied values and a CacheMap for the internal data structure.
ConcurrentCacheMap(int, int) - Constructor for class net.tomp2p.utils.ConcurrentCacheMap
Creates a new instance of ConcurrentCacheMap using the supplied values and a CacheMap for the internal data structure.
ConcurrentCacheMap(int, int, boolean) - Constructor for class net.tomp2p.utils.ConcurrentCacheMap
Creates a new instance of ConcurrentCacheMap using the supplied values and a CacheMap for the internal data structure.
connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class net.tomp2p.message.CountConnectionOutboundHandler
 
ConnectionBean - Class in net.tomp2p.connection
A bean that holds sharable configuration settings for the peer.
ConnectionBean(int, Dispatcher, Sender, ChannelServer, Reservation, ChannelClientConfiguration, ScheduledExecutorService) - Constructor for class net.tomp2p.connection.ConnectionBean
The connection bean with unmodifiable objects.
connectionBean() - Method in class net.tomp2p.connection.PeerCreator
 
connectionBean() - Method in class net.tomp2p.connection.RequestHandler
 
connectionBean() - Method in class net.tomp2p.rpc.DispatchHandler
 
ConnectionConfiguration - Interface in net.tomp2p.connection
 
ConnectionConfiguration - Class in net.tomp2p.p2p
 
ConnectionConfiguration() - Constructor for class net.tomp2p.p2p.ConnectionConfiguration
 
connectionTimeoutTCPMillis() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
connectionTimeoutTCPMillis(int) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
connectionTimeoutTCPMillis() - Method in interface net.tomp2p.connection.ConnectionConfiguration
 
connectionTimeoutTCPMillis() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
connectionTimeoutTCPMillis(int) - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
connectionTimeoutTCPMillis() - Method in class net.tomp2p.connection.RequestHandler
 
connectionTimeoutTCPMillis(int) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
connectionTimeoutTCPMillis() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
contains(PeerAddress) - Method in class net.tomp2p.peers.PeerMap
Checks if a peer address in either in the verified map.
contains(Object) - Method in class net.tomp2p.rpc.CountingBloomFilter
 
contains(Object) - Method in class net.tomp2p.rpc.SimpleBloomFilter
 
contains(Number640) - Method in interface net.tomp2p.storage.Storage
 
contains(Number640, Number640) - Method in interface net.tomp2p.storage.Storage
 
contains(Number640) - Method in class net.tomp2p.storage.StorageLayer
 
contains(Number640) - Method in class net.tomp2p.storage.StorageMemory
 
contains(Number640, Number640) - Method in class net.tomp2p.storage.StorageMemory
 
containsAll(Collection<?>) - Method in class net.tomp2p.rpc.CountingBloomFilter
 
containsAll(Collection<?>) - Method in class net.tomp2p.rpc.SimpleBloomFilter
 
containsInterface(String) - Method in class net.tomp2p.connection.Bindings
Checks if the user provided an interface hint.
containsKey(Number160) - Method in class net.tomp2p.message.TrackerData
 
containsKey(Object) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
containsOverflow(PeerAddress) - Method in class net.tomp2p.peers.PeerMap
Checks if a peer address in either in the overflow / non-verified map.
containsValue(Object) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
content() - Method in class net.tomp2p.message.NumberType
 
CONTENT_TYPE_LENGTH - Static variable in class net.tomp2p.message.Message
 
contentBloomFilter() - Method in class net.tomp2p.rpc.DigestResult
 
contentBloomFilter() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
 
contentKey() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
contentKey(Number160) - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
contentKey() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
 
contentKeys() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
contentKeys(Collection<Number160>) - Method in class net.tomp2p.p2p.builder.DigestBuilder
Set the content keys that should be found.
contentKeys() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
contentKeys(Collection<Number160>) - Method in class net.tomp2p.p2p.builder.GetBuilder
Set the content keys that should be found.
contentKeys() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
contentKeys(Collection<Number160>) - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
contentKeys() - Method in interface net.tomp2p.p2p.builder.SearchableBuilder
 
contentRefencencs() - Method in class net.tomp2p.message.Message
 
convertToHash() - Method in class net.tomp2p.message.DataMap
 
convertToMap640() - Method in class net.tomp2p.message.DataMap
 
copy() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
copy(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
couldProvideMoreData() - Method in class net.tomp2p.message.TrackerData
 
CountConnectionOutboundHandler - Class in net.tomp2p.message
This is a simple counter that counts the current open connections and total connections
CountConnectionOutboundHandler() - Constructor for class net.tomp2p.message.CountConnectionOutboundHandler
 
CountingBloomFilter<E> - Class in net.tomp2p.rpc
A counting Bloom Filter (see http://en.wikipedia.org/wiki/Bloom_filter) that uses java.util.Random as a primitive hash function, and which implements Java's Set interface for convenience.
CountingBloomFilter(int, int[]) - Constructor for class net.tomp2p.rpc.CountingBloomFilter
Constructs a CountingBloomFilter out of existing data.
create(RoutingConfiguration, RequestP2PConfiguration, DHTBuilder<?>) - Method in class net.tomp2p.connection.Reservation
This will calculate the number of required connection for routing and request messages.
create(int, int) - Method in class net.tomp2p.connection.Reservation
Create a connection creator for short-lived connections.
create() - Method in interface net.tomp2p.futures.FutureCreator
 
create(PeerAddress, boolean) - Method in interface net.tomp2p.p2p.DistributedTracker.Operation
Creates an RPC.
create(ChannelCreator, PeerAddress) - Method in interface net.tomp2p.p2p.OperationMapper
Creates a single RPC.
create(byte[], boolean, int) - Static method in class net.tomp2p.peers.PeerSocketAddress
Converts an byte array into a peer socket address.
create(ByteBuf, boolean) - Static method in class net.tomp2p.peers.PeerSocketAddress
Converts an ChannelBuffer into a peer socket address.
create(K, V) - Static method in class net.tomp2p.utils.Pair
 
createBitSet(byte) - Static method in class net.tomp2p.utils.Utils
Convert a byte to a bit set.
createBuilder(RequestP2PConfiguration, RoutingConfiguration) - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
createBuilder(RequestP2PConfiguration, RoutingConfiguration) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
createBuilder(RoutingConfiguration) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
createByte(BitSet) - Static method in class net.tomp2p.utils.Utils
Convert a BitSet to a byte.
createComparator() - Method in class net.tomp2p.peers.PeerMap
Creates an XOR comparator based on this peer ID.
createComparator(Number160) - Static method in class net.tomp2p.peers.PeerMap
Create the Kademlia distance comparator.
createContentBloomFilter() - Method in interface net.tomp2p.rpc.BloomfilterFactory
 
createContentBloomFilter() - Method in class net.tomp2p.rpc.DefaultBloomfilterFactory
 
createContentKeyBloomFilter() - Method in interface net.tomp2p.rpc.BloomfilterFactory
 
createContentKeyBloomFilter() - Method in class net.tomp2p.rpc.DefaultBloomfilterFactory
 
createDefaultChannelClientConfiguration() - Static method in class net.tomp2p.p2p.PeerMaker
 
createDefaultChannelServerConfiguration() - Static method in class net.tomp2p.p2p.PeerMaker
 
createDomainKeyBloomFilter() - Method in interface net.tomp2p.rpc.BloomfilterFactory
 
createDomainKeyBloomFilter() - Method in class net.tomp2p.rpc.DefaultBloomfilterFactory
 
createHash(int) - Static method in class net.tomp2p.peers.Number160
Create a new Number160 from the integer, which fills all the 160bits.
createHash(long) - Static method in class net.tomp2p.peers.Number160
Create a new Number160 from the long, which fills all the 160bit.
createHash(String) - Static method in class net.tomp2p.peers.Number160
Create a new Number160 using SHA1 on the string.
createInputStream(ByteBuffer) - Static method in class net.tomp2p.utils.Utils
 
createLoctationKeyBloomFilter() - Method in interface net.tomp2p.rpc.BloomfilterFactory
 
createLoctationKeyBloomFilter() - Method in class net.tomp2p.rpc.DefaultBloomfilterFactory
 
createMessage(PeerAddress, byte, Message.Type) - Method in class net.tomp2p.rpc.DispatchHandler
Create a request message and fills it with connection bean and peer bean parameters.
createPeerConnection(PeerAddress) - Method in class net.tomp2p.p2p.Peer
 
createPeerConnection(PeerAddress, int) - Method in class net.tomp2p.p2p.Peer
Opens a TCP connection and keeps it open.
createPermanent(int) - Method in class net.tomp2p.connection.Reservation
Create a connection creator for permanent connections.
createRandomNodeID() - Static method in class net.tomp2p.utils.Utils
 
createResponseMessage(Message, Message.Type) - Method in class net.tomp2p.rpc.DispatchHandler
Create a response message and fills it with connection bean and peer bean parameters.
createResponseMessage(Message, Message.Type, PeerAddress) - Static method in class net.tomp2p.rpc.DispatchHandler
 
createRoutingMechanism(FutureRouting) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
createSocketTCP(PeerAddress) - Method in interface net.tomp2p.connection.RelaySender
 
createSocketTCP() - Method in class net.tomp2p.peers.PeerAddress
Returns the socket address.
createSocketTCP(PeerSocketAddress) - Static method in class net.tomp2p.peers.PeerSocketAddress
Returns the socket address.
createSocketUDP() - Method in class net.tomp2p.peers.PeerAddress
Returns the socket address.
createSocketUDP(PeerSocketAddress) - Static method in class net.tomp2p.peers.PeerSocketAddress
Returns the socket address.
createSocketUPD(PeerAddress) - Method in interface net.tomp2p.connection.RelaySender
 
createTCP(SocketAddress, int, Map<String, Pair<EventExecutorGroup, ChannelHandler>>, FutureResponse) - Method in class net.tomp2p.connection.ChannelCreator
Creates a channel to the given address.
createTempDir() - Static method in class net.tomp2p.utils.Utils
 
createUDP(SocketAddress, boolean, Map<String, Pair<EventExecutorGroup, ChannelHandler>>, FutureResponse) - Method in class net.tomp2p.connection.ChannelCreator
Creates a "channel" to the given address.
CumulativeScheme - Class in net.tomp2p.p2p
 
CumulativeScheme() - Constructor for class net.tomp2p.p2p.CumulativeScheme
 
current() - Method in class net.tomp2p.message.CountConnectionOutboundHandler
 
currentTimeMillis() - Method in interface net.tomp2p.utils.Timing
 
currentTimeMillis() - Method in class net.tomp2p.utils.TimingImpl
 
currentTimeMillis() - Static method in class net.tomp2p.utils.Timings
 

D

Data - Class in net.tomp2p.storage
This class holds the data for the transport.
Data(DataBuffer) - Constructor for class net.tomp2p.storage.Data
 
Data(DataBuffer, int) - Constructor for class net.tomp2p.storage.Data
Create a data object that does have the complete data.
Data(int, int) - Constructor for class net.tomp2p.storage.Data
Creates an empty data object.
Data(Object) - Constructor for class net.tomp2p.storage.Data
 
Data(byte[]) - Constructor for class net.tomp2p.storage.Data
 
Data() - Constructor for class net.tomp2p.storage.Data
 
Data(byte[], int, int) - Constructor for class net.tomp2p.storage.Data
Creates a data object from an already existing byte buffer.
Data.Type - Enum in net.tomp2p.storage
small means 8 bit, medium is 32bit.
DataBuffer - Class in net.tomp2p.storage
 
DataBuffer() - Constructor for class net.tomp2p.storage.DataBuffer
 
DataBuffer(int) - Constructor for class net.tomp2p.storage.DataBuffer
 
DataBuffer(byte[]) - Constructor for class net.tomp2p.storage.DataBuffer
 
DataBuffer(byte[], int, int) - Constructor for class net.tomp2p.storage.DataBuffer
 
DataBuffer(ByteBuf) - Constructor for class net.tomp2p.storage.DataBuffer
Creates a DataBuffer and adds the ByteBuf to this DataBuffer
DataMap - Class in net.tomp2p.message
 
DataMap(Map<Number640, Data>) - Constructor for class net.tomp2p.message.DataMap
 
DataMap(Map<Number640, Data>, boolean) - Constructor for class net.tomp2p.message.DataMap
 
DataMap(Number160, Number160, Number160, Map<Number160, Data>) - Constructor for class net.tomp2p.message.DataMap
 
DataMap(Number160, Number160, Number160, Map<Number160, Data>, boolean) - Constructor for class net.tomp2p.message.DataMap
 
dataMap() - Method in class net.tomp2p.message.DataMap
 
dataMap() - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 
dataMap(Map<Number640, Data>) - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 
dataMap() - Method in class net.tomp2p.rpc.DigestResult
 
dataMapConvert() - Method in class net.tomp2p.message.DataMap
 
dataSize(PutBuilder) - Static method in class net.tomp2p.utils.Utils
 
dataSize(RemoveBuilder) - Static method in class net.tomp2p.utils.Utils
 
debugArray(byte[], int, int) - Static method in class net.tomp2p.utils.Utils
 
debugArray(byte[]) - Static method in class net.tomp2p.utils.Utils
 
decode(ChannelHandlerContext, ByteBuf, InetSocketAddress, InetSocketAddress) - Method in class net.tomp2p.message.Decoder
 
decode(byte[]) - Method in class net.tomp2p.message.DSASignatureCodec
 
decode(byte[]) - Method in interface net.tomp2p.message.SignatureCodec
 
decodeBuffer(ByteBuf) - Method in class net.tomp2p.storage.Data
Add data to the byte buffer.
decodeContentTypes(int, Message) - Static method in class net.tomp2p.message.MessageHeaderCodec
Decodes the content types from a 32bit number.
decodeDone(ByteBuf, PublicKey, SignatureFactory) - Method in class net.tomp2p.storage.Data
 
decodeHeader(ByteBuf, InetSocketAddress, InetSocketAddress) - Method in class net.tomp2p.message.Decoder
 
decodeHeader(ByteBuf, InetSocketAddress, InetSocketAddress) - Static method in class net.tomp2p.message.MessageHeaderCodec
Decode a message header from a Netty buffer.
decodeHeader(ByteBuf, SignatureFactory) - Static method in class net.tomp2p.storage.Data
Reads the header.
decodeJavaObject(ByteBuf) - Static method in class net.tomp2p.utils.Utils
 
decodeJavaObject(DataBuffer) - Static method in class net.tomp2p.utils.Utils
 
decodeJavaObject(byte[], int, int) - Static method in class net.tomp2p.utils.Utils
 
decodePayload(ByteBuf) - Method in class net.tomp2p.message.Decoder
 
decodePublicKey(byte[]) - Method in class net.tomp2p.connection.DSASignatureFactory
 
decodePublicKey(ByteBuf) - Method in class net.tomp2p.connection.DSASignatureFactory
 
decodePublicKey(byte[]) - Method in interface net.tomp2p.connection.SignatureFactory
The public key is sent over the wire, thus the decoding of it needs special handling.
decodePublicKey(ByteBuf) - Method in interface net.tomp2p.connection.SignatureFactory
 
Decoder - Class in net.tomp2p.message
 
Decoder(SignatureFactory) - Constructor for class net.tomp2p.message.Decoder
 
decompose(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
DEFAULT_CONNECTION_TIMEOUT_TCP - Static variable in class net.tomp2p.connection.ConnectionBean
 
DEFAULT_DOMAIN - Static variable in class net.tomp2p.p2p.builder.TrackerBuilder
 
DEFAULT_PORT - Static variable in class net.tomp2p.connection.Ports
 
DEFAULT_TCP_IDLE_SECONDS - Static variable in class net.tomp2p.connection.ConnectionBean
 
DEFAULT_TIME_TO_LIVE - Static variable in class net.tomp2p.utils.ConcurrentCacheMap
Time to live for a value.
DEFAULT_UDP_IDLE_SECONDS - Static variable in class net.tomp2p.connection.ConnectionBean
 
DefaultBloomfilterFactory - Class in net.tomp2p.rpc
 
DefaultBloomfilterFactory() - Constructor for class net.tomp2p.rpc.DefaultBloomfilterFactory
 
DefaultBroadcastHandler - Class in net.tomp2p.p2p
Default implementation for the broadcast.
DefaultBroadcastHandler(Peer, Random) - Constructor for class net.tomp2p.p2p.DefaultBroadcastHandler
Constructor.
DefaultConnectionConfiguration - Class in net.tomp2p.connection
The ConnectionConfiguration with default settings.
DefaultConnectionConfiguration() - Constructor for class net.tomp2p.connection.DefaultConnectionConfiguration
 
DefaultMaintenance - Class in net.tomp2p.peers
The default maintenance implementation.
DefaultMaintenance(int, int[]) - Constructor for class net.tomp2p.peers.DefaultMaintenance
Constructor that initializes the maps as null references.
DefaultPeerFilter - Class in net.tomp2p.peers
The default filter accepts all peers.
DefaultPeerFilter() - Constructor for class net.tomp2p.peers.DefaultPeerFilter
 
delayMillis() - Method in class net.tomp2p.p2p.PeerMaker
 
delayMillis(int) - Method in class net.tomp2p.p2p.PeerMaker
 
descending() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
descending() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
DHTBuilder<K extends DHTBuilder<K>> - Class in net.tomp2p.p2p.builder
Every DHT builder has those methods in common.
DHTBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.DHTBuilder
 
difference(Collection<K>, Collection<K>, Collection<K>) - Static method in class net.tomp2p.utils.Utils
Stores the differences of two collections in a result collection.
difference(Collection<K>, Collection<K>, Collection<K>...) - Static method in class net.tomp2p.utils.Utils
Stores the differences of multiple collections in a result collection.
digest(DigestBuilder) - Method in class net.tomp2p.p2p.DistributedHashTable
 
digest(Number160) - Method in class net.tomp2p.p2p.Peer
 
digest(PeerAddress, DigestBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.StorageRPC
 
Digest - Interface in net.tomp2p.storage
The storage stores Number480, which is separated in 3 Number160.
digest(Number640, Number640) - Method in interface net.tomp2p.storage.Digest
Calculates a digest over a specific location and domain.
digest(Number320, SimpleBloomFilter<Number160>, SimpleBloomFilter<Number160>) - Method in interface net.tomp2p.storage.Digest
Calculates a digest over a specific location and domain.
digest(Number640, Number640, int, boolean) - Method in class net.tomp2p.storage.StorageLayer
 
digest(Number320, SimpleBloomFilter<Number160>, SimpleBloomFilter<Number160>, int, boolean, boolean) - Method in class net.tomp2p.storage.StorageLayer
 
digest(Collection<Number640>) - Method in class net.tomp2p.storage.StorageLayer
 
digest(Number160, Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
digest(Number640, Number640) - Method in class net.tomp2p.storage.TrackerStorage
 
digest(Number320, SimpleBloomFilter<Number160>, SimpleBloomFilter<Number160>) - Method in class net.tomp2p.storage.TrackerStorage
 
DigestBuilder - Class in net.tomp2p.p2p.builder
 
DigestBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.DigestBuilder
 
DigestInfo - Class in net.tomp2p.rpc
Calculates or sets a global hash.
DigestInfo() - Constructor for class net.tomp2p.rpc.DigestInfo
Empty constructor is used to add the hashes to the list.
DigestInfo(int) - Constructor for class net.tomp2p.rpc.DigestInfo
Create a digest with the size only.
DigestInfo(Number160, Number160, int) - Constructor for class net.tomp2p.rpc.DigestInfo
If a global hash has already been calculated, then this constructor is used to store those.
DigestResult - Class in net.tomp2p.rpc
 
DigestResult(SimpleBloomFilter<Number160>, SimpleBloomFilter<Number160>) - Constructor for class net.tomp2p.rpc.DigestResult
 
DigestResult(NavigableMap<Number640, Set<Number160>>) - Constructor for class net.tomp2p.rpc.DigestResult
 
DigestResult(Map<Number640, Data>) - Constructor for class net.tomp2p.rpc.DigestResult
 
direct(SendBuilder) - Method in class net.tomp2p.p2p.DistributedHashTable
 
DirectDataRPC - Class in net.tomp2p.rpc
 
DirectDataRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.DirectDataRPC
 
directHits(SortedMap<PeerAddress, DigestInfo>) - Method in class net.tomp2p.p2p.RoutingMechanism
 
directHits() - Method in class net.tomp2p.p2p.RoutingMechanism
 
disableBind() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
disableBind(boolean) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
discardReadBytes() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
discardSomeReadBytes() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
discover() - Method in class net.tomp2p.p2p.Peer
 
DiscoverBuilder - Class in net.tomp2p.p2p.builder
 
DiscoverBuilder(Peer) - Constructor for class net.tomp2p.p2p.builder.DiscoverBuilder
 
discoverInterfaces(Bindings) - Static method in class net.tomp2p.connection.DiscoverNetworks
Search for local interfaces.
discoverNetwork(NetworkInterface, Bindings) - Static method in class net.tomp2p.connection.DiscoverNetworks
Discovers network interfaces and addresses.
DiscoverNetworks - Class in net.tomp2p.connection
A class to search for addresses to bind the sockets to.
discoverTimeoutSec() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
discoverTimeoutSec(int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
disjunction(Map<K, V>, Collection<K>) - Static method in class net.tomp2p.utils.Utils
 
disjunction(TrackerData, SimpleBloomFilter<Number160>) - Static method in class net.tomp2p.utils.Utils
 
dispatcher() - Method in class net.tomp2p.connection.ConnectionBean
 
Dispatcher - Class in net.tomp2p.connection
Used to deliver incoming REQUEST messages to their specific handlers.
Dispatcher(int, PeerBean, int) - Constructor for class net.tomp2p.connection.Dispatcher
Constructor.
Dispatcher.DirectResponder - Class in net.tomp2p.connection
 
DispatchHandler - Class in net.tomp2p.rpc
The dispatcher handlers that can be added to the Dispatcher.
DispatchHandler(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.DispatchHandler
Creates a handler with a connection and peer bean.
DistributedHashTable - Class in net.tomp2p.p2p
 
DistributedHashTable(DistributedRouting, StorageRPC, DirectDataRPC, QuitRPC) - Constructor for class net.tomp2p.p2p.DistributedHashTable
 
DistributedRouting - Class in net.tomp2p.p2p
Handles routing of nodes to other nodes.
DistributedRouting(PeerBean, NeighborRPC) - Constructor for class net.tomp2p.p2p.DistributedRouting
The routing process involves multiple RPCs, mostly UDP based.
DistributedTracker - Class in net.tomp2p.p2p
 
DistributedTracker(PeerBean, DistributedRouting, TrackerRPC, PeerExchangeRPC) - Constructor for class net.tomp2p.p2p.DistributedTracker
 
DistributedTracker.Operation - Interface in net.tomp2p.p2p
This interface is used for the RPC operations.
domainKey() - Method in class net.tomp2p.message.DataMap
 
domainKey() - Method in class net.tomp2p.message.KeyCollection
 
domainKey - Variable in class net.tomp2p.p2p.builder.DHTBuilder
 
domainKey - Variable in class net.tomp2p.p2p.builder.TrackerBuilder
 
domainKey() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
 
done(PeerAddress, PeerAddress) - Method in class net.tomp2p.futures.FutureDiscover
Gets called if the discovery was a success and an other peer could ping us with TCP and UDP.
done() - Method in class net.tomp2p.futures.FutureLaterJoin
If no more futures are added, done() must be called to evaluate the results.
done(int) - Method in class net.tomp2p.futures.FutureLaterJoin
If no more futures are added, done() must be called to evaluate the results.
done() - Method in class net.tomp2p.message.Buffer
 
done(boolean) - Method in class net.tomp2p.message.Message
 
doubleValue() - Method in class net.tomp2p.peers.Number160
 
doubleValue() - Method in class net.tomp2p.peers.Number320
 
doubleValue() - Method in class net.tomp2p.peers.Number480
 
doubleValue() - Method in class net.tomp2p.peers.Number640
 
DropConnectionInboundHandler - Class in net.tomp2p.connection
This is a soft limit, as there is no way to drop a connection before creating a socket from Java.
DropConnectionInboundHandler(int) - Constructor for class net.tomp2p.connection.DropConnectionInboundHandler
 
DSASignatureCodec - Class in net.tomp2p.message
Bare minimun ASN.1 encoder and decoder for the signature.
DSASignatureCodec() - Constructor for class net.tomp2p.message.DSASignatureCodec
 
DSASignatureCodec(Number160, Number160) - Constructor for class net.tomp2p.message.DSASignatureCodec
 
DSASignatureFactory - Class in net.tomp2p.connection
The default signature is done with SHA1withDSA.
DSASignatureFactory() - Constructor for class net.tomp2p.connection.DSASignatureFactory
 
duplicate() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
duplicate() - Method in class net.tomp2p.storage.Data
 
duplicateMeta() - Method in class net.tomp2p.storage.Data
 

E

element0() - Method in class net.tomp2p.utils.Pair
 
element0(K) - Method in class net.tomp2p.utils.Pair
 
element1() - Method in class net.tomp2p.utils.Pair
 
element1(V) - Method in class net.tomp2p.utils.Pair
 
EMPTY_BYTE_ARRAY - Static variable in class net.tomp2p.utils.Utils
 
EMPTY_PEER_SOCKET_ADDRESSES - Static variable in class net.tomp2p.peers.PeerAddress
 
EMPTY_PUBLICKEY - Static variable in class net.tomp2p.p2p.PeerMaker
 
EMTPY_DATA - Static variable in class net.tomp2p.message.TrackerData
 
encode() - Method in class net.tomp2p.message.DSASignatureCodec
 
encode() - Method in interface net.tomp2p.message.SignatureCodec
 
encodeBuffer(AlternativeCompositeByteBuf) - Method in class net.tomp2p.storage.Data
 
encodeContentTypes(Message.Content[]) - Static method in class net.tomp2p.message.MessageHeaderCodec
Encodes the content types to a 32bit number.
encodeDone(ByteBuf, SignatureFactory) - Method in class net.tomp2p.storage.Data
 
encodeHeader(ByteBuf, Message) - Static method in class net.tomp2p.message.MessageHeaderCodec
Encodes the message object.
encodeHeader(AlternativeCompositeByteBuf, SignatureFactory) - Method in class net.tomp2p.storage.Data
 
encodeJavaObject(Object) - Static method in class net.tomp2p.utils.Utils
 
encodePublicKey(PublicKey, ByteBuf) - Method in class net.tomp2p.connection.DSASignatureFactory
 
encodePublicKey(PublicKey, ByteBuf) - Method in interface net.tomp2p.connection.SignatureFactory
 
Encoder - Class in net.tomp2p.message
 
Encoder(SignatureFactory) - Constructor for class net.tomp2p.message.Encoder
 
ensureWritable(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
ensureWritable(int, boolean) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
ensureWritable0(int, boolean) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
entrySet() - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
equals(Object) - Method in class net.tomp2p.message.Buffer
 
equals(Object) - Method in class net.tomp2p.message.DataMap
 
equals(Object) - Method in class net.tomp2p.message.DSASignatureCodec
 
equals(Object) - Method in class net.tomp2p.message.KeyCollection
 
equals(Object) - Method in class net.tomp2p.message.KeyMap640Keys
 
equals(Object) - Method in class net.tomp2p.message.KeyMapByte
 
equals(Object) - Method in class net.tomp2p.message.MessageID
 
equals(Object) - Method in class net.tomp2p.peers.Number160
 
equals(Object) - Method in class net.tomp2p.peers.Number320
 
equals(Object) - Method in class net.tomp2p.peers.Number480
 
equals(Object) - Method in class net.tomp2p.peers.Number640
 
equals(Object) - Method in class net.tomp2p.peers.PeerAddress
 
equals(Object) - Method in class net.tomp2p.peers.PeerSocketAddress
 
equals(Object) - Method in class net.tomp2p.rpc.CountingBloomFilter
 
equals(Object) - Method in class net.tomp2p.rpc.DigestInfo
 
equals(Object) - Method in class net.tomp2p.rpc.DigestResult
 
equals(Object) - Method in class net.tomp2p.rpc.SimpleBloomFilter
 
equals(Object) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
equals(Object) - Method in class net.tomp2p.storage.Data
 
equals(Object) - Method in class net.tomp2p.storage.DataBuffer
 
equals(Object) - Method in class net.tomp2p.utils.Pair
Checks the two objects for equality by delegating to their respective Object.equals(Object) methods.
equals(Object, Object) - Static method in class net.tomp2p.utils.Utils
 
evaluate(Message, Message) - Method in interface net.tomp2p.futures.FutureSuccessEvaluator
Evaluates if a request is a success.
evaluate(Message, Message) - Method in class net.tomp2p.futures.FutureSuccessEvaluatorCommunication
 
evaluate(Message, Message) - Method in class net.tomp2p.futures.FutureSuccessEvaluatorOperation
 
evaluate1(Map<PeerAddress, Map<Number640, Number160>>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate1(Map<PeerAddress, Map<Number640, Number160>>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate1(Map<PeerAddress, Map<Number640, Number160>>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluate2(Map<PeerAddress, Map<Number640, Data>>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate2(Map<PeerAddress, Map<Number640, Data>>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate2(Map<PeerAddress, Map<Number640, Data>>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluate3(Map<PeerAddress, Object>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate3(Map<PeerAddress, Object>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate3(Map<PeerAddress, Object>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluate4(Map<PeerAddress, ByteBuf>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate4(Map<PeerAddress, ByteBuf>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate4(Map<PeerAddress, ByteBuf>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluate5(Map<PeerAddress, DigestResult>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate5(Map<PeerAddress, DigestResult>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate5(Map<PeerAddress, DigestResult>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluate6(Map<PeerAddress, Map<Number640, Byte>>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate6(Map<PeerAddress, Map<Number640, Byte>>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate6(Map<PeerAddress, Map<Number640, Byte>>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluateFailed() - Method in class net.tomp2p.p2p.RoutingMechanism
 
evaluateSingle(Map<PeerAddress, TrackerData>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeTracker
 
evaluateSingle(Map<PeerAddress, TrackerData>) - Method in class net.tomp2p.p2p.VotingSchemeTracker
 
evaluateSuccess(PeerAddress, DigestInfo, Collection<PeerAddress>, boolean, Number160) - Method in class net.tomp2p.p2p.RoutingMechanism
 
EvaluatingSchemeDHT - Interface in net.tomp2p.p2p
 
EvaluatingSchemeTracker - Interface in net.tomp2p.p2p
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class net.tomp2p.connection.RequestHandler
 
exceptionCaught(Throwable) - Method in class net.tomp2p.futures.BaseFutureAdapter
Prints out the error using the logger and System.err.
exceptionCaught(Throwable) - Method in interface net.tomp2p.futures.BaseFutureListener
If the operation complete is called and the methed throws an exception
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class net.tomp2p.message.TomP2PCumulationTCP
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class net.tomp2p.message.TomP2POutbound
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class net.tomp2p.message.TomP2PSinglePacketUDP
 
exceptionTimeout() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
exceptionTimeout(int) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
expectedFalsePositiveProbability() - Method in class net.tomp2p.rpc.CountingBloomFilter
Calculates the approximate probability of the contains() method returning true for an object that had not previously been inserted into the bloom filter.
expectedFalsePositiveProbability() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Calculates the approximate probability of the contains() method returning true for an object that had not previously been inserted into the bloom filter.
expirationMillis() - Method in class net.tomp2p.storage.Data
 
expiredCounter() - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
externalAddress() - Method in class net.tomp2p.futures.FutureDiscover
 
externalBindings() - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
externalBindings(Bindings) - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
externalBindings() - Method in class net.tomp2p.p2p.PeerMaker
 
externalBindings(Bindings) - Method in class net.tomp2p.p2p.PeerMaker
 
externalTCPPort() - Method in class net.tomp2p.connection.Ports
 
externalUDPPort() - Method in class net.tomp2p.connection.Ports
 
extractContentKeys(Collection<Number480>) - Static method in class net.tomp2p.utils.Utils
 

F

failed(Message.Type, String) - Method in class net.tomp2p.connection.Dispatcher.DirectResponder
 
failed(Message.Type, String) - Method in interface net.tomp2p.connection.Responder
 
failed(String) - Method in interface net.tomp2p.futures.FutureRunnable
A run() method that fails is very silent, thus we provide failed, which can be used to set a future to fail.
failed() - Method in class net.tomp2p.peers.PeerStatatistic
Increases the failed counter.
filter(Map<String, Pair<EventExecutorGroup, ChannelHandler>>, boolean, boolean) - Method in interface net.tomp2p.connection.PipelineFilter
Filter the handlers.
filter(ShutdownBuilder.Filter) - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
 
filter() - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
 
filter(NavigableSet<PeerAddress>) - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
Adds the possibility to filter the peers, to add more or remove peers for the shutdown process.
filter(NavigableSet<PeerAddress>) - Method in interface net.tomp2p.p2p.builder.ShutdownBuilder.Filter
Adds the possibility to filter the peers, to add more or remove peers for the shutdown process
filter(Map<String, Pair<EventExecutorGroup, ChannelHandler>>, boolean, boolean) - Method in class net.tomp2p.p2p.PeerMaker.DefaultPipelineFilter
 
filter(Map<String, Pair<EventExecutorGroup, ChannelHandler>>, boolean, boolean) - Method in class net.tomp2p.p2p.PeerMaker.EventExecutorGroupFilter
 
finalize() - Method in class net.tomp2p.message.Buffer
 
finalize() - Method in class net.tomp2p.storage.DataBuffer
 
findContentForResponsiblePeerID(Number160) - Method in interface net.tomp2p.storage.Storage
 
findContentForResponsiblePeerID(Number160) - Method in class net.tomp2p.storage.StorageLayer
 
findContentForResponsiblePeerID(Number160) - Method in class net.tomp2p.storage.StorageMemory
 
findContentForResponsiblePeerID(Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
findPeerIDForResponsibleContent(Number160) - Method in interface net.tomp2p.storage.Storage
 
findPeerIDForResponsibleContent(Number160) - Method in class net.tomp2p.storage.StorageMemory
 
findPeerIDForResponsibleContent(Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
fireAndForgetUDP(ChannelCreator) - Method in class net.tomp2p.connection.RequestHandler
Send a UDP message and don't expect a reply.
fireTCP(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a TCP peer, but don't expect an answer.
fireUDP(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a UDP peer, but don't expect an answer.
flag1(boolean) - Method in class net.tomp2p.storage.Data
 
flag2(boolean) - Method in class net.tomp2p.storage.Data
 
floatValue() - Method in class net.tomp2p.peers.Number160
 
floatValue() - Method in class net.tomp2p.peers.Number320
 
floatValue() - Method in class net.tomp2p.peers.Number480
 
floatValue() - Method in class net.tomp2p.peers.Number640
 
forceUDP(boolean) - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
forEachByte(ByteBufProcessor) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
forEachByte(int, int, ByteBufProcessor) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
forEachByteDesc(ByteBufProcessor) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
forEachByteDesc(int, int, ByteBufProcessor) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
forwardMessage(Message, PeerConnection, Responder) - Method in class net.tomp2p.rpc.DispatchHandler
Forwards the request to a handler.
foundAddresses() - Method in class net.tomp2p.connection.Bindings
Returns a list of InetAddresses to listen to.
from(Number640) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
from() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
from(Number640) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
from() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
from(Number640) - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
from() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
from() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
from() - Method in interface net.tomp2p.p2p.builder.SearchableBuilder
 
from() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
 
fromInteger(int) - Static method in class net.tomp2p.utils.Utils
Returns an Inet4Address having the integer value specified by the argument.
FUTURE_TRACKER_SHUTDOWN - Static variable in class net.tomp2p.p2p.builder.TrackerBuilder
 
FutureAsyncTask - Class in net.tomp2p.futures
A future to keep track of a future task.
FutureAsyncTask(PeerAddress) - Constructor for class net.tomp2p.futures.FutureAsyncTask
Constructor
FutureBootstrap - Interface in net.tomp2p.futures
Used for bootstrapping.
FutureChannelCreator - Class in net.tomp2p.futures
This future is used for the connection reservation.
FutureChannelCreator() - Constructor for class net.tomp2p.futures.FutureChannelCreator
Creates a new future for the shutdown operation.
futureChannelCreator - Variable in class net.tomp2p.p2p.builder.DHTBuilder
 
futureChannelCreator - Variable in class net.tomp2p.p2p.builder.TrackerBuilder
 
FutureCreate<K extends BaseFuture> - Interface in net.tomp2p.futures
DHT and Tracker operations may occur repeatedly.
futureCreated(BaseFuture) - Method in interface net.tomp2p.p2p.AutomaticFuture
Call this method when a future has been created without any user interaction.
FutureCreator<K extends BaseFuture> - Interface in net.tomp2p.futures
For direct replication, the DHT needs to be created repeatedly.
FutureDHT<K extends BaseFuture> - Class in net.tomp2p.futures
 
FutureDHT(DHTBuilder<?>) - Constructor for class net.tomp2p.futures.FutureDHT
 
futureDHT(K) - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
futureDHT() - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
FutureDigest - Class in net.tomp2p.futures
The future object for put() operations including routing.
FutureDigest(DHTBuilder<?>) - Constructor for class net.tomp2p.futures.FutureDigest
Default constructor.
FutureDigest(DHTBuilder<?>, int, EvaluatingSchemeDHT) - Constructor for class net.tomp2p.futures.FutureDigest
Creates a new DHT future object that keeps track of the status of the DHT operations.
FutureDirect - Class in net.tomp2p.futures
 
FutureDirect(String) - Constructor for class net.tomp2p.futures.FutureDirect
 
FutureDirect(FutureResponse) - Constructor for class net.tomp2p.futures.FutureDirect
 
FutureDiscover - Class in net.tomp2p.futures
The future that keeps track of network discovery such as discovery if its behind a NAT, the status if UPNP or NAT-PMP could be established, if there is portforwarding.
FutureDiscover() - Constructor for class net.tomp2p.futures.FutureDiscover
Constructor.
futureDiscover() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
futureDiscover(FutureDiscover) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
FutureDone<K> - Class in net.tomp2p.futures
A generic future that can be used to set a future to complete with an attachement.
FutureDone() - Constructor for class net.tomp2p.futures.FutureDone
Creates a new future for the shutdown operation.
FutureForkJoin<K extends BaseFuture> - Class in net.tomp2p.futures
The key future for recursive loops.
FutureForkJoin(AtomicReferenceArray<K>) - Constructor for class net.tomp2p.futures.FutureForkJoin
Facade if we expect everything to return successfully.
FutureForkJoin(int, boolean, AtomicReferenceArray<K>) - Constructor for class net.tomp2p.futures.FutureForkJoin
Create a future fork join object.
FutureGet - Class in net.tomp2p.futures
The future object for put() operations including routing.
FutureGet(DHTBuilder<?>) - Constructor for class net.tomp2p.futures.FutureGet
Default constructor.
FutureGet(DHTBuilder<?>, int, EvaluatingSchemeDHT) - Constructor for class net.tomp2p.futures.FutureGet
Creates a new DHT future object that keeps track of the status of the DHT operations.
FutureLateJoin<K extends BaseFuture> - Class in net.tomp2p.futures
FutureLateJoin is similar to FutureForkJoin.
FutureLateJoin(int) - Constructor for class net.tomp2p.futures.FutureLateJoin
Create this future and set the minSuccess to the number of expected futures.
FutureLateJoin(int, int) - Constructor for class net.tomp2p.futures.FutureLateJoin
Create this future.
FutureLaterJoin<K extends BaseFuture> - Class in net.tomp2p.futures
FutureLaterJoin is similar to FutureLateJoin.
FutureLaterJoin() - Constructor for class net.tomp2p.futures.FutureLaterJoin
Create this future.
FuturePeerConnection - Class in net.tomp2p.futures
 
FuturePeerConnection(PeerAddress) - Constructor for class net.tomp2p.futures.FuturePeerConnection
 
FutureProgres<K> - Class in net.tomp2p.futures
A generic future that can be used to set a future to complete with an attachement.
FutureProgres() - Constructor for class net.tomp2p.futures.FutureProgres
Creates a new future for the shutdown operation.
FuturePut - Class in net.tomp2p.futures
The future object for put() operations including routing.
FuturePut(DHTBuilder<?>, int, int) - Constructor for class net.tomp2p.futures.FuturePut
Creates a new DHT future object that keeps track of the status of the DHT operations.
FutureRemove - Class in net.tomp2p.futures
The future object for put() operations including routing.
FutureRemove(DHTBuilder<?>) - Constructor for class net.tomp2p.futures.FutureRemove
 
FutureRemove(DHTBuilder<?>, int) - Constructor for class net.tomp2p.futures.FutureRemove
Default constructor.
FutureRemove(DHTBuilder<?>, int, EvaluatingSchemeDHT, int) - Constructor for class net.tomp2p.futures.FutureRemove
Creates a new DHT future object that keeps track of the status of the DHT operations.
futureResponse() - Method in class net.tomp2p.connection.RequestHandler
 
FutureResponse - Class in net.tomp2p.futures
Each response has one request messages.
FutureResponse(Message) - Constructor for class net.tomp2p.futures.FutureResponse
Create the future and set the request message.
FutureResponse(Message, FutureSuccessEvaluator) - Constructor for class net.tomp2p.futures.FutureResponse
Create the future and set the request message.
FutureResponse(Message, ProgressListener) - Constructor for class net.tomp2p.futures.FutureResponse
Create the future and set the request message.
FutureResponse(Message, FutureSuccessEvaluator, ProgressListener) - Constructor for class net.tomp2p.futures.FutureResponse
Create the future and set the request message.
futureResponse(int) - Method in class net.tomp2p.p2p.RoutingMechanism
 
futureResponse(int, FutureResponse) - Method in class net.tomp2p.p2p.RoutingMechanism
 
futureResponses() - Method in class net.tomp2p.p2p.RoutingMechanism
 
FutureRouting - Class in net.tomp2p.futures
The routing future keeps track of the routing process.
FutureRouting() - Constructor for class net.tomp2p.futures.FutureRouting
 
futureRoutingResponse() - Method in class net.tomp2p.p2p.RoutingMechanism
 
FutureRunnable - Interface in net.tomp2p.futures
A future runnable is used for running futures in the background (in a different thread)
FutureSend - Class in net.tomp2p.futures
The future object for put() operations including routing.
FutureSend(DHTBuilder<?>) - Constructor for class net.tomp2p.futures.FutureSend
Default constructor.
FutureSend(DHTBuilder<?>, int, EvaluatingSchemeDHT) - Constructor for class net.tomp2p.futures.FutureSend
Creates a new DHT future object that keeps track of the status of the DHT operations.
FutureShutdown - Class in net.tomp2p.futures
The future object for the shutdown() including routing.
FutureShutdown(DHTBuilder<?>) - Constructor for class net.tomp2p.futures.FutureShutdown
Creates a new future for the shutdown operation.
futuresSubmitted() - Method in class net.tomp2p.futures.FutureLateJoin
 
FutureSuccessEvaluator - Interface in net.tomp2p.futures
Evaluates if a future is a success.
FutureSuccessEvaluatorCommunication - Class in net.tomp2p.futures
The communication future success evaluator returns OK if the communication was successful, otherwise it returns FAILED.
FutureSuccessEvaluatorCommunication() - Constructor for class net.tomp2p.futures.FutureSuccessEvaluatorCommunication
 
FutureSuccessEvaluatorOperation - Class in net.tomp2p.futures
The operation future success evaluator returns OK if the operation was successful, otherwise it returns FAILED.
FutureSuccessEvaluatorOperation() - Constructor for class net.tomp2p.futures.FutureSuccessEvaluatorOperation
 
FutureTask - Class in net.tomp2p.futures
This future keeps track of one or more tasks send to remote peers.
FutureTask() - Constructor for class net.tomp2p.futures.FutureTask
 
FutureTracker - Class in net.tomp2p.futures
This class holds the object for future results from the tracker get() and add().
FutureTracker() - Constructor for class net.tomp2p.futures.FutureTracker
 
FutureTracker(FutureCreate<BaseFuture>) - Constructor for class net.tomp2p.futures.FutureTracker
Create a future object for storing
FutureTracker(EvaluatingSchemeTracker, Set<Number160>) - Constructor for class net.tomp2p.futures.FutureTracker
Create a future object for retrieving.
FutureWrappedBootstrap<K extends BaseFuture> - Class in net.tomp2p.futures
The bootstrap will be a wrapped future, because we need to ping a server first, and if this ping is successful, we can bootstrap.
FutureWrappedBootstrap() - Constructor for class net.tomp2p.futures.FutureWrappedBootstrap
 
FutureWrapper<K extends BaseFuture> - Class in net.tomp2p.futures
Wraps a future into an other future.
FutureWrapper() - Constructor for class net.tomp2p.futures.FutureWrapper
 
FutureWrapper2<K extends BaseFuture,J extends BaseFuture> - Class in net.tomp2p.futures
Wraps a future into an other future.
FutureWrapper2(J) - Constructor for class net.tomp2p.futures.FutureWrapper2
 
FutureWrapper2(K, J) - Constructor for class net.tomp2p.futures.FutureWrapper2
 

G

get(GetBuilder) - Method in class net.tomp2p.p2p.DistributedHashTable
 
get(GetTrackerBuilder) - Method in class net.tomp2p.p2p.DistributedTracker
 
get(Number160) - Method in class net.tomp2p.p2p.Peer
 
get(PeerAddress, GetBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.StorageRPC
 
get(Number640) - Method in interface net.tomp2p.storage.Storage
 
get(Number640) - Method in class net.tomp2p.storage.StorageLayer
 
get(Number640, Number640, int, boolean) - Method in class net.tomp2p.storage.StorageLayer
 
get() - Method in class net.tomp2p.storage.StorageLayer
 
get(Number640, Number640, SimpleBloomFilter<Number160>, SimpleBloomFilter<Number160>, int, boolean, boolean) - Method in class net.tomp2p.storage.StorageLayer
 
get(Number640) - Method in class net.tomp2p.storage.StorageMemory
 
get(Object) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
getAbortCause() - Method in exception net.tomp2p.connection.PeerException
 
getAll() - Method in class net.tomp2p.peers.PeerMap
Return all addresses from the neighbor list.
getAllIdleTimeInMillis() - Method in class net.tomp2p.connection.HeartBeat
Return the allIdleTime that was given when instance this class in milliseconds.
getAllIdleTimeInMillis() - Method in class net.tomp2p.connection.IdleStateHandlerTomP2P
Return the allIdleTime that was given when instance this class in milliseconds.
getAllOverflow() - Method in class net.tomp2p.peers.PeerMap
Return all addresses from the overflow / non-verified list.
getAssociatedHandler(Message) - Method in class net.tomp2p.connection.Dispatcher
Checks if we have a handler for the given message.
getAtLeastEntriesFromTrackers() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getAtLeastSucessfulRequestes() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getAttachement() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
getAvgGap() - Method in class net.tomp2p.p2p.Statistics
 
getAvgStoredKeys() - Method in class net.tomp2p.futures.FuturePut
 
getAvgStoredKeys() - Method in class net.tomp2p.futures.FutureRemove
 
getBitSet() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Returns the bitset that backs the bloom filter.
getBloomFilter(int) - Method in class net.tomp2p.message.Message
 
getBloomFilter() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
getBloomFilterList() - Method in class net.tomp2p.message.Message
 
getBoolean(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBootstrapTo() - Method in interface net.tomp2p.futures.FutureBootstrap
Returns the Peers we bootstrapped in no particular order.
getBootstrapTo() - Method in class net.tomp2p.futures.FutureWrappedBootstrap
Returns a list of of peers that were involved in the bootstrapping.
getBootstrapTo() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
getBroadcastRPC() - Method in class net.tomp2p.p2p.Peer
 
getBuffer() - Method in class net.tomp2p.futures.FutureDirect
 
getBuffer(int) - Method in class net.tomp2p.message.Message
 
getBuffer() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
getBuffer() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
getBuffer() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
 
getBufferList() - Method in class net.tomp2p.message.Message
 
GetBuilder - Class in net.tomp2p.p2p.builder
 
GetBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.GetBuilder
 
getByte(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBytes(int, ByteBuf) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBytes(int, ByteBuf, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBytes(int, ByteBuf, int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBytes(int, byte[]) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBytes(int, byte[], int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBytes(int, ByteBuffer) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBytes(int, OutputStream, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getBytes(int, GatheringByteChannel, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getChannelBuffer() - Method in class net.tomp2p.futures.FutureSend
Return the data from send_direct (Netty buffer) after evaluation.
getChannelCreator() - Method in class net.tomp2p.futures.FutureChannelCreator
 
getChar(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getCommand() - Method in class net.tomp2p.message.Message
Command of the message, such as GET, PING, etc.
getCompleted() - Method in class net.tomp2p.futures.FutureForkJoin
Returns a list of evaluated futures.
getConnection() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
getConnectionBean() - Method in class net.tomp2p.p2p.Peer
 
getConnectTimeoutMillis() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
getContentBloomFilter() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
getContentBloomFilter() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
getContentBloomFilter() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getContentDigest() - Method in class net.tomp2p.rpc.DigestInfo
 
getContentKey() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
getContentKey() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
getContentKey() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getContentKey() - Method in class net.tomp2p.peers.Number480
 
getContentKey() - Method in class net.tomp2p.peers.Number640
 
getContentKeyBloomFilter(BloomfilterFactory) - Method in class net.tomp2p.rpc.DigestInfo
 
getContentTypes() - Method in class net.tomp2p.message.Message
Return content types.
getCreated() - Method in class net.tomp2p.peers.PeerStatatistic
 
getData() - Method in class net.tomp2p.futures.FutureGet
 
getData() - Method in class net.tomp2p.p2p.builder.AddBuilder
 
getData() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
getData() - Method in class net.tomp2p.storage.HashData
 
getDataMap() - Method in class net.tomp2p.futures.FutureAsyncTask
 
getDataMap() - Method in class net.tomp2p.futures.FutureGet
Return the data from get() after evaluation.
getDataMap() - Method in class net.tomp2p.futures.FutureRemove
Return the data from get() after evaluation.
getDataMap(int) - Method in class net.tomp2p.message.Message
 
getDataMap() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
getDataMapContent() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
getDataMapList() - Method in class net.tomp2p.message.Message
 
getDataSet() - Method in class net.tomp2p.p2p.builder.AddBuilder
 
getDefaultDirectReplication() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
getDefaultPEX() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
getDigest() - Method in class net.tomp2p.futures.FutureDigest
Return the digest information from the get() after evaluation.
getDigests() - Method in class net.tomp2p.rpc.DigestInfo
 
getDirectDataRPC() - Method in class net.tomp2p.p2p.Peer
 
getDirectHits() - Method in class net.tomp2p.futures.FutureRouting
The direct hits set contains those peers that reported to have the key (Number160) we were looking for.
getDirectHitsDigest() - Method in class net.tomp2p.futures.FutureRouting
The direct hits map contains those peers that reported to have the key (Number160) we were looking for including its digest (size of the result set and its xored hashes).
getDirectTrackers() - Method in class net.tomp2p.futures.FutureTracker
 
getDiscoverTimeoutSec() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
getDistributedHashMap() - Method in class net.tomp2p.p2p.Peer
 
getDistributedRouting() - Method in class net.tomp2p.p2p.Peer
 
getDistributedTracker() - Method in class net.tomp2p.p2p.Peer
 
getDomainKey() - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
getDomainKey() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
getDomainKey() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getDomainKey() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
getDomainKey() - Method in class net.tomp2p.peers.Number320
 
getDomainKey() - Method in class net.tomp2p.peers.Number480
 
getDomainKey() - Method in class net.tomp2p.peers.Number640
 
getDomainKeyBloomFilter(BloomfilterFactory) - Method in class net.tomp2p.rpc.DigestInfo
 
getDouble(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getEstimatedNumberOfNodes() - Method in class net.tomp2p.p2p.Statistics
 
getEvalKeys() - Method in class net.tomp2p.futures.FutureRemove
Returns the keys that have been stored or removed after evaluation.
getEvaluatingScheme() - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
getEvaluationScheme() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
getEvaluationScheme() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
getExpectedElements() - Method in class net.tomp2p.rpc.CountingBloomFilter
Returns the expected elements that was provided by the user.
getExpectedElements() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Returns the expected elements that was provided by the user.
getFailedReason() - Method in interface net.tomp2p.futures.BaseFuture
The default failed reason is Unknown.
getFailedReason() - Method in class net.tomp2p.futures.BaseFutureImpl
 
getFailedReason() - Method in class net.tomp2p.futures.FutureForkJoin
 
getFailedReason() - Method in class net.tomp2p.futures.FutureRouting
 
getFailureCount() - Method in class net.tomp2p.futures.FutureTask
 
getFloat(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getFromTracker(PeerAddress, GetTrackerBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.TrackerRPC
 
getFutureChannelCreator() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
getFutureChannelCreator() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
getFutureChannelCreator() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
getFutureCreate() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
getFutureRequests() - Method in class net.tomp2p.futures.FutureDHT
Returns back those futures that are still running.
getFutureRouting() - Method in class net.tomp2p.futures.FutureDHT
Returns the future object that was used for the routing.
getFuturesDone() - Method in class net.tomp2p.futures.FutureLateJoin
Returns the finished futures.
getFuturesDone() - Method in class net.tomp2p.futures.FutureLaterJoin
Returns the finished futures.
getHash() - Method in class net.tomp2p.storage.HashData
 
getId() - Method in class net.tomp2p.message.MessageID
 
getIdleTCPMillis() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
getIdleUDPMillis() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
getInetAddress() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
getInetAddress() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
getInetAddress() - Method in class net.tomp2p.peers.PeerAddress
Returns the address or null if no address set.
getInetAddress() - Method in class net.tomp2p.peers.PeerSocketAddress
 
getInt(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getInteger(int) - Method in class net.tomp2p.message.Message
 
getIntegerList() - Method in class net.tomp2p.message.Message
 
getIntervalMillis() - Method in class net.tomp2p.p2p.MaintenanceTask
 
getIntSet() - Method in class net.tomp2p.rpc.CountingBloomFilter
Returns the bitset that backs the bloom filter
getKey(int) - Method in class net.tomp2p.message.Message
 
getKeyBloomFilter() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
getKeyBloomFilter() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
getKeyBloomFilter() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getKeyCollection(int) - Method in class net.tomp2p.message.Message
 
getKeyCollectionList() - Method in class net.tomp2p.message.Message
 
getKeyDigest() - Method in class net.tomp2p.rpc.DigestInfo
 
getKeyList() - Method in class net.tomp2p.message.Message
 
getKeyMap640Keys(int) - Method in class net.tomp2p.message.Message
 
getKeyMapByte(int) - Method in class net.tomp2p.message.Message
 
getKeyMapByteList() - Method in class net.tomp2p.message.Message
 
getKeyMapKeys640List() - Method in class net.tomp2p.message.Message
 
getKeyPair() - Method in class net.tomp2p.connection.PeerBean
 
getKnownPeers() - Method in class net.tomp2p.futures.FutureTracker
 
getKnownPeers() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
getLast() - Method in class net.tomp2p.futures.FutureForkJoin
Returns the last evaluated future.
getLast(List<K>) - Static method in class net.tomp2p.utils.Utils
 
getLastSeenOnline() - Method in class net.tomp2p.peers.PeerStatatistic
 
getLastSuceessFuture() - Method in class net.tomp2p.futures.FutureLateJoin
 
getLastSuceessFuture() - Method in class net.tomp2p.futures.FutureLaterJoin
 
getLocationKey() - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
getLocationKey() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
getLocationKey() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getLocationKey() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
getLocationKey() - Method in class net.tomp2p.peers.Number320
 
getLocationKey() - Method in class net.tomp2p.peers.Number480
 
getLocationKey() - Method in class net.tomp2p.peers.Number640
 
getLocationKeyBloomFilter(BloomfilterFactory) - Method in class net.tomp2p.rpc.DigestInfo
 
getLockNumber160() - Method in class net.tomp2p.storage.StorageLayer
 
getLockNumber320() - Method in class net.tomp2p.storage.StorageLayer
 
getLockNumber480() - Method in class net.tomp2p.storage.StorageLayer
 
getLockStorage() - Method in class net.tomp2p.storage.StorageLayer
 
getLong(int) - Method in class net.tomp2p.message.Message
 
getLong(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getLongList() - Method in class net.tomp2p.message.Message
 
getMaxCreating() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
getMaxDirectHits() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
number of direct hits to stop at
getMaxDirectHits() - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getMaxDirectHits() - Method in class net.tomp2p.p2p.RoutingMechanism
 
getMaxFailure() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
getMaxFailure() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getMaxFailures() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getMaxFailures() - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getMaxFailures() - Method in class net.tomp2p.p2p.RoutingMechanism
 
getMaxFullTrackers() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getMaxNoNewInfo() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getMaxNoNewInfo(int) - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getMaxNoNewInfo() - Method in class net.tomp2p.p2p.RoutingMechanism
 
getMaxNoNewInfoDiff() - Method in class net.tomp2p.p2p.RoutingConfiguration
This returns the difference to the min value of P2P configuration.
getMaxOpenConnection() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
getMaxPrimaryTrackers() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getMaxSuccess() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getMaxSuccess() - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getMaxSucess() - Method in class net.tomp2p.p2p.RoutingMechanism
 
getMedium(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getMessageId() - Method in class net.tomp2p.message.Message
Randomly generated message ID.
getMinimumResults() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
getNeighborRPC() - Method in class net.tomp2p.p2p.Peer
 
getNeighbors(Number160, int) - Method in class net.tomp2p.rpc.NeighborRPC
TODO: explain why protected method here.
getNeighborsSet(int) - Method in class net.tomp2p.message.Message
 
getNeighborsSetList() - Method in class net.tomp2p.message.Message
 
getNext() - Method in class net.tomp2p.futures.FutureProgres
 
getNodeAddress() - Method in class net.tomp2p.message.MessageID
 
getNr() - Method in enum net.tomp2p.rpc.RPC.Commands
 
getObject() - Method in class net.tomp2p.futures.FutureDone
 
getObject() - Method in class net.tomp2p.futures.FutureProgres
 
getObject() - Method in class net.tomp2p.futures.FutureSend
Return the data from send_direct (Object) after evaluation.
getObject() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
getObject() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
getObject() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
 
getOffset() - Method in class net.tomp2p.peers.PeerSocketAddress
 
getOperation() - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
getOptions() - Method in class net.tomp2p.message.Message
 
getOptions() - Method in class net.tomp2p.peers.PeerAddress
 
getP2PID() - Method in class net.tomp2p.p2p.Peer
 
getParallel() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
getParallel() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
getParallel() - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getParallel() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getParallelDiff() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
getPeerAddress() - Method in class net.tomp2p.futures.FutureDiscover
The peerAddress where we are reachable.
getPeerAddress() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
getPeerAddress() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
getPeerAddress() - Method in class net.tomp2p.p2p.Peer
 
getPeerAddress() - Method in class net.tomp2p.peers.PeerStatatistic
 
getPeerAddress() - Method in class net.tomp2p.storage.IdentityManagement
 
getPeerAddresses() - Method in class net.tomp2p.message.TrackerData
 
getPeerBean() - Method in class net.tomp2p.p2p.Peer
 
getPeerExchangeRPC() - Method in class net.tomp2p.p2p.Peer
 
getPeerID() - Method in class net.tomp2p.p2p.Peer
 
getPeerId() - Method in class net.tomp2p.peers.PeerAddress
The id of the peer.
getPeerSocketAddresses() - Method in class net.tomp2p.message.Message
 
getPeerSocketAddresses() - Method in class net.tomp2p.peers.PeerAddress
 
getPeersOnTracker() - Method in class net.tomp2p.futures.FutureTracker
 
getPexWaitSec() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
getPort() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
getPortTCP() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
getPortUDP() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
getPotentialHits() - Method in class net.tomp2p.futures.FutureRouting
The potential hits set contains those peers that are in the direct hit and that did report to *not* have the key (Number160) we were looking for.
getPotentialTrackers() - Method in class net.tomp2p.futures.FutureTracker
 
getPrimanyFactor() - Method in class net.tomp2p.storage.TrackerStorage
 
getPrivateKey() - Method in class net.tomp2p.message.Message
 
getProtectionDomainEnable() - Method in class net.tomp2p.storage.StorageLayer
 
getProtectionDomainMode() - Method in class net.tomp2p.storage.StorageLayer
 
getProtectionEntryEnable() - Method in class net.tomp2p.storage.StorageLayer
 
getProtectionEntryMode() - Method in class net.tomp2p.storage.StorageLayer
 
getPublicKey(int) - Method in class net.tomp2p.message.Message
 
getPublicKeyList() - Method in class net.tomp2p.message.Message
 
getQueue() - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
getQuitRPC() - Method in class net.tomp2p.p2p.Peer
 
getRawData() - Method in class net.tomp2p.futures.FutureGet
Returns the raw data from the get operation.
getRawData() - Method in class net.tomp2p.futures.FutureRemove
Returns the raw data from the get operation.
getRawDataMap() - Method in class net.tomp2p.futures.FutureTask
 
getRawDigest() - Method in class net.tomp2p.futures.FutureDigest
 
getRawDirectData1() - Method in class net.tomp2p.futures.FutureSend
Return raw data from send_dircet (Netty buffer).
getRawDirectData2() - Method in class net.tomp2p.futures.FutureSend
Return raw data from send_dircet (Object).
getRawKeys() - Method in class net.tomp2p.futures.FutureRemove
Returns the raw keys from the storage or removal operation.
getRawPeersOnTracker() - Method in class net.tomp2p.futures.FutureTracker
 
getRawResult() - Method in class net.tomp2p.futures.FuturePut
Returns the raw result from the storage or removal operation.
getRecipient() - Method in class net.tomp2p.message.Message
The ID of the recipient.
getRecipient() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
getReferrer() - Method in class net.tomp2p.message.TrackerData
 
getRelays() - Method in class net.tomp2p.peers.PeerAddress
 
getRemotePeer() - Method in class net.tomp2p.futures.FutureAsyncTask
 
getReplicationFactor() - Method in class net.tomp2p.p2p.Replication
 
getReplicationTracker() - Method in class net.tomp2p.connection.PeerBean
 
getReporter() - Method in class net.tomp2p.futures.FutureDiscover
 
getRequest() - Method in class net.tomp2p.futures.FutureResponse
The future response always keeps a reference to the request.
getRequestP2PConfiguration() - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
getRequestP2PConfiguration() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
getRequestP2PConfiguration() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
getResponse() - Method in class net.tomp2p.futures.FutureResponse
Returns the response message.
getResult() - Method in class net.tomp2p.futures.FuturePut
Returns the keys that have been stored or removed after evaluation.
getResult() - Method in class net.tomp2p.futures.FutureRemove
Returns the keys that have been stored or removed after evaluation.
getRoutingConfiguration() - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
getRoutingConfiguration() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
getRoutingConfiguration() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
getRoutingConfiguration() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
getRoutingPath() - Method in class net.tomp2p.futures.FutureRouting
Returns the peers that have been asked to provide neighbor information.
getSecondaryFactor() - Method in class net.tomp2p.storage.TrackerStorage
 
getSelf() - Method in class net.tomp2p.storage.IdentityManagement
 
getSender() - Method in class net.tomp2p.message.Message
The ID of the sender.
getShort(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getSize() - Method in class net.tomp2p.rpc.DigestInfo
 
getStoreRPC() - Method in class net.tomp2p.p2p.Peer
 
getSuccessCount() - Method in class net.tomp2p.futures.FutureTask
 
getSuccessCounter() - Method in class net.tomp2p.futures.FutureForkJoin
Returns the number of successful finished futures.
getSuccessfullyChecked() - Method in class net.tomp2p.peers.PeerStatatistic
 
getTcpPort() - Method in class net.tomp2p.peers.PeerSocketAddress
 
getTracker(Number160) - Method in class net.tomp2p.p2p.Peer
 
GetTrackerBuilder - Class in net.tomp2p.p2p.builder
 
GetTrackerBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.GetTrackerBuilder
 
getTrackerConfiguration() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
getTrackerData(int) - Method in class net.tomp2p.message.Message
 
getTrackerDataList() - Method in class net.tomp2p.message.Message
 
getTrackerRPC() - Method in class net.tomp2p.p2p.Peer
 
getTrackers() - Method in class net.tomp2p.futures.FutureTracker
Evaluates the data from the trackers.
getTrackerTimeoutSec() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
getTrackerTimoutSeconds() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
getTrackerTimoutSeconds() - Method in class net.tomp2p.storage.TrackerStorage
 
getType() - Method in interface net.tomp2p.futures.BaseFuture
If the type is not OK, then something unexpected happened.
getType() - Method in class net.tomp2p.futures.BaseFutureImpl
 
getType() - Method in class net.tomp2p.message.Message
Determines if its a request oCommandr reply, and what kind of reply (error, warning states).
getUdpPort() - Method in class net.tomp2p.peers.PeerSocketAddress
 
getUnsignedByte(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getUnsignedInt(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getUnsignedMedium(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getUnsignedShort(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
getVersion() - Method in class net.tomp2p.message.Message
Returns the version, which is 32bit.
getVersionKey() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
getVersionKey() - Method in class net.tomp2p.peers.Number640
 
getVersionKeyBloomFilter(BloomfilterFactory) - Method in class net.tomp2p.rpc.DigestInfo
 
getWrappedFuture() - Method in class net.tomp2p.futures.FutureWrapper
 

H

handlerAdded(ChannelHandlerContext) - Method in class net.tomp2p.connection.HeartBeat
 
handlerAdded(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandlerTomP2P
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.BroadcastRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.DirectDataRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.DispatchHandler
If the message is OK, that has been previously checked by the user using checkMessage, a reply to the message is generated here.
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.NeighborRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.PeerExchangeRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.PingRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.QuitRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.StorageRPC
 
handleResponse(Message, PeerConnection, boolean, Responder) - Method in class net.tomp2p.rpc.TrackerRPC
 
handlerRemoved(ChannelHandlerContext) - Method in class net.tomp2p.connection.HeartBeat
 
handlerRemoved(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandlerTomP2P
 
hasArray() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
hasContent() - Method in class net.tomp2p.message.Message
 
hasContent(boolean) - Method in class net.tomp2p.message.Message
 
hash() - Method in class net.tomp2p.storage.Data
 
hash(PublicKey) - Static method in class net.tomp2p.utils.Utils
 
hashCode() - Method in class net.tomp2p.message.Buffer
 
hashCode() - Method in class net.tomp2p.message.DataMap
 
hashCode() - Method in class net.tomp2p.message.KeyCollection
 
hashCode() - Method in class net.tomp2p.message.KeyMap640Keys
 
hashCode() - Method in class net.tomp2p.message.KeyMapByte
 
hashCode() - Method in class net.tomp2p.message.MessageID
 
hashCode() - Method in class net.tomp2p.peers.Number160
 
hashCode() - Method in class net.tomp2p.peers.Number320
 
hashCode() - Method in class net.tomp2p.peers.Number480
 
hashCode() - Method in class net.tomp2p.peers.Number640
 
hashCode() - Method in class net.tomp2p.peers.PeerAddress
 
hashCode() - Method in class net.tomp2p.peers.PeerSocketAddress
 
hashCode() - Method in class net.tomp2p.rpc.CountingBloomFilter
 
hashCode() - Method in class net.tomp2p.rpc.DigestInfo
 
hashCode() - Method in class net.tomp2p.rpc.DigestResult
 
hashCode() - Method in class net.tomp2p.rpc.SimpleBloomFilter
 
hashCode() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
hashCode() - Method in class net.tomp2p.storage.Data
 
hashCode() - Method in class net.tomp2p.storage.DataBuffer
 
hashCode() - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
hashCode() - Method in class net.tomp2p.utils.Pair
Compute a hash code using the hash codes of the underlying objects
HashData - Class in net.tomp2p.storage
A bean that stores a hash and data.
HashData(Number160, Data) - Constructor for class net.tomp2p.storage.HashData
 
hasMemoryAddress() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
hasObjectDataReply() - Method in class net.tomp2p.rpc.DirectDataRPC
 
hasPublicKey() - Method in class net.tomp2p.storage.Data
 
hasPublicKey(boolean) - Method in class net.tomp2p.storage.Data
 
hasRawDataReply() - Method in class net.tomp2p.rpc.DirectDataRPC
 
HEADER_SIZE - Static variable in class net.tomp2p.message.MessageHeaderCodec
 
HEART_BEAT_MILLIS - Static variable in class net.tomp2p.connection.PeerConnection
 
HeartBeat - Class in net.tomp2p.connection
Striped down version of the IdleStateHandler.
HeartBeat(long, TimeUnit, PingBuilder) - Constructor for class net.tomp2p.connection.HeartBeat
Creates a new instance firing IdleStateEvents.
heartBeatMillis() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
heartBeatMillis(int) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
heartBeatMillis() - Method in class net.tomp2p.connection.PeerConnection
 
hopCounter() - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 
hopCounter(int) - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 

I

IdentityManagement - Class in net.tomp2p.storage
 
IdentityManagement(PeerAddress) - Constructor for class net.tomp2p.storage.IdentityManagement
 
IdleStateHandlerTomP2P - Class in net.tomp2p.connection
Striped down version of the IdleStateHandler.
IdleStateHandlerTomP2P(int) - Constructor for class net.tomp2p.connection.IdleStateHandlerTomP2P
Creates a new instance firing IdleStateEvents.
IdleStateHandlerTomP2P(long, TimeUnit) - Constructor for class net.tomp2p.connection.IdleStateHandlerTomP2P
Creates a new instance firing IdleStateEvents.
idleStateHandlerTomP2P() - Method in class net.tomp2p.connection.TimeoutFactory
 
idleTCPSeconds() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
idleTCPSeconds(int) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
idleTCPSeconds() - Method in interface net.tomp2p.connection.ConnectionConfiguration
 
idleTCPSeconds() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
idleTCPSeconds(int) - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
idleTCPSeconds() - Method in class net.tomp2p.connection.RequestHandler
 
idleTCPSeconds() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
idleTCPSeconds(int) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
idleUDPSeconds() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
idleUDPSeconds(int) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
idleUDPSeconds() - Method in interface net.tomp2p.connection.ConnectionConfiguration
 
idleUDPSeconds() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
idleUDPSeconds(int) - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
idleUDPSeconds() - Method in class net.tomp2p.connection.RequestHandler
 
idleUDPSeconds() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
idleUDPSeconds(int) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
incRead(int) - Method in class net.tomp2p.message.Buffer
 
indexOf(int, int, byte) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
inet4FromBytes(byte[], int) - Static method in class net.tomp2p.utils.Utils
Converts a byte array to a Inet4Address.
inet6FromBytes(byte[], int) - Static method in class net.tomp2p.utils.Utils
Converts a byte array to a Inet6Address.
INET_ADDRESS_KEY - Static variable in class net.tomp2p.message.Decoder
 
inetAddress() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
inetAddress(InetAddress) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
inetSocketAddress(InetAddress, int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
inetSocketAddress(InetAddress, int, int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
init(Peer, ScheduledExecutorService) - Method in class net.tomp2p.p2p.MaintenanceTask
 
init(Peer) - Method in interface net.tomp2p.p2p.PeerInit
 
init(PeerInit) - Method in class net.tomp2p.p2p.PeerMaker
 
init(PeerInit...) - Method in class net.tomp2p.p2p.PeerMaker
 
init(Peer) - Method in class net.tomp2p.p2p.ReplicationExecutor.DefaultReplicationSender
 
init(int) - Method in class net.tomp2p.p2p.ReplicationExecutor
 
init(List<Map<Number160, PeerStatatistic>>, List<Map<Number160, PeerStatatistic>>, ConcurrentCacheMap<Number160, PeerAddress>, ConcurrentCacheMap<Number160, PeerAddress>, ConcurrentCacheMap<Number160, PeerAddress>) - Method in class net.tomp2p.peers.DefaultMaintenance
 
init(List<Map<Number160, PeerStatatistic>>, List<Map<Number160, PeerStatatistic>>, ConcurrentCacheMap<Number160, PeerAddress>, ConcurrentCacheMap<Number160, PeerAddress>, ConcurrentCacheMap<Number160, PeerAddress>) - Method in interface net.tomp2p.peers.Maintenance
Initializes the maintenance class.
init(ScheduledExecutorService, int) - Method in class net.tomp2p.storage.StorageLayer
 
INT_ARRAY_SIZE - Static variable in class net.tomp2p.peers.Number160
 
INTEGER_BYTE_SIZE - Static variable in class net.tomp2p.utils.Utils
 
interfaceBindings(Bindings) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
interfaceBindings() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
interfaceBindings() - Method in class net.tomp2p.p2p.PeerMaker
 
interfaceBindings(Bindings) - Method in class net.tomp2p.p2p.PeerMaker
 
interfaceHints() - Method in class net.tomp2p.connection.Bindings
 
interMediateResponse(FutureResponse) - Method in interface net.tomp2p.p2p.OperationMapper
Whenever a single future is finished, then this method is called.
internalAddress() - Method in class net.tomp2p.futures.FutureDiscover
 
internalNioBuffer(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
intervalMillis() - Method in class net.tomp2p.p2p.PeerMaker
 
intervalMillis(int) - Method in class net.tomp2p.p2p.PeerMaker
 
intToByteArray(int) - Static method in class net.tomp2p.utils.Utils
 
intValue() - Method in class net.tomp2p.peers.Number160
 
intValue() - Method in class net.tomp2p.peers.Number320
 
intValue() - Method in class net.tomp2p.peers.Number480
 
intValue() - Method in class net.tomp2p.peers.Number640
 
IPV4_BYTES - Static variable in class net.tomp2p.utils.Utils
 
IPV6_BYTES - Static variable in class net.tomp2p.utils.Utils
 
isAll() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
isAll() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
isAll() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
isAllPeersReplicate() - Method in class net.tomp2p.p2p.PeerMaker
 
isAscending() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
isAscending() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
isBehindFirewall() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
isBehindFirewall() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
isBehindFirewall() - Method in class net.tomp2p.p2p.PeerMaker
 
isBloomFilterAnd() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
isBloomFilterAnd() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
isBloomFilterIntersect() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
isBootstrap() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
isBroadcast() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
isBroadcast() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
isCancelOnFinish() - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
isCancelOnFinish() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
isCloser(Number160, PeerAddress, PeerAddress) - Static method in class net.tomp2p.peers.PeerMap
Returns -1 if the first remote node is closer to the key, if the second is closer, then 1 is returned.
isCloser(Number160, Number160, Number160) - Static method in class net.tomp2p.peers.PeerMap
Returns -1 if the first key is closer to the key, if the second is closer, then 1 is returned.
isComplete() - Method in class net.tomp2p.message.Buffer
 
isCompleted() - Method in interface net.tomp2p.futures.BaseFuture
Checks if the asynchronous operation is finished.
isCompleted() - Method in class net.tomp2p.futures.BaseFutureImpl
 
isConvert() - Method in class net.tomp2p.message.DataMap
 
isConvert() - Method in class net.tomp2p.message.KeyCollection
 
isConvertMeta() - Method in class net.tomp2p.message.DataMap
 
isDescending() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
isDescending() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
isDirect() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
isDisableBind() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
isDiscoveredTCP() - Method in class net.tomp2p.futures.FutureDiscover
Checks if this peer can be reached via TCP.
isDiscoveredUDP() - Method in class net.tomp2p.futures.FutureDiscover
Checks if this peer can be reached via UDP.
isDomainProtectedByOthers(Number320, PublicKey) - Method in interface net.tomp2p.storage.Storage
 
isDomainProtectedByOthers(Number320, PublicKey) - Method in class net.tomp2p.storage.StorageMemory
 
isDone() - Method in class net.tomp2p.message.Message
 
isEmpty() - Method in class net.tomp2p.rpc.CountingBloomFilter
Not implemented
isEmpty() - Method in class net.tomp2p.rpc.DigestInfo
 
isEmpty() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Not implemented.
isEmpty() - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
isEmpty() - Method in class net.tomp2p.utils.Pair
 
isEnableBroadcast() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableDHT() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableDirectDataRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableHandShakeRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableIndirectReplication() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableMaintenance() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableNeighborRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnablePeerExchangeRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableQuitRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableRouting() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableStorageRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableSynchronizationRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableTask() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableTaskRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableTracker() - Method in class net.tomp2p.p2p.PeerMaker
 
isEnableTrackerRPC() - Method in class net.tomp2p.p2p.PeerMaker
 
isEntryProtectedByOthers(Number480, PublicKey) - Method in interface net.tomp2p.storage.Storage
 
isEntryProtectedByOthers(Number480, PublicKey) - Method in class net.tomp2p.storage.StorageMemory
 
isError() - Method in class net.tomp2p.message.Message
 
isError(Message.Type) - Static method in class net.tomp2p.message.Message
 
isExpectAttachement() - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
isFailed() - Method in interface net.tomp2p.futures.BaseFuture
Checks if operation has failed.
isFailed() - Method in class net.tomp2p.futures.BaseFutureImpl
 
isFillPrimaryStorageFast() - Method in class net.tomp2p.storage.TrackerStorage
 
isFireAndForget() - Method in class net.tomp2p.message.Message
 
isFirewalledTCP() - Method in class net.tomp2p.peers.PeerAddress
 
isFirewalledUDP() - Method in class net.tomp2p.peers.PeerAddress
 
isFlag1() - Method in class net.tomp2p.storage.Data
 
isFlag2() - Method in class net.tomp2p.storage.Data
 
isForceRoutingOnlyToSelf() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
isForceRoutingOnlyToSelf() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
isForceStorageUDP() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
isForceTCP() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
isForceTCP() - Method in interface net.tomp2p.connection.ConnectionConfiguration
 
isForceTCP() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
isForceTCP() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
isForceTCP() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
isForceTCP() - Method in class net.tomp2p.p2p.RoutingConfiguration
 
isForceTCP() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
isForceTrackerTCP() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
isForceUDP() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
isForceUDP() - Method in interface net.tomp2p.connection.ConnectionConfiguration
 
isForceUDP() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
isForceUDP() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
isForceUPD() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
isForceUPD() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
isIPv4() - Method in class net.tomp2p.connection.Bindings
 
isIPv4() - Method in class net.tomp2p.peers.PeerAddress
 
isIPv4() - Method in class net.tomp2p.peers.PeerSocketAddress
 
isIPv6() - Method in class net.tomp2p.connection.Bindings
 
isIPv6() - Method in class net.tomp2p.peers.PeerAddress
 
isKadCloser(Number160, PeerAddress, PeerAddress) - Static method in class net.tomp2p.peers.PeerMap
Returns -1 if the first remote node is closer to the key, if the secondBITS is closer, then 1 is returned.
isKeepAlive() - Method in class net.tomp2p.message.Message
 
isLimitTracker() - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
isList() - Method in class net.tomp2p.p2p.builder.AddBuilder
 
isListenAll() - Method in class net.tomp2p.connection.Bindings
 
isMeta() - Method in class net.tomp2p.storage.Data
 
isMinReached() - Method in class net.tomp2p.futures.FutureDigest
Checks if the minimum of expected results have been reached.
isMinReached() - Method in class net.tomp2p.futures.FutureGet
Checks if the minimum of expected results have been reached.
isMinReached() - Method in class net.tomp2p.futures.FuturePut
Checks if the minimum of expected results have been reached.
isMinReached() - Method in class net.tomp2p.futures.FutureRemove
Checks if the minimum of expected results have been reached.
isMinReached() - Method in class net.tomp2p.futures.FutureSend
Checks if the minimum of expected results have been reached.
isNat() - Method in class net.tomp2p.futures.FutureDiscover
 
isNotOk() - Method in class net.tomp2p.message.Message
 
isOk() - Method in class net.tomp2p.message.Message
 
isOpen() - Method in class net.tomp2p.connection.PeerConnection
 
isPeerRemovedTemporarly(PeerAddress) - Method in class net.tomp2p.peers.PeerMap
Checks if a peer is in the offline map.
isPeerVerification() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
isPrimary() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
isPrimary(FutureResponse) - Static method in class net.tomp2p.rpc.TrackerRPC
 
isProtectDomain() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
isProtectedEntry() - Method in class net.tomp2p.storage.Data
 
isPutIfAbsent() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
isPutMeta() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
isRange() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
isRange() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
isRange() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
isRaw() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
isRaw() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
isRaw() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
 
isReadable() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
isReadable(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
isRelayed() - Method in class net.tomp2p.peers.PeerAddress
 
isReplicationEnabled() - Method in class net.tomp2p.p2p.Replication
Checks if the user enabled replication.
isRequest() - Method in class net.tomp2p.message.Message
 
isReturnBloomFilter() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
isReturnBloomFilter() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
isReturnMetaValues() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
isReturnResults() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
isRoutingToOthers() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
isSameSets(Collection<T>, Collection<T>) - Static method in class net.tomp2p.utils.Utils
Compares if two sets have the exact same elements.
isSecondary(FutureResponse) - Static method in class net.tomp2p.rpc.TrackerRPC
 
isSecondaryTracker(Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
A peer is a secondary tracker if the peers stores itself on the tracker as well.
isSetExternalPortsManually() - Method in class net.tomp2p.connection.Ports
 
isShutdown() - Method in class net.tomp2p.connection.ChannelCreator
 
isShutdown() - Method in class net.tomp2p.p2p.Peer
 
isSign() - Method in class net.tomp2p.message.Message
 
isSign() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
isSign() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
isSign() - Method in interface net.tomp2p.p2p.builder.SignatureBuilder
 
isSign() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
isSign() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
 
isSigned() - Method in class net.tomp2p.storage.Data
 
isStopCreatingNewFutures() - Method in class net.tomp2p.p2p.RoutingMechanism
 
isStreaming() - Method in class net.tomp2p.message.Message
 
isStreaming() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
isSuccess() - Method in interface net.tomp2p.futures.BaseFuture
Returns the opposite of isFailed (returns !isFailed).
isSuccess() - Method in class net.tomp2p.futures.BaseFutureImpl
 
isSuccess() - Method in class net.tomp2p.futures.FuturePut
 
isSuccess() - Method in class net.tomp2p.futures.FutureRemove
 
isSuccessPartially() - Method in class net.tomp2p.futures.FuturePut
 
isTcpPEX() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
isTcpPing() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
isUdp() - Method in class net.tomp2p.message.Message
 
isUDP() - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 
isUrgent(int, int, int) - Method in class net.tomp2p.peers.DefaultMaintenance
Indicates if it is urgent to search for a peer.
isUseSecondaryTrackers() - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
isWritable() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
isWritable(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
isZero() - Method in class net.tomp2p.peers.Number160
Checks if this number is zero.
iterator() - Method in class net.tomp2p.rpc.CountingBloomFilter
Not implemented
iterator() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Not implemented.

K

keyBloomFilter() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
 
KeyCollection - Class in net.tomp2p.message
 
KeyCollection(Number160, Number160, Number160, Collection<Number160>) - Constructor for class net.tomp2p.message.KeyCollection
 
KeyCollection(Collection<Number640>) - Constructor for class net.tomp2p.message.KeyCollection
 
keyDigest() - Method in class net.tomp2p.rpc.DigestResult
 
KeyLock<K> - Class in net.tomp2p.storage
 
KeyLock() - Constructor for class net.tomp2p.storage.KeyLock
 
KeyLock.RefCounterLock - Class in net.tomp2p.storage
 
KeyLock.RefCounterLock(K, KeyLock<K>) - Constructor for class net.tomp2p.storage.KeyLock.RefCounterLock
 
KeyMap640Keys - Class in net.tomp2p.message
 
KeyMap640Keys(NavigableMap<Number640, Set<Number160>>) - Constructor for class net.tomp2p.message.KeyMap640Keys
 
KeyMapByte - Class in net.tomp2p.message
 
KeyMapByte(Map<Number640, Byte>) - Constructor for class net.tomp2p.message.KeyMapByte
 
keyPair() - Method in class net.tomp2p.connection.PeerBean
 
keyPair(KeyPair) - Method in class net.tomp2p.connection.PeerBean
 
keyPair(KeyPair) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
keyPair() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
keyPair(KeyPair) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
keyPair() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
keyPair(KeyPair) - Method in interface net.tomp2p.p2p.builder.SignatureBuilder
 
keyPair() - Method in interface net.tomp2p.p2p.builder.SignatureBuilder
 
keyPair(KeyPair) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
keyPair() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
keyPair() - Method in class net.tomp2p.p2p.PeerMaker
 
keyPair(KeyPair) - Method in class net.tomp2p.p2p.PeerMaker
 
keyPair() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
 
keys() - Method in class net.tomp2p.message.KeyCollection
 
keys() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
keys() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
keys() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
keys(Collection<Number640>) - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
keysConvert() - Method in class net.tomp2p.message.KeyCollection
 
keySet() - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
keysMap() - Method in class net.tomp2p.message.KeyMap640Keys
 
keysMap() - Method in class net.tomp2p.message.KeyMapByte
 

L

lastContent() - Method in class net.tomp2p.message.Decoder
 
lazySign(KeyPair) - Method in class net.tomp2p.storage.Data
 
lazySign(PrivateKey) - Method in class net.tomp2p.storage.Data
 
length() - Method in class net.tomp2p.message.Buffer
 
length() - Method in class net.tomp2p.storage.Data
 
length() - Method in class net.tomp2p.storage.DataBuffer
 
limit(Collection<K>, int) - Static method in class net.tomp2p.utils.Utils
 
limit(TrackerData, int) - Static method in class net.tomp2p.utils.Utils
 
limit(Map<K, V>, int) - Static method in class net.tomp2p.utils.Utils
 
limitRandom(TrackerData, int) - Static method in class net.tomp2p.utils.Utils
 
loadFile(File) - Static method in class net.tomp2p.utils.Utils
 
locationAndDomainKey() - Method in class net.tomp2p.peers.Number640
 
locationDomainAndContentKey() - Method in class net.tomp2p.peers.Number640
 
locationKey() - Method in class net.tomp2p.message.DataMap
 
locationKey() - Method in class net.tomp2p.message.KeyCollection
 
locationKey - Variable in class net.tomp2p.p2p.builder.DHTBuilder
 
locationKey - Variable in class net.tomp2p.p2p.builder.TrackerBuilder
 
locationKey() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
 
lock - Variable in class net.tomp2p.futures.BaseFutureImpl
 
lock(K) - Method in class net.tomp2p.storage.KeyLock
 
log2(int) - Static method in class net.tomp2p.peers.DefaultMaintenance
As seen in: http://stackoverflow.com/questions/3305059/how-do-you-calculate-log-base-2-in-java-for-integers.
LONG_BYTE_SIZE - Static variable in class net.tomp2p.utils.Utils
 
longValue() - Method in class net.tomp2p.peers.Number160
 
longValue() - Method in class net.tomp2p.peers.Number320
 
longValue() - Method in class net.tomp2p.peers.Number480
 
longValue() - Method in class net.tomp2p.peers.Number640
 

M

Maintainable - Interface in net.tomp2p.peers
 
Maintenance - Class in net.tomp2p.p2p
 
Maintenance() - Constructor for class net.tomp2p.p2p.Maintenance
 
Maintenance - Interface in net.tomp2p.peers
Maintenance is important in an iterative P2P network.
maintenance() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
maintenance(Maintenance) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
maintenanceTask(MaintenanceTask) - Method in class net.tomp2p.connection.PeerBean
 
maintenanceTask() - Method in class net.tomp2p.connection.PeerBean
 
MaintenanceTask - Class in net.tomp2p.p2p
 
MaintenanceTask() - Constructor for class net.tomp2p.p2p.MaintenanceTask
 
maintenanceTask() - Method in class net.tomp2p.p2p.PeerMaker
 
maintenanceTask(MaintenanceTask) - Method in class net.tomp2p.p2p.PeerMaker
 
makeAndListen() - Method in class net.tomp2p.p2p.PeerMaker
Create a peer and start to listen for incoming connections.
makeMD5Hash(byte[]) - Static method in class net.tomp2p.utils.Utils
It returns MD5 hash for the buffer.
makeMD5Hash(byte[], int, int) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(File) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(String) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(ByteBuffer) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(ByteBuf) - Static method in class net.tomp2p.utils.Utils
Calculates the SHA-1 hash of the Netty byte buffer.
makeSHAHash(DataBuffer) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(byte[]) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(byte[], int, int) - Static method in class net.tomp2p.utils.Utils
 
map() - Method in class net.tomp2p.message.TrackerData
 
map() - Method in interface net.tomp2p.storage.Storage
 
map() - Method in class net.tomp2p.storage.StorageMemory
 
markReaderIndex() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
markWriterIndex() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
MASK_0F - Static variable in class net.tomp2p.utils.Utils
 
MASK_80 - Static variable in class net.tomp2p.utils.Utils
 
MASK_FF - Static variable in class net.tomp2p.utils.Utils
 
masterPeer() - Method in class net.tomp2p.p2p.PeerMaker
 
masterPeer(Peer) - Method in class net.tomp2p.p2p.PeerMaker
 
max() - Method in class net.tomp2p.peers.Number320
 
MAX_ENTRIES - Static variable in class net.tomp2p.utils.ConcurrentCacheMap
Max.
MAX_MSG_SIZE_UDP - Static variable in class net.tomp2p.rpc.TrackerRPC
 
MAX_PORT - Static variable in class net.tomp2p.connection.Ports
 
MAX_RELAYS - Static variable in class net.tomp2p.peers.PeerAddress
 
MAX_SIZE - Static variable in class net.tomp2p.peers.PeerAddress
 
MAX_VALUE - Static variable in class net.tomp2p.peers.Number160
 
maxCapacity() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
maxContentKey() - Method in class net.tomp2p.peers.Number640
 
maxPermitsPermanentTCP() - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
maxPermitsPermanentTCP(int) - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
maxPermitsTCP() - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
maxPermitsTCP(int) - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
maxPermitsUDP() - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
maxPermitsUDP(int) - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
maxTCPIncomingConnections() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
maxTCPIncomingConnections(int) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
maxUDPIncomingConnections() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
maxUDPIncomingConnections(int) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
maxVersionKey() - Method in class net.tomp2p.peers.Number640
 
maxWritableBytes() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
memoryAddress() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
meResponsible(Number160) - Method in class net.tomp2p.p2p.ReplicationExecutor
 
meResponsible(Number160, PeerAddress) - Method in class net.tomp2p.p2p.ReplicationExecutor
 
meResponsible(Number160) - Method in interface net.tomp2p.p2p.ResponsibilityListener
The responsibilty changed to our peer.
meResponsible(Number160, PeerAddress) - Method in interface net.tomp2p.p2p.ResponsibilityListener
 
meResponsible(Number160) - Method in class net.tomp2p.p2p.TrackerStorageReplication
 
meResponsible(Number160, PeerAddress) - Method in class net.tomp2p.p2p.TrackerStorageReplication
 
merge(SimpleBloomFilter<E>) - Method in class net.tomp2p.rpc.SimpleBloomFilter
 
meshPeers(Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
message() - Method in class net.tomp2p.message.Decoder
 
message() - Method in class net.tomp2p.message.Encoder
 
Message - Class in net.tomp2p.message
The message is in binary format in TomP2P.
Message() - Constructor for class net.tomp2p.message.Message
Creates message with a random ID.
Message.Content - Enum in net.tomp2p.message
8 x 4 bit.
Message.Type - Enum in net.tomp2p.message
1 x 4 bit.
MessageHeaderCodec - Class in net.tomp2p.message
Encodes and decodes the header using a Netty Buffer.
MessageID - Class in net.tomp2p.message
A message ID consists of the message id, which is created randomly and the nodeaddress.
MessageID(Message) - Constructor for class net.tomp2p.message.MessageID
Creates a message Id.
messageKey() - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 
meta(boolean) - Method in class net.tomp2p.storage.Data
 
min() - Method in class net.tomp2p.peers.Number320
 
MIN_DYN_PORT - Static variable in class net.tomp2p.connection.Ports
 
MIN_SIZE - Static variable in class net.tomp2p.peers.PeerAddress
 
minContentKey() - Method in class net.tomp2p.peers.Number640
 
minVersionKey() - Method in class net.tomp2p.peers.Number640
 
moveFromSecondaryToMesh(PeerAddress, PeerAddress, Number160, Number160, PublicKey) - Method in class net.tomp2p.storage.TrackerStorage
 
MultiByteBufferInputStream - Class in net.tomp2p.utils
Used to decode Java objects from channel buffers.
MultiByteBufferInputStream(ByteBuf) - Constructor for class net.tomp2p.utils.MultiByteBufferInputStream
Create a stream from a channel buffer.

N

needMaintenance(PeerStatatistic) - Method in class net.tomp2p.peers.DefaultMaintenance
Indicates if a peer needs a maintenance check.
NEIGHBOR_LIMIT - Static variable in class net.tomp2p.rpc.NeighborRPC
 
NEIGHBOR_SIZE - Static variable in class net.tomp2p.rpc.NeighborRPC
 
neighborLimit() - Method in class net.tomp2p.message.NeighborSet
 
NeighborRPC - Class in net.tomp2p.rpc
Handles the neighbor requests and replies.
NeighborRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.NeighborRPC
 
NeighborRPC(PeerBean, ConnectionBean, boolean) - Constructor for class net.tomp2p.rpc.NeighborRPC
Setup the RPC and register for incoming messages.
NeighborRPC.SearchValues - Class in net.tomp2p.rpc
The search values for fast get.
NeighborRPC.SearchValues(Number160, Number160) - Constructor for class net.tomp2p.rpc.NeighborRPC.SearchValues
Searches for all content keys.
NeighborRPC.SearchValues(Number160, Number160, Number160) - Constructor for class net.tomp2p.rpc.NeighborRPC.SearchValues
Searches for one content key.
NeighborRPC.SearchValues(Number160, Number160, Number640, Number640) - Constructor for class net.tomp2p.rpc.NeighborRPC.SearchValues
 
NeighborRPC.SearchValues(Number160, Number160, SimpleBloomFilter<Number160>) - Constructor for class net.tomp2p.rpc.NeighborRPC.SearchValues
Searches for multiple content keys.
NeighborRPC.SearchValues(Number160, Number160, SimpleBloomFilter<Number160>, SimpleBloomFilter<Number160>) - Constructor for class net.tomp2p.rpc.NeighborRPC.SearchValues
Searches for content key and values with a bloom filter.
neighbors() - Method in class net.tomp2p.message.NeighborSet
 
NeighborSet - Class in net.tomp2p.message
 
NeighborSet(int) - Constructor for class net.tomp2p.message.NeighborSet
 
NeighborSet(int, Collection<PeerAddress>) - Constructor for class net.tomp2p.message.NeighborSet
 
net.tomp2p.connection - package net.tomp2p.connection
 
net.tomp2p.futures - package net.tomp2p.futures
 
net.tomp2p.message - package net.tomp2p.message
 
net.tomp2p.p2p - package net.tomp2p.p2p
 
net.tomp2p.p2p.builder - package net.tomp2p.p2p.builder
 
net.tomp2p.peers - package net.tomp2p.peers
 
net.tomp2p.rpc - package net.tomp2p.rpc
 
net.tomp2p.storage - package net.tomp2p.storage
 
net.tomp2p.utils - package net.tomp2p.utils
 
nextForMaintenance(Collection<PeerAddress>) - Method in class net.tomp2p.peers.DefaultMaintenance
Finds the next peer that should have a maintenance check.
nextForMaintenance(Collection<PeerAddress>) - Method in interface net.tomp2p.peers.Maintainable
 
nextForMaintenance(Collection<PeerAddress>) - Method in interface net.tomp2p.peers.Maintenance
 
nextForMaintenance(Collection<PeerAddress>) - Method in class net.tomp2p.peers.PeerMap
Finds the next peer that should have a maintenance check.
nioBuffer() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
nioBuffer(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
nioBufferCount() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
nioBuffers() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
nioBuffers(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
not() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Invert the bloom filter
notifyAutomaticFutures(BaseFuture) - Method in class net.tomp2p.p2p.builder.PingBuilder
 
notifyAutomaticFutures(BaseFuture) - Method in class net.tomp2p.p2p.Peer
 
notifyListeners() - Method in class net.tomp2p.futures.BaseFutureImpl
Always call this from outside synchronized(lock)!
nrNoNewInfo() - Method in class net.tomp2p.p2p.RoutingMechanism
 
nullCheck(Object...) - Static method in class net.tomp2p.utils.Utils
 
nullCheckRetVal(Object...) - Static method in class net.tomp2p.utils.Utils
 
number() - Method in class net.tomp2p.message.NumberType
 
number1() - Method in class net.tomp2p.message.DSASignatureCodec
 
Number160 - Class in net.tomp2p.peers
This class represents a 160 bit number.
Number160() - Constructor for class net.tomp2p.peers.Number160
Create a Key with value 0.
Number160(int...) - Constructor for class net.tomp2p.peers.Number160
Create an instance with an integer array.
Number160(String) - Constructor for class net.tomp2p.peers.Number160
Create a Key from a string.
Number160(int) - Constructor for class net.tomp2p.peers.Number160
Creates a Key with the integer value.
Number160(long) - Constructor for class net.tomp2p.peers.Number160
Creates a Key with the long value.
Number160(byte[]) - Constructor for class net.tomp2p.peers.Number160
Creates a new Key using the byte array.
Number160(byte[], int, int) - Constructor for class net.tomp2p.peers.Number160
Creates a new Key using the byte array.
Number160(Random) - Constructor for class net.tomp2p.peers.Number160
Creates a new Key with random values in it.
Number160(long, Number160) - Constructor for class net.tomp2p.peers.Number160
Creates a new key with a long for the first 64bits, and using the lower 96bits for the rest.
number2() - Method in class net.tomp2p.message.DSASignatureCodec
 
Number320 - Class in net.tomp2p.peers
This class stores the location and domain key.
Number320(Number160, Number160) - Constructor for class net.tomp2p.peers.Number320
Constructor with a given location key and domain key.
Number480 - Class in net.tomp2p.peers
This class stores the location, domain, and content key.
Number480(Number160, Number160, Number160) - Constructor for class net.tomp2p.peers.Number480
Constructor with a given location key, domain, and content key.
Number480(Number320, Number160) - Constructor for class net.tomp2p.peers.Number480
Constructor with a given location key, domain, and content key.
Number480(Random) - Constructor for class net.tomp2p.peers.Number480
Constructor that creates a random 480bit number.
Number640 - Class in net.tomp2p.peers
This class stores the location, domain, and content key.
Number640(Number160, Number160, Number160, Number160) - Constructor for class net.tomp2p.peers.Number640
Constructor with a given location key, domain, and content key.
Number640(Number480, Number160) - Constructor for class net.tomp2p.peers.Number640
Constructor with a given location key, domain, and content key.
Number640(Number320, Number160, Number160) - Constructor for class net.tomp2p.peers.Number640
 
Number640(Random) - Constructor for class net.tomp2p.peers.Number640
Constructor that creates a random 480bit number.
number96() - Method in class net.tomp2p.peers.Number160
 
NumberType - Class in net.tomp2p.message
 
NumberType(int, Message.Content) - Constructor for class net.tomp2p.message.NumberType
 

O

object() - Method in class net.tomp2p.futures.FutureDirect
 
object() - Method in class net.tomp2p.message.Buffer
 
object() - Method in class net.tomp2p.storage.Data
 
ObjectDataReply - Interface in net.tomp2p.rpc
Similar to RawDataReply, but we convert the raw byte buffer to an object.
offlineCount() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
offlineCount(int) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
offlineTimeout() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
offlineTimeout(int) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
offset() - Method in class net.tomp2p.peers.PeerAddress
When deserializing, we need to know how much we deserialized from the constructor call.
ONE - Static variable in class net.tomp2p.peers.Number160
 
onlineTime() - Method in class net.tomp2p.peers.PeerStatatistic
 
operationComplete(F) - Method in interface net.tomp2p.futures.BaseFutureListener
Invoked when the operation associated with the BaseFuture has been completed.
OperationMapper<K extends FutureDHT<?>> - Interface in net.tomp2p.p2p
The operations that create many RPC.
order() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
order(ByteOrder) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
otherResponsible(Number160, PeerAddress, boolean) - Method in class net.tomp2p.p2p.ReplicationExecutor
 
otherResponsible(Number160, PeerAddress, boolean) - Method in interface net.tomp2p.p2p.ResponsibilityListener
Here an other peer is responsible and we need to transfer data.
otherResponsible(Number160, PeerAddress, boolean) - Method in class net.tomp2p.p2p.TrackerStorageReplication
 

P

p2pId() - Method in class net.tomp2p.connection.ConnectionBean
 
p2pId() - Method in class net.tomp2p.p2p.PeerMaker
 
p2pId(int) - Method in class net.tomp2p.p2p.PeerMaker
 
Pair<K,V> - Class in net.tomp2p.utils
 
Pair(K, V) - Constructor for class net.tomp2p.utils.Pair
 
parallel() - Method in class net.tomp2p.p2p.RoutingMechanism
 
parallelRequest(Number160) - Method in class net.tomp2p.p2p.Peer
 
ParallelRequestBuilder<K extends FutureDHT<?>> - Class in net.tomp2p.p2p.builder
 
ParallelRequestBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
parallelRequests(RequestP2PConfiguration, NavigableSet<PeerAddress>, boolean, FutureChannelCreator, OperationMapper<K>, K) - Static method in class net.tomp2p.p2p.DistributedHashTable
Creates RPCs and executes them parallel.
peer - Variable in class net.tomp2p.p2p.builder.DHTBuilder
 
peer - Variable in class net.tomp2p.p2p.builder.TrackerBuilder
 
Peer - Class in net.tomp2p.p2p
This is the main class to start DHT operations.
PEER_ADDRESS_KEY - Static variable in class net.tomp2p.message.Decoder
 
peerAddress() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
peerAddress(PeerAddress) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
PeerAddress - Class in net.tomp2p.peers
A PeerAddress contains the node ID and how to contact this node using both TCP and UDP.
PeerAddress(byte[]) - Constructor for class net.tomp2p.peers.PeerAddress
Creates a new peeraddress, where the byte array has to be in the rigth format and in the right size.
PeerAddress(byte[], int) - Constructor for class net.tomp2p.peers.PeerAddress
Creates a PeerAddress from a continuous byte array.
PeerAddress(ByteBuf) - Constructor for class net.tomp2p.peers.PeerAddress
Creates a PeerAddress from a Netty ByteBuf.
PeerAddress(Number160) - Constructor for class net.tomp2p.peers.PeerAddress
If you only need to know the id.
PeerAddress(Number160, InetAddress) - Constructor for class net.tomp2p.peers.PeerAddress
If you only need to know the id and InetAddress.
PeerAddress(Number160, PeerSocketAddress, boolean, boolean, boolean, Collection<PeerSocketAddress>) - Constructor for class net.tomp2p.peers.PeerAddress
Creates a PeerAddress if all the values are known.
PeerAddress(Number160, InetAddress, int, int) - Constructor for class net.tomp2p.peers.PeerAddress
Facade for #PeerAddress(Number160, InetAddress, int, int, boolean, boolean, PeerSocketAddress[]).
PeerAddress(Number160, String, int, int) - Constructor for class net.tomp2p.peers.PeerAddress
Facade for #PeerAddress(Number160, InetAddress, int, int, boolean, boolean, PeerSocketAddress[]).
PeerAddress(Number160, InetSocketAddress) - Constructor for class net.tomp2p.peers.PeerAddress
Facade for #PeerAddress(Number160, InetAddress, int, int, boolean, boolean, PeerSocketAddress[]).
PeerAddress(Number160, InetAddress, int, int, int) - Constructor for class net.tomp2p.peers.PeerAddress
Facade for #PeerAddress(Number160, InetAddress, int, int, boolean, boolean, PeerSocketAddress[]).
peerAddressToAnnounce() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
peerAddressToAnnounce(PeerAddress) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
PeerBean - Class in net.tomp2p.connection
A bean that holds non-sharable (unique for each peer) configuration settings for the peer.
PeerBean(KeyPair) - Constructor for class net.tomp2p.connection.PeerBean
Creates a bean with a key pair.
peerBean() - Method in class net.tomp2p.connection.PeerCreator
 
peerBean() - Method in class net.tomp2p.connection.RequestHandler
 
peerBean() - Method in class net.tomp2p.rpc.DispatchHandler
 
peerConnection() - Method in class net.tomp2p.connection.HeartBeat
 
peerConnection(PeerConnection) - Method in class net.tomp2p.connection.HeartBeat
 
PeerConnection - Class in net.tomp2p.connection
 
PeerConnection(PeerAddress, ChannelCreator, int) - Constructor for class net.tomp2p.connection.PeerConnection
If we don't have an open TCP connection, we first need a channel creator to open a channel.
PeerConnection(PeerAddress, ChannelFuture, int) - Constructor for class net.tomp2p.connection.PeerConnection
If we already have an open TCP connection, we don't need a channel creator
peerConnection() - Method in class net.tomp2p.futures.FuturePeerConnection
 
peerConnection(PeerConnection) - Method in class net.tomp2p.p2p.builder.PingBuilder
 
peerConnection() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
peerConnection() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
peerConnection(PeerConnection) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
PeerCreator - Class in net.tomp2p.connection
Creates a peer and listens to incoming connections.
PeerCreator(int, Number160, KeyPair, ChannelServerConficuration, ChannelClientConfiguration, PeerStatusListener[], ScheduledExecutorService) - Constructor for class net.tomp2p.connection.PeerCreator
Creates a master peer and starts UPD and TCP channels.
PeerCreator(PeerCreator, Number160, KeyPair) - Constructor for class net.tomp2p.connection.PeerCreator
Creates a slave peer that will attach itself to a master peer.
PeerException - Exception in net.tomp2p.connection
This exception is used internally and passed over to the method exceptionCaught.
PeerException(PeerException.AbortCause, String) - Constructor for exception net.tomp2p.connection.PeerException
Specified error with custom message.
PeerException.AbortCause - Enum in net.tomp2p.connection
USER_ABORT means that this peer aborts the communication.
peerExchange(PeerAddress, Number160, Number160, boolean, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PeerExchangeRPC
Peer exchange (PEX) information about other peers from the swarm, to not ask the primary trackers too often.
PeerExchangeRPC - Class in net.tomp2p.rpc
 
PeerExchangeRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.PeerExchangeRPC
Create a PEX handler that sends message using fire and forget.
peerFailed(PeerAddress, PeerStatusListener.FailReason) - Method in class net.tomp2p.peers.PeerMap
Remove a peer from the list.
peerFailed(PeerAddress, PeerStatusListener.FailReason) - Method in interface net.tomp2p.peers.PeerStatusListener
Called if the peer does not send answer in time.
peerFailed(PeerAddress, PeerStatusListener.FailReason) - Method in class net.tomp2p.storage.IdentityManagement
 
peerFailed(PeerAddress, PeerStatusListener.FailReason) - Method in class net.tomp2p.storage.TrackerStorage
 
PeerFilter - Interface in net.tomp2p.peers
A filter that can prevent peers from being stored in the map.
peerFilters() - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
peerFilters() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
peerFilters(Collection<PeerFilter>) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
peerFilters() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
peerFilters() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
peerFilters() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
peerFound(PeerAddress, PeerAddress) - Method in class net.tomp2p.peers.PeerMap
Adds a neighbor to the neighbor list.
peerFound(PeerAddress, PeerAddress) - Method in interface net.tomp2p.peers.PeerStatusListener
Called if the peer is online and who reported it.
peerFound(PeerAddress, PeerAddress) - Method in class net.tomp2p.storage.IdentityManagement
 
peerFound(PeerAddress, PeerAddress) - Method in class net.tomp2p.storage.TrackerStorage
 
peerId() - Method in class net.tomp2p.p2p.PeerMaker
 
PeerInit - Interface in net.tomp2p.p2p
 
peerInserted(PeerAddress, boolean) - Method in class net.tomp2p.p2p.Replication
 
peerInserted(PeerAddress, boolean) - Method in interface net.tomp2p.peers.PeerMapChangeListener
This method is called if a peer is added to the map.
PeerIPFilter - Class in net.tomp2p.peers
Filter peers if the IP is the same.
PeerIPFilter(int, int) - Constructor for class net.tomp2p.peers.PeerIPFilter
 
PeerMaker - Class in net.tomp2p.p2p
The maker / builder of a Peer class.
PeerMaker(Number160) - Constructor for class net.tomp2p.p2p.PeerMaker
Creates a peermaker with the peer ID and an empty key pair.
PeerMaker(KeyPair) - Constructor for class net.tomp2p.p2p.PeerMaker
Creates a peermaker with the key pair and generates out of this key pair the peer ID.
PeerMaker.DefaultPipelineFilter - Class in net.tomp2p.p2p
The default filter is no filter, just return the same array.
PeerMaker.DefaultPipelineFilter() - Constructor for class net.tomp2p.p2p.PeerMaker.DefaultPipelineFilter
 
PeerMaker.EventExecutorGroupFilter - Class in net.tomp2p.p2p
A pipeline filter that executes handlers in a thread.
PeerMaker.EventExecutorGroupFilter(EventExecutorGroup) - Constructor for class net.tomp2p.p2p.PeerMaker.EventExecutorGroupFilter
 
peerMap() - Method in class net.tomp2p.connection.PeerBean
 
peerMap(PeerMap) - Method in class net.tomp2p.connection.PeerBean
 
peerMap() - Method in class net.tomp2p.p2p.DistributedRouting
 
peerMap() - Method in class net.tomp2p.p2p.PeerMaker
 
peerMap(PeerMap) - Method in class net.tomp2p.p2p.PeerMaker
 
PeerMap - Class in net.tomp2p.peers
This routing implementation uses is based on Kademlia.
PeerMap(PeerMapConfiguration) - Constructor for class net.tomp2p.peers.PeerMap
Creates the bag for the peers.
PeerMapChangeListener - Interface in net.tomp2p.peers
This interface can be added to the map, to get notified of peer insertion or removal.
PeerMapConfiguration - Class in net.tomp2p.peers
The class that holds configuration settings for the PeerMap.
PeerMapConfiguration(Number160) - Constructor for class net.tomp2p.peers.PeerMapConfiguration
Constructor with reasonable defaults.
peerMapOverflow() - Method in class net.tomp2p.peers.PeerMap
 
peerMapVerified() - Method in class net.tomp2p.peers.PeerMap
 
peerNoVerification() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
PeerReachable - Interface in net.tomp2p.p2p
Use this interface to notify if a peer is reachable from the outside.
PeerReceivedBroadcastPing - Interface in net.tomp2p.p2p
Use this interface to notify if a peer received a broadcast ping.
peerRemoved(PeerAddress, PeerStatatistic) - Method in class net.tomp2p.p2p.Replication
 
peerRemoved(PeerAddress, PeerStatatistic) - Method in interface net.tomp2p.peers.PeerMapChangeListener
This method is called if a peer is removed from the map.
peerSocketAddress() - Method in class net.tomp2p.peers.PeerAddress
 
PeerSocketAddress - Class in net.tomp2p.peers
A PeerSocketAddress includes always both ports, UDP and TCP.
PeerSocketAddress(InetAddress, int, int) - Constructor for class net.tomp2p.peers.PeerSocketAddress
Creates a new PeerSocketAddress including both UDP and TCP ports.
PeerSocketAddress(InetAddress, int, int, int) - Constructor for class net.tomp2p.peers.PeerSocketAddress
Creates a new PeerSocketAddress including both UDP and TCP ports.
PeerStatatistic - Class in net.tomp2p.peers
Keeps track of the statistics of a given peer.
PeerStatatistic(PeerAddress) - Constructor for class net.tomp2p.peers.PeerStatatistic
Constructor.
PeerStatRoutingFilter - Class in net.tomp2p.peers
The default filter accepts all peers.
PeerStatRoutingFilter(Statistics, int) - Constructor for class net.tomp2p.peers.PeerStatRoutingFilter
 
PeerStatusListener - Interface in net.tomp2p.peers
All classes that are interested if a new peer was discovered or a peer died (that means all classes that store peer addresses) should implement this interface and add itself as a listener.
PeerStatusListener.FailReason - Enum in net.tomp2p.peers
The reasons why a peer can fail.
peerStatusListeners() - Method in class net.tomp2p.connection.PeerBean
 
peerStatusListeners(PeerStatusListener[]) - Method in class net.tomp2p.connection.PeerBean
 
peerStatusListeners() - Method in class net.tomp2p.p2p.PeerMaker
 
peerStatusListeners(PeerStatusListener[]) - Method in class net.tomp2p.p2p.PeerMaker
 
peerUpdated(PeerAddress, PeerStatatistic) - Method in class net.tomp2p.p2p.Replication
 
peerUpdated(PeerAddress, PeerStatatistic) - Method in interface net.tomp2p.peers.PeerMapChangeListener
This method is called if a peer is updated.
peerVerification(boolean) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
peerWellConnected(PeerAddress, PeerAddress, boolean) - Method in interface net.tomp2p.p2p.PeerReachable
Call this method when other peers can reach our peer from outside.
pendingRequests() - Method in class net.tomp2p.connection.Reservation
 
ping() - Method in interface net.tomp2p.connection.PingFactory
 
ping(InetSocketAddress) - Method in class net.tomp2p.p2p.builder.PingBuilder
Pings a peer.
ping(InetSocketAddress, Number160, boolean) - Method in class net.tomp2p.p2p.builder.PingBuilder
Pings a peer.
ping(PeerAddress, boolean) - Method in class net.tomp2p.p2p.builder.PingBuilder
Pings a peer.
ping() - Method in class net.tomp2p.p2p.Peer
 
ping(PeerAddress, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping with UDP or TCP, but do not send yet.
pingBroadcastUDP(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a UDP peer using layer 2 broadcast.
pingBuilder() - Method in class net.tomp2p.connection.Sender
 
pingBuilder(PingBuilder) - Method in class net.tomp2p.connection.Sender
 
PingBuilder - Class in net.tomp2p.p2p.builder
 
PingBuilder(Peer) - Constructor for class net.tomp2p.p2p.builder.PingBuilder
 
PingFactory - Interface in net.tomp2p.connection
 
pingPeerConnection(PeerConnection) - Method in class net.tomp2p.p2p.builder.PingBuilder
 
pingRPC() - Method in class net.tomp2p.p2p.Peer
 
pingRPC(PingRPC) - Method in class net.tomp2p.p2p.Peer
 
PingRPC - Class in net.tomp2p.rpc
The Ping message handler.
PingRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.PingRPC
Creates an new handshake RPC with listeners.
pingTCP(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a TCP peer.
pingTCPDiscover(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a TCP peer, and find out how the other peer sees us.
pingTCPProbe(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a TCP peer, and request the other peer to ping us on our public address with a fire and forget message.
pingUDP(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a UDP peer.
pingUDPDiscover(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a UDP peer, and find out how the other peer sees us.
pingUDPProbe(PeerAddress, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.PingRPC
Ping a UDP peer, and request the other peer to ping us on our public address with a fire and forget message.
pipelineFilter() - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
pipelineFilter(PipelineFilter) - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
pipelineFilter() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
pipelineFilter(PipelineFilter) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
PipelineFilter - Interface in net.tomp2p.connection
The user may modify the filter by adding, removing, or changing the handlers.
pollFirstInQueueToAsk() - Method in class net.tomp2p.p2p.RoutingMechanism
 
pollRandom(Collection<K>, Random) - Static method in class net.tomp2p.utils.Utils
Returns a random element from a collection.
pollRandomInQueueToAsk(Random) - Method in class net.tomp2p.p2p.RoutingMechanism
 
pollRandomKey(Map<K, V>, Random) - Static method in class net.tomp2p.utils.Utils
 
ports() - Method in class net.tomp2p.connection.ChannelServer
 
ports() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
ports(Ports) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
Ports - Class in net.tomp2p.connection
Store port information.
Ports() - Constructor for class net.tomp2p.connection.Ports
Creates random ports for TCP and UDP.
Ports(int, int) - Constructor for class net.tomp2p.connection.Ports
Creates a Binding class that binds to a specified protocol and provides information about manual port forwarding.
ports(int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
ports(int) - Method in class net.tomp2p.p2p.PeerMaker
 
portTCP() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
portTCP(int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
portUDP() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
portUDP(int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
potentialHits(NavigableSet<PeerAddress>) - Method in class net.tomp2p.p2p.RoutingMechanism
 
potentialHits() - Method in class net.tomp2p.p2p.RoutingMechanism
 
preBuild(String) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
preBuild(String) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
prepareFinish() - Method in class net.tomp2p.message.Decoder
 
presetContentTypes(boolean) - Method in class net.tomp2p.message.Message
If we are setting values from the decoder, then the content type is already set.
privateKey() - Method in class net.tomp2p.storage.Data
 
progres() - Method in interface net.tomp2p.connection.ProgresHandler
 
ProgresHandler - Interface in net.tomp2p.connection
 
progress() - Method in class net.tomp2p.futures.FutureResponse
This will be called by the user, when the user provides more data.
progress(Message) - Method in class net.tomp2p.futures.FutureResponse
This will be called by the TomP2P library when a partial message is ready.
progress(Message) - Method in interface net.tomp2p.futures.ProgressListener
 
progressFirst() - Method in class net.tomp2p.futures.FutureResponse
Do not call this directly, as this is called from the TomP2P library.
ProgressListener - Interface in net.tomp2p.futures
 
progressListener(ProgressListener) - Method in class net.tomp2p.p2p.builder.SendBuilder
 
progressListener() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
progressListener(ProgressListener) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
progressListener() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
progressListener() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
 
protectDomain(Number320, PublicKey) - Method in interface net.tomp2p.storage.Storage
 
protectDomain(Number320, PublicKey) - Method in class net.tomp2p.storage.StorageMemory
 
protectedEntry(boolean) - Method in class net.tomp2p.storage.Data
 
protectEntry(Number480, PublicKey) - Method in interface net.tomp2p.storage.Storage
 
protectEntry(Number480, PublicKey) - Method in class net.tomp2p.storage.StorageMemory
 
protocolHint() - Method in class net.tomp2p.connection.Bindings
 
publicKey() - Method in class net.tomp2p.storage.Data
 
publicKey(PublicKey) - Method in class net.tomp2p.storage.Data
 
put(Number640, Set<Number160>) - Method in class net.tomp2p.message.KeyMap640Keys
 
put(Number640, Byte) - Method in class net.tomp2p.message.KeyMapByte
 
put(PeerAddress, Data) - Method in class net.tomp2p.message.TrackerData
 
put(PutBuilder) - Method in class net.tomp2p.p2p.DistributedHashTable
 
put(Number160) - Method in class net.tomp2p.p2p.Peer
 
put(Number640, Set<Number160>) - Method in class net.tomp2p.rpc.DigestInfo
Stores a key and the hash of the content for further processing.
put(PeerAddress, PutBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.StorageRPC
Stores data on a remote peer.
put(Number640, Data) - Method in interface net.tomp2p.storage.Storage
 
put(Number640, Data, PublicKey, boolean, boolean) - Method in class net.tomp2p.storage.StorageLayer
 
put(Number640, Data) - Method in class net.tomp2p.storage.StorageMemory
 
put(Number160, Number160, PeerAddress, PublicKey, Data) - Method in class net.tomp2p.storage.TrackerStorage
 
put(K, V) - Method in class net.tomp2p.utils.CacheMap
 
put(K, V) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
putAll(Map<? extends K, ? extends V>) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
PutBuilder - Class in net.tomp2p.p2p.builder
 
PutBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.PutBuilder
 
putIfAbsent(PeerAddress, PutBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.StorageRPC
Stores data on a remote peer.
putIfAbsent(K, V) - Method in class net.tomp2p.utils.CacheMap
If the key is not associated with a value, associate it with the value.
putIfAbsent(K, V) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
putMeta(boolean) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
putMeta() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
putMeta(PeerAddress, PutBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.StorageRPC
 
putReferred(Number160, Number160, PeerAddress, PeerAddress, Data, TrackerStorage.ReferrerType) - Method in class net.tomp2p.storage.TrackerStorage
 

Q

queueToAsk(NavigableSet<PeerAddress>) - Method in class net.tomp2p.p2p.RoutingMechanism
 
queueToAsk() - Method in class net.tomp2p.p2p.RoutingMechanism
 
quit(ShutdownBuilder) - Method in class net.tomp2p.p2p.DistributedHashTable
Send a friendly shutdown message to your close neighbors.
quit(PeerAddress, ShutdownBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.QuitRPC
Sends a message that indicates this peer is about to quit.
QuitRPC - Class in net.tomp2p.rpc
This Quit RPC is used to send friendly shutdown messages by peers that are shutdown regularly.
QuitRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.QuitRPC
Constructor that registers this RPC with the message handler.

R

random(Random) - Method in class net.tomp2p.p2p.builder.AddBuilder
 
random() - Method in class net.tomp2p.p2p.builder.AddBuilder
 
random() - Method in class net.tomp2p.p2p.PeerMaker
 
random(Random) - Method in class net.tomp2p.p2p.PeerMaker
 
RawDataReply - Interface in net.tomp2p.rpc
The interface for receiving raw data and sending raw data back.
read(ByteBuf) - Method in class net.tomp2p.message.DSASignatureCodec
 
read(ByteBuf) - Method in interface net.tomp2p.message.SignatureCodec
 
read() - Method in class net.tomp2p.utils.MultiByteBufferInputStream
 
read(byte[], int, int) - Method in class net.tomp2p.utils.MultiByteBufferInputStream
 
readable() - Method in class net.tomp2p.message.Buffer
 
readableBytes() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBoolean() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readByte() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(ByteBuf) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(ByteBuf, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(ByteBuf, int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(byte[]) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(byte[], int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(ByteBuffer) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(OutputStream, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readBytes(GatheringByteChannel, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readChar() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readDouble() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readerIndex() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readerIndex(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readFloat() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readInt() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readLong() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readMedium() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readShort() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readSlice(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readUnsignedByte() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readUnsignedInt() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readUnsignedMedium() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
readUnsignedShort() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
reason - Variable in class net.tomp2p.futures.BaseFutureImpl
 
REASON_CANCEL - Static variable in class net.tomp2p.p2p.DistributedHashTable
 
REASON_UNKOWN - Static variable in class net.tomp2p.p2p.DistributedHashTable
 
receive(Message) - Method in interface net.tomp2p.p2p.BroadcastHandler
This method is called when a peer receives a broadcast message request.
receive(Message) - Method in class net.tomp2p.p2p.DefaultBroadcastHandler
 
receivedSignature(SignatureCodec) - Method in class net.tomp2p.message.Message
 
receivedSignature() - Method in class net.tomp2p.message.Message
 
recipientSocket(InetSocketAddress) - Method in class net.tomp2p.message.Message
Store the recipient of the packet.
recipientSocket() - Method in class net.tomp2p.message.Message
 
refCnt() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
register(int...) - Method in class net.tomp2p.rpc.DispatchHandler
 
registerIoHandler(Number160, DispatchHandler, int...) - Method in class net.tomp2p.connection.Dispatcher
Registers a handler with this dispatcher.
reject(PeerAddress, Collection<PeerAddress>, Number160) - Method in class net.tomp2p.peers.DefaultPeerFilter
 
reject(PeerAddress, Collection<PeerAddress>, Number160) - Method in interface net.tomp2p.peers.PeerFilter
Each peer that is added in the map runs through this filter.
reject(PeerAddress, Collection<PeerAddress>, Number160) - Method in class net.tomp2p.peers.PeerIPFilter
 
reject(PeerAddress, Collection<PeerAddress>, Number160) - Method in class net.tomp2p.peers.PeerStatRoutingFilter
 
RelaySender - Interface in net.tomp2p.connection
 
release() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
release(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
remotePeer() - Method in class net.tomp2p.connection.PeerConnection
 
remotePeer() - Method in class net.tomp2p.futures.FuturePeerConnection
 
remotePeer() - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 
remove(Number160) - Method in class net.tomp2p.message.TrackerData
 
remove(RemoveBuilder) - Method in class net.tomp2p.p2p.DistributedHashTable
 
remove(Number160) - Method in class net.tomp2p.p2p.Peer
 
remove(Object) - Method in class net.tomp2p.rpc.CountingBloomFilter
Not implemented
remove(Object) - Method in class net.tomp2p.rpc.SimpleBloomFilter
Not implemented.
remove(PeerAddress, RemoveBuilder, ChannelCreator) - Method in class net.tomp2p.rpc.StorageRPC
Removes data from a peer.
remove(Number640, boolean) - Method in interface net.tomp2p.storage.Storage
 
remove(Number640, Number640, boolean) - Method in interface net.tomp2p.storage.Storage
 
remove(Number640, PublicKey, boolean) - Method in class net.tomp2p.storage.StorageLayer
 
remove(Number640, boolean) - Method in class net.tomp2p.storage.StorageMemory
 
remove(Number640, Number640, boolean) - Method in class net.tomp2p.storage.StorageMemory
 
remove(Object) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
remove(Object, Object) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
removeActive(Number160, Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
removeAll(Collection<?>) - Method in class net.tomp2p.rpc.CountingBloomFilter
Not implemented
removeAll(Collection<?>) - Method in class net.tomp2p.rpc.SimpleBloomFilter
Not implemented.
RemoveBuilder - Class in net.tomp2p.p2p.builder
 
RemoveBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.RemoveBuilder
 
removeCancel(Cancel) - Method in interface net.tomp2p.futures.BaseFuture
Removes a cancel listener to this future.
removeCancel(Cancel) - Method in class net.tomp2p.futures.BaseFutureImpl
 
removeDomainProtection(Number160) - Method in class net.tomp2p.storage.StorageLayer
 
removeEldestEntry(Map.Entry<K, V>) - Method in class net.tomp2p.utils.CacheMap
 
removeIoHandler(Number160) - Method in class net.tomp2p.connection.Dispatcher
If we shutdown, we remove the handlers.
removeListener(BaseFutureListener<? extends BaseFuture>) - Method in interface net.tomp2p.futures.BaseFuture
Removes a listener which is notified when the state of this future changes.
removeListener(BaseFutureListener<? extends BaseFuture>) - Method in class net.tomp2p.futures.BaseFutureImpl
 
removePeerMapChangeListener(PeerMapChangeListener) - Method in class net.tomp2p.peers.PeerMap
Remove a map change listener.
removePeerReachableListener(PeerReachable) - Method in class net.tomp2p.rpc.PingRPC
 
removePeerReceivedBroadcastPingListener(PeerReceivedBroadcastPing) - Method in class net.tomp2p.rpc.PingRPC
 
removeReferred(Number160, Number160, Number160, PeerAddress) - Method in class net.tomp2p.storage.TrackerStorage
 
removeResponsibility(Number160) - Method in interface net.tomp2p.storage.Storage
 
removeResponsibility(Number160) - Method in class net.tomp2p.storage.StorageMemory
 
removeResponsibility(Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
removeResponsibilityListener(ResponsibilityListener) - Method in class net.tomp2p.p2p.Replication
Remove a responsibility listener.
removeReturnData(Number640, Number640, PublicKey) - Method in class net.tomp2p.storage.StorageLayer
 
removeReturnStatus(Number640, Number640, PublicKey) - Method in class net.tomp2p.storage.StorageLayer
 
removeShutdownListener(Shutdown) - Method in class net.tomp2p.p2p.Peer
 
removeTimeout(ChannelHandlerContext) - Static method in class net.tomp2p.connection.TimeoutFactory
 
removeTimeout(Number640) - Method in interface net.tomp2p.storage.Storage
 
removeTimeout(Number640) - Method in class net.tomp2p.storage.StorageMemory
 
repeated(K) - Method in interface net.tomp2p.futures.FutureCreate
Called if a future has been created without user interaction
repeated(BaseFuture) - Method in class net.tomp2p.futures.FutureTracker
Called if a future is created based on this future.
replace(K, V, V) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
replace(K, V) - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
Replication - Class in net.tomp2p.p2p
This class has 3 methods that are called from outside eventes: check, peerInsert, peerRemoved.
Replication(StorageLayer, PeerAddress, PeerMap, int) - Constructor for class net.tomp2p.p2p.Replication
Constructor.
replicationExecutor() - Method in class net.tomp2p.connection.PeerBean
 
replicationExecutor(ReplicationExecutor) - Method in class net.tomp2p.connection.PeerBean
 
replicationExecutor() - Method in class net.tomp2p.p2p.PeerMaker
 
replicationExecutor(ReplicationExecutor) - Method in class net.tomp2p.p2p.PeerMaker
 
ReplicationExecutor - Class in net.tomp2p.p2p
This implements the default indirect replication.
ReplicationExecutor(Peer, ReplicationFactor, ReplicationSender, Random, ScheduledExecutorService, int, boolean) - Constructor for class net.tomp2p.p2p.ReplicationExecutor
Constructor for the default indirect replication.
ReplicationExecutor.DefaultReplicationSender - Class in net.tomp2p.p2p
 
ReplicationExecutor.DefaultReplicationSender() - Constructor for class net.tomp2p.p2p.ReplicationExecutor.DefaultReplicationSender
 
replicationFactor() - Method in class net.tomp2p.p2p.PeerMaker
 
replicationFactor(ReplicationFactor) - Method in class net.tomp2p.p2p.PeerMaker
 
ReplicationFactor - Interface in net.tomp2p.p2p
 
replicationFactor() - Method in interface net.tomp2p.p2p.ReplicationFactor
 
replicationSender() - Method in class net.tomp2p.p2p.PeerMaker
 
replicationSender(ReplicationSender) - Method in class net.tomp2p.p2p.PeerMaker
 
ReplicationSender - Interface in net.tomp2p.p2p
 
replicationStorage(Replication) - Method in class net.tomp2p.connection.PeerBean
Set the replication class that stores who is responsible for what.
replicationStorage() - Method in class net.tomp2p.connection.PeerBean
 
replicationTracker(Replication) - Method in class net.tomp2p.connection.PeerBean
 
reply(PeerAddress, Object) - Method in interface net.tomp2p.rpc.ObjectDataReply
Replies to a direct message from a peer.
reply(PeerAddress, Buffer, boolean) - Method in interface net.tomp2p.rpc.RawDataReply
Replies to a direct message from a peer.
report(PeerAddress, boolean) - Method in class net.tomp2p.futures.FutureShutdown
Report the intermediate status.
RequestHandler<K extends FutureResponse> - Class in net.tomp2p.connection
Is able to send UDP messages (as a request) and processes incoming replies.
RequestHandler(K, PeerBean, ConnectionBean, ConnectionConfiguration) - Constructor for class net.tomp2p.connection.RequestHandler
Create a request handler that can send UDP messages.
requestP2PConfiguration - Variable in class net.tomp2p.p2p.builder.DHTBuilder
 
RequestP2PConfiguration - Class in net.tomp2p.p2p
This name was chosen over P2PConfiguration, as it already exists.
RequestP2PConfiguration(int, int, int) - Constructor for class net.tomp2p.p2p.RequestP2PConfiguration
 
RequestP2PConfiguration(int, int, int, boolean, boolean) - Constructor for class net.tomp2p.p2p.RequestP2PConfiguration
Sets the P2P/DHT configuration and its stop conditions.
reservation() - Method in class net.tomp2p.connection.ConnectionBean
 
Reservation - Class in net.tomp2p.connection
Reserves a block of connections.
Reservation(EventLoopGroup, ChannelClientConfiguration) - Constructor for class net.tomp2p.connection.Reservation
Creates a new reservation class with the 3 permits.
reserved(ChannelCreator) - Method in class net.tomp2p.futures.FutureChannelCreator
Called if a channel creator could be created.
reset() - Method in class net.tomp2p.message.Buffer
 
reset() - Method in class net.tomp2p.message.CountConnectionOutboundHandler
 
reset() - Method in class net.tomp2p.message.Encoder
 
resetAlreadyTransferred() - Method in class net.tomp2p.storage.Data
 
resetAlreadyTransferred() - Method in class net.tomp2p.storage.DataBuffer
 
resetReaderIndex() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
resetWriterIndex() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
resourceConfiguration() - Method in class net.tomp2p.connection.ConnectionBean
 
Responder - Interface in net.tomp2p.connection
 
response(Message) - Method in class net.tomp2p.connection.Dispatcher.DirectResponder
 
response(Message) - Method in interface net.tomp2p.connection.Responder
 
response(K) - Method in interface net.tomp2p.p2p.OperationMapper
If the response over all futures arrived (all that were created with OperationMapper.create(ChannelCreator, PeerAddress) ).
responseFireAndForget() - Method in class net.tomp2p.connection.Dispatcher.DirectResponder
 
responseFireAndForget() - Method in interface net.tomp2p.connection.Responder
 
ResponsibilityListener - Interface in net.tomp2p.p2p
 
responsibleDomains(Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
restoreContentReferences() - Method in class net.tomp2p.message.Message
Restore the content references if only the content types array is present.
retain(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
retain() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
retainAll(Collection<?>) - Method in class net.tomp2p.rpc.CountingBloomFilter
Not implemented
retainAll(Collection<?>) - Method in class net.tomp2p.rpc.SimpleBloomFilter
Not implemented.
returnBloomFilter(boolean) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
returnBloomFilter() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
returnBloomFilter(boolean) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
returnBloomFilter() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
returnMetaValues(boolean) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
returnMetaValues() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
returnNr(int) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
returnNr() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
returnNr(int) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
returnNr() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
returnResults(boolean) - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
route(RoutingBuilder, Message.Type, ChannelCreator) - Method in class net.tomp2p.p2p.DistributedRouting
Looks for a route to the given locationKey.
RoutingBuilder - Class in net.tomp2p.p2p.builder
 
RoutingBuilder() - Constructor for class net.tomp2p.p2p.builder.RoutingBuilder
 
routingConfiguration - Variable in class net.tomp2p.p2p.builder.DHTBuilder
 
routingConfiguration - Variable in class net.tomp2p.p2p.builder.TrackerBuilder
 
RoutingConfiguration - Class in net.tomp2p.p2p
 
RoutingConfiguration(int, int, int) - Constructor for class net.tomp2p.p2p.RoutingConfiguration
 
RoutingConfiguration(int, int, int, int) - Constructor for class net.tomp2p.p2p.RoutingConfiguration
 
RoutingConfiguration(int, int, int, int, int) - Constructor for class net.tomp2p.p2p.RoutingConfiguration
 
RoutingConfiguration(int, int, int, int, int, boolean) - Constructor for class net.tomp2p.p2p.RoutingConfiguration
Sets the routing configuration and its stop conditions.
RoutingMechanism - Class in net.tomp2p.p2p
The routing mechanism.
RoutingMechanism(AtomicReferenceArray<FutureResponse>, FutureRouting, Collection<PeerFilter>) - Constructor for class net.tomp2p.p2p.RoutingMechanism
Creates the routing mechanism.
routingOnlyToSelf(boolean) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
RPC - Class in net.tomp2p.rpc
 
RPC() - Constructor for class net.tomp2p.rpc.RPC
 
RPC.Commands - Enum in net.tomp2p.rpc
 
run() - Method in class net.tomp2p.p2p.MaintenanceTask
 
run() - Method in class net.tomp2p.p2p.ReplicationExecutor
 

S

SearchableBuilder - Interface in net.tomp2p.p2p.builder
 
searchHandler(Number160, int) - Method in class net.tomp2p.connection.Dispatcher
Looks for a registered handler according to the given parameters.
searchHandler(Integer) - Method in class net.tomp2p.connection.Dispatcher
May take longer..
searchValues() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
secondaryPeers(Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
SEGMENT_NR - Static variable in class net.tomp2p.utils.ConcurrentCacheMap
Number of segments that can be accessed concurrently.
self(K) - Method in class net.tomp2p.futures.BaseFutureImpl
 
self(K) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
self(K) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
self() - Method in class net.tomp2p.peers.PeerMap
Each node that has a bag has an ID itself to define what is close.
self() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
sem - Variable in class net.tomp2p.storage.KeyLock.RefCounterLock
 
send(Number160) - Method in class net.tomp2p.p2p.Peer
The send method works as follows:
send(Number160, Map<Number640, Data>) - Method in class net.tomp2p.p2p.ReplicationExecutor
If my peer is responsible, I'll issue a put if absent to make sure all replicas are stored.
send(PeerAddress, BroadcastBuilder, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.BroadcastRPC
 
send(PeerAddress, SendDirectBuilderI, ChannelCreator) - Method in class net.tomp2p.rpc.DirectDataRPC
 
sendBroadcastUDP(ChannelCreator) - Method in class net.tomp2p.connection.RequestHandler
Broadcast a UDP message (layer 2) and expect a reply.
SendBuilder - Class in net.tomp2p.p2p.builder
 
SendBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.SendBuilder
 
sendDirect(PeerAddress) - Method in class net.tomp2p.p2p.Peer
 
sendDirect(FuturePeerConnection) - Method in class net.tomp2p.p2p.Peer
 
sendDirect(PeerConnection) - Method in class net.tomp2p.p2p.Peer
 
sendDirect(PeerAddress, Number160, Map<Number640, Data>) - Method in class net.tomp2p.p2p.ReplicationExecutor.DefaultReplicationSender
If an other peer is responsible, we send this peer our data, so that the other peer can take care of this.
sendDirect(PeerAddress, Number160, Map<Number640, Data>) - Method in interface net.tomp2p.p2p.ReplicationSender
 
SendDirectBuilder - Class in net.tomp2p.p2p.builder
 
SendDirectBuilder(Peer, PeerAddress) - Constructor for class net.tomp2p.p2p.builder.SendDirectBuilder
 
SendDirectBuilder(Peer, FuturePeerConnection) - Constructor for class net.tomp2p.p2p.builder.SendDirectBuilder
 
SendDirectBuilder(Peer, PeerConnection) - Constructor for class net.tomp2p.p2p.builder.SendDirectBuilder
 
SendDirectBuilderI - Interface in net.tomp2p.rpc
 
sender() - Method in class net.tomp2p.connection.ConnectionBean
 
Sender - Class in net.tomp2p.connection
The class that sends out messages.
Sender(Number160, PeerStatusListener[], ChannelClientConfiguration, Dispatcher) - Constructor for class net.tomp2p.connection.Sender
Creates a new sender with the listeners for offline peers.
senderSocket(InetSocketAddress) - Method in class net.tomp2p.message.Message
Store the sender of the packet.
senderSocket() - Method in class net.tomp2p.message.Message
 
sendInternal(PeerAddress, SendDirectBuilderI) - Method in class net.tomp2p.rpc.DirectDataRPC
Send data directly to a peer.
sendTCP(ChannelCreator) - Method in class net.tomp2p.connection.RequestHandler
Send a TCP message and expect a reply.
sendTCP(PeerConnection) - Method in class net.tomp2p.connection.RequestHandler
 
sendTCP(ChannelCreator, PeerConnection) - Method in class net.tomp2p.connection.RequestHandler
Send a TCP message and expect a reply.
sendTCP(SimpleChannelInboundHandler<Message>, FutureResponse, Message, ChannelCreator, int, int, PeerConnection) - Method in class net.tomp2p.connection.Sender
Send a message via TCP.
sendUDP(ChannelCreator) - Method in class net.tomp2p.connection.RequestHandler
Send a UDP message and expect a reply.
sendUDP(SimpleChannelInboundHandler<Message>, FutureResponse, Message, ChannelCreator, int, boolean) - Method in class net.tomp2p.connection.Sender
Send a message via UDP.
SENT_PEERS_CACHE_SIZE - Static variable in class net.tomp2p.rpc.PeerExchangeRPC
 
serverPeerAddress() - Method in class net.tomp2p.connection.PeerBean
 
serverPeerAddress(PeerAddress) - Method in class net.tomp2p.connection.PeerBean
 
setAll(boolean) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
setAll() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
setAll(boolean) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
setAll() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
setAll(boolean) - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
setAll() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
setAttachement(Data) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setBehindFirewall(boolean) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
setBehindFirewall() - Method in class net.tomp2p.connection.ChannelServerConficuration
Set peer to be behind a firewall and cannot be accessed directly.
setBehindFirewall(boolean) - Method in class net.tomp2p.p2p.ConnectionConfiguration
By setting this flag, the peer assumes that it is behind a firewall and will announce itself as unreachable.
setBehindFirewall(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setBehindFirewall() - Method in class net.tomp2p.p2p.PeerMaker
Set peer to be behind a firewall and cannot be accessed directly.
setBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.message.Message
 
setBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setBoolean(int, boolean) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBootstrap(boolean) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setBootstrapTo(Collection<PeerAddress>) - Method in class net.tomp2p.futures.FutureWrappedBootstrap
The addresses we boostrap to.
setBootstrapTo(Collection<PeerAddress>) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setBroadcast() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setBroadcast(boolean) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setBroadcast() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
setBroadcast(boolean) - Method in class net.tomp2p.p2p.builder.PingBuilder
 
setBroadcastRPC(BroadcastRPC) - Method in class net.tomp2p.p2p.Peer
 
setBuffer(Buffer) - Method in class net.tomp2p.message.Message
 
setBuffer(Buffer) - Method in class net.tomp2p.p2p.builder.SendBuilder
 
setBuffer(Buffer) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setByte(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBytes(int, ByteBuf) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBytes(int, ByteBuf, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBytes(int, ByteBuf, int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBytes(int, byte[]) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBytes(int, byte[], int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBytes(int, ByteBuffer) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBytes(int, InputStream, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setBytes(int, ScatteringByteChannel, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setCancelOnFinish() - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
setCancelOnFinish(boolean) - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
setCancelOnFinish(boolean) - Method in class net.tomp2p.p2p.builder.SendBuilder
 
setCancelOnFinish() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
setChar(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setCommand(byte) - Method in class net.tomp2p.message.Message
Command of the message, such as GET, PING, etc.
setCompletedAndNotify() - Method in class net.tomp2p.futures.BaseFutureImpl
Make sure that the calling method has synchronized (lock).
setCompletedAndNotify() - Method in class net.tomp2p.futures.FutureResponse
 
setConnection(FuturePeerConnection) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setConnectTimeoutMillis(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setContentBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
setContentBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
setContentBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setContentKey(Number160) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
setContentKey(Number160) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
setContentKey(Number160) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setContentType(Message.Content) - Method in class net.tomp2p.message.Message
Convenient method to set content type.
setContentType(int, Message.Content) - Method in class net.tomp2p.message.Message
Sets or replaces the content type at a specific index.
setContentTypes(Message.Content[]) - Method in class net.tomp2p.message.Message
Used for deserialization.
setData(Data) - Method in class net.tomp2p.p2p.builder.AddBuilder
 
setData(Data) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setData(Number160, Data) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setData(Number160, Number160, Data) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setData(Data, Number160) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setData(Number160, Data, Number160) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setData(Number160, Number160, Number160, Number160, Data) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setDataMap(Map<Number160, Data>) - Method in class net.tomp2p.futures.FutureAsyncTask
Finishes the future and notifies listeners.
setDataMap(DataMap) - Method in class net.tomp2p.message.Message
 
setDataMap(Map<Number640, Data>) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setDataMapContent(Map<Number160, Data>) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setDataSet(Collection<Data>) - Method in class net.tomp2p.p2p.builder.AddBuilder
 
setDefaultDirectReplication(FutureCreator<FutureTracker>) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setDefaultPEX(FutureCreator<FutureLateJoin<FutureResponse>>) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setDirectData1(Map<PeerAddress, ByteBuf>) - Method in class net.tomp2p.futures.FutureSend
Finish the future and set the keys and data that have send directly using the Netty buffer.
setDirectData2(Map<PeerAddress, Object>) - Method in class net.tomp2p.futures.FutureSend
Finish the future and set the keys and data that have send directly using an object.
setDirectDataRPC(DirectDataRPC) - Method in class net.tomp2p.p2p.Peer
 
setDisableBind() - Method in class net.tomp2p.connection.ChannelServerConficuration
Set the bind to ports should be omited.
setDisableBind(boolean) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setDiscoveredTCP() - Method in class net.tomp2p.futures.FutureDiscover
Intermediate result if TCP has been discovered.
setDiscoveredUDP() - Method in class net.tomp2p.futures.FutureDiscover
Intermediate result if UDP has been discovered.
setDiscoverTimeoutSec(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setDistributedHashMap(DistributedHashTable) - Method in class net.tomp2p.p2p.Peer
 
setDistributedRouting(DistributedRouting) - Method in class net.tomp2p.p2p.Peer
 
setDistributedTracker(DistributedTracker) - Method in class net.tomp2p.p2p.Peer
 
setDomainKey(Number160) - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
setDomainKey(Number160) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
setDomainKey(Number160) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setDomainKey(Number160) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setDomainKey(Number160) - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
 
setDomainKey(Number160) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
setDone() - Method in class net.tomp2p.futures.FutureDone
Set future as finished and notify listeners.
setDone(K) - Method in class net.tomp2p.futures.FutureDone
Set future as finished and notify listeners.
setDone(K) - Method in class net.tomp2p.futures.FutureProgres
Set future as finished and notify listeners.
setDone() - Method in class net.tomp2p.futures.FutureShutdown
Set future as finished and notify listeners.
setDone() - Method in class net.tomp2p.futures.FutureTask
Finishes the future.
setDone() - Method in class net.tomp2p.message.Message
Set done to true if message decoding or encoding is done.
setDouble(int, double) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setEnableBroadcast(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableDHT(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableDirectDataRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableHandShakeRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableIndirectReplication(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableMaintenance(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableNeighborRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnablePeerExchangeRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableQuitRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableRouting(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableStorageRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableSynchronizationRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableTask(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableTaskRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableTracker(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEnableTrackerRPC(boolean) - Method in class net.tomp2p.p2p.PeerMaker
 
setEvaluatingScheme(EvaluatingSchemeTracker) - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
setEvaluationScheme(EvaluatingSchemeDHT) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
setEvaluationScheme(EvaluatingSchemeDHT) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
setExpectAttachement() - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
setExpectAttachement(boolean) - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
setExternalHost(String, InetAddress, InetAddress) - Method in class net.tomp2p.futures.FutureDiscover
 
setFailed(String) - Method in interface net.tomp2p.futures.BaseFuture
Sets the failed flat to true and the completed flag to true.
setFailed(BaseFuture) - Method in interface net.tomp2p.futures.BaseFuture
Sets the failed flat to true and the completed flag to true.
setFailed(String, BaseFuture) - Method in interface net.tomp2p.futures.BaseFuture
Sets the failed flat to true and the completed flag to true.
setFailed(Throwable) - Method in interface net.tomp2p.futures.BaseFuture
Sets the failed flat to true and the completed flag to true.
setFailed(String, Throwable) - Method in interface net.tomp2p.futures.BaseFuture
Sets the failed flat to true and the completed flag to true.
setFailed(BaseFuture) - Method in class net.tomp2p.futures.BaseFutureImpl
 
setFailed(String, BaseFuture) - Method in class net.tomp2p.futures.BaseFutureImpl
 
setFailed(Throwable) - Method in class net.tomp2p.futures.BaseFutureImpl
 
setFailed(String, Throwable) - Method in class net.tomp2p.futures.BaseFutureImpl
 
setFailed(String) - Method in class net.tomp2p.futures.BaseFutureImpl
 
setFailed(PeerAddress, String) - Method in class net.tomp2p.futures.FutureDiscover
 
setFailed0(String) - Method in class net.tomp2p.futures.FutureWrappedBootstrap
Set failed that returns this class not not null.
setFailedLater(Throwable) - Method in class net.tomp2p.futures.FutureResponse
 
setFillPrimaryStorageFast(boolean) - Method in class net.tomp2p.storage.TrackerStorage
 
setFlag1() - Method in class net.tomp2p.storage.Data
 
setFlag2() - Method in class net.tomp2p.storage.Data
 
setFloat(int, float) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setForceRoutingOnlyToSelf() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setForceRoutingOnlyToSelf(boolean) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setForceRoutingOnlyToSelf(boolean) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setForceStorageUDP(boolean) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setForceTCP(boolean) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
setForceTCP() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
setForceTCP(boolean) - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
 
setForceTCP() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
Set to true if the communication should be TCP, default is UDP for routing.
setForceTCP(boolean) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setForceTCP() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setForceTrackerTCP(boolean) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setForceUDP(boolean) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
setForceUDP() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
setForceUDP() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
Set to true if the communication should be UDP, default is TCP for request.
setForceUDP(boolean) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setForceUDP() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setFutureChannelCreator(FutureChannelCreator) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
setFutureChannelCreator(FutureChannelCreator) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setFutureChannelCreator(FutureChannelCreator) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
setFutureCreate(FutureCreate<BaseFuture>) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setFutureRouting(FutureRouting) - Method in class net.tomp2p.futures.FutureDHT
Sets the future object that was used for the routing.
setHintSign() - Method in class net.tomp2p.message.Message
Set if we have a signed message.
setIdleTCPMillis(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setIdleUDPMillis(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setImpl(Timing) - Static method in class net.tomp2p.utils.Timings
 
setIndex(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setInetAddress(InetAddress) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setInetAddress(InetAddress) - Method in class net.tomp2p.p2p.builder.PingBuilder
 
setInt(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setInteger(int) - Method in class net.tomp2p.message.Message
 
setIntervalMillis(int) - Method in class net.tomp2p.p2p.MaintenanceTask
 
setIsUDP(boolean) - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 
setKeepAlive(boolean) - Method in class net.tomp2p.message.Message
 
setKey(Number160) - Method in class net.tomp2p.message.Message
 
setKey(Collection<Number640>) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
setKey(Collection<Number640>) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
setKeyBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
setKeyBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
setKeyBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setKeyCollection(KeyCollection) - Method in class net.tomp2p.message.Message
 
setKeyMap640Keys(KeyMap640Keys) - Method in class net.tomp2p.message.Message
 
setKeyMapByte(KeyMapByte) - Method in class net.tomp2p.message.Message
 
setKeyObject(Number160, Object) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setKnownPeers(Set<Number160>) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
setLimitTracker(boolean) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setList(boolean) - Method in class net.tomp2p.p2p.builder.AddBuilder
 
setList() - Method in class net.tomp2p.p2p.builder.AddBuilder
 
setLocationKey(Number160) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setLong(long) - Method in class net.tomp2p.message.Message
 
setLong(int, long) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setMapError(Map<Number640, ?>, byte) - Static method in class net.tomp2p.utils.Utils
 
setMaxCreating(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setMaxDirectHits(int) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setMaxDirectHits(int) - Method in class net.tomp2p.p2p.RoutingMechanism
 
setMaxFailures(int) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setMaxFailures(int) - Method in class net.tomp2p.p2p.RoutingMechanism
 
setMaxNoNewInfo(int) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setMaxNoNewInfo(int) - Method in class net.tomp2p.p2p.RoutingMechanism
 
setMaxOpenConnection(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setMaxSuccess(int) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setMaxSucess(int) - Method in class net.tomp2p.p2p.RoutingMechanism
 
setMedium(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setMessageId(int) - Method in class net.tomp2p.message.Message
For deserialization, we need to set the id.
setMeta() - Method in class net.tomp2p.storage.Data
 
setNeighborRPC(NeighborRPC) - Method in class net.tomp2p.p2p.Peer
 
setNeighbors(SortedMap<PeerAddress, DigestInfo>, NavigableSet<PeerAddress>, SortedSet<PeerAddress>, boolean, boolean) - Method in class net.tomp2p.futures.FutureRouting
Sets the result of the routing process and finishes the future.
setNeighbors(RoutingBuilder) - Method in class net.tomp2p.p2p.RoutingMechanism
 
setNeighborsSet(NeighborSet) - Method in class net.tomp2p.message.Message
 
setObject(Object) - Method in class net.tomp2p.p2p.builder.AddBuilder
 
setObject(Object) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setObject(Object) - Method in class net.tomp2p.p2p.builder.SendBuilder
 
setObject(Object) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setObjectDataReply(ObjectDataReply) - Method in class net.tomp2p.p2p.Peer
 
setOperation(OperationMapper<K>) - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
setOptions(int) - Method in class net.tomp2p.message.Message
 
setParallel(int) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setPeerAddress(PeerAddress) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
Set the peer address to bootstrap to.
setPeerAddress(PeerAddress) - Method in class net.tomp2p.p2p.builder.PingBuilder
 
setPeerAddress(PeerAddress) - Method in class net.tomp2p.peers.PeerStatatistic
Set the peer address only if the previous peer address that had the same peer ID.
setPeerExchangeRPC(PeerExchangeRPC) - Method in class net.tomp2p.p2p.Peer
 
setPeerSocketAddresses(Collection<PeerSocketAddress>) - Method in class net.tomp2p.message.Message
 
setPexWaitSec(int) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setPort(int) - Method in class net.tomp2p.p2p.builder.PingBuilder
 
setPorts(int) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setPortTCP(int) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setPortUDP(int) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setPrimanyFactor(int) - Method in class net.tomp2p.storage.TrackerStorage
 
setProgres(K, boolean) - Method in class net.tomp2p.futures.FutureProgres
This will finish this future, but it will create a new future that will be returned and that can be obtained by FutureProgres.getNext().
setProgress(FutureAsyncTask) - Method in class net.tomp2p.futures.FutureTask
This is called for intermediate results.
setProgressHandler(ProgresHandler) - Method in class net.tomp2p.futures.FutureResponse
Set the user based progres handler, where the user can add more data and call FutureResponse.progress() when data has been added.
setProtectDomain(boolean) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
setProtectDomain() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
setProtectedEntry() - Method in class net.tomp2p.storage.Data
 
setProtection(StorageLayer.ProtectionEnable, StorageLayer.ProtectionMode, StorageLayer.ProtectionEnable, StorageLayer.ProtectionMode) - Method in class net.tomp2p.storage.StorageLayer
 
setProtectionDomainEnable(StorageLayer.ProtectionEnable) - Method in class net.tomp2p.storage.StorageLayer
 
setProtectionDomainMode(StorageLayer.ProtectionMode) - Method in class net.tomp2p.storage.StorageLayer
 
setProtectionEntryEnable(StorageLayer.ProtectionEnable) - Method in class net.tomp2p.storage.StorageLayer
 
setProtectionEntryMode(StorageLayer.ProtectionMode) - Method in class net.tomp2p.storage.StorageLayer
 
setPublicKey(PublicKey) - Method in class net.tomp2p.message.Message
 
setPublicKey() - Method in class net.tomp2p.storage.Data
 
setPublicKeyAndSign(KeyPair) - Method in class net.tomp2p.message.Message
 
setPutIfAbsent(boolean) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setPutIfAbsent() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setQueue(NavigableSet<PeerAddress>) - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
setQuitRPC(QuitRPC) - Method in class net.tomp2p.p2p.Peer
 
setRange(Number640, Number640) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
setRawDataReply(RawDataReply) - Method in class net.tomp2p.p2p.Peer
 
setReceivedData(Map<PeerAddress, Map<Number640, Data>>) - Method in class net.tomp2p.futures.FutureGet
Finish the future and set the keys and data that have been received.
setReceivedData(Map<PeerAddress, Map<Number640, Data>>) - Method in class net.tomp2p.futures.FutureRemove
Finish the future and set the keys and data that have been received.
setReceivedDigest(Map<PeerAddress, DigestResult>) - Method in class net.tomp2p.futures.FutureDigest
Finishes the future and set the digest information that have been received.
setRecipient(PeerAddress) - Method in class net.tomp2p.message.Message
Set the ID of the recipient.
setReplicationFactor(int) - Method in class net.tomp2p.p2p.Replication
 
setReply(RawDataReply) - Method in class net.tomp2p.rpc.DirectDataRPC
 
setReply(ObjectDataReply) - Method in class net.tomp2p.rpc.DirectDataRPC
 
setRequestP2PConfiguration(RequestP2PConfiguration) - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
setRequestP2PConfiguration(RequestP2PConfiguration) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setRequestP2PConfiguration(RequestP2PConfiguration) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
setResponse() - Method in class net.tomp2p.futures.FutureResponse
If we don't get a reply message, which is the case for fire-and-forget messages, then set the reply to null and set this future to complete with the type Success.
setResponse(Message) - Method in class net.tomp2p.futures.FutureResponse
Gets called if a peer responds.
setResponseLater(Message) - Method in class net.tomp2p.futures.FutureResponse
 
setResponseNow() - Method in class net.tomp2p.futures.FutureResponse
 
setReturnResults() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
setRoutingConfiguration(RoutingConfiguration) - Method in interface net.tomp2p.p2p.builder.BasicBuilder
 
setRoutingConfiguration(RoutingConfiguration) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
setRoutingConfiguration(RoutingConfiguration) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
setRoutingConfiguration(RoutingConfiguration) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
setSecondaryFactor(int) - Method in class net.tomp2p.storage.TrackerStorage
 
setSender(PeerAddress) - Method in class net.tomp2p.message.Message
The ID of the sender.
setShort(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
setSign() - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
setSign() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setSign() - Method in interface net.tomp2p.p2p.builder.SignatureBuilder
 
setSign() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
setStorageRPC(StorageRPC) - Method in class net.tomp2p.p2p.Peer
 
setStoredKeys(Map<PeerAddress, Map<Number640, Byte>>) - Method in class net.tomp2p.futures.FuturePut
Finish the future and set the keys that have been stored.
setStoredKeys(Map<PeerAddress, Map<Number640, Byte>>) - Method in class net.tomp2p.futures.FutureRemove
Finish the future and set the keys that have been stored.
setStreaming() - Method in class net.tomp2p.message.Message
 
setStreaming(boolean) - Method in class net.tomp2p.p2p.builder.DHTBuilder
Set streaming.
setStreaming() - Method in class net.tomp2p.p2p.builder.DHTBuilder
Set streaming to true.
setStreaming() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
setStreaming() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
setTcpPEX() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setTcpPEX(boolean) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setTcpPing() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
setTcpPing(boolean) - Method in class net.tomp2p.p2p.builder.PingBuilder
 
setTimeout(PeerAddress, ScheduledExecutorService, int) - Method in class net.tomp2p.futures.FutureDiscover
Creates a new future object and creates a timer that fires failed after a timeout.
setTrackerConfiguration(TrackerConfiguration) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
setTrackerData(TrackerData) - Method in class net.tomp2p.message.Message
 
setTrackerRPC(TrackerRPC) - Method in class net.tomp2p.p2p.Peer
 
setTrackers(Set<PeerAddress>, Set<PeerAddress>, Map<PeerAddress, TrackerData>) - Method in class net.tomp2p.futures.FutureTracker
Set the result of the tracker process.
setTrackerTimeoutSec(int) - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
setTrackerTimoutSeconds(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
 
setType(Message.Type) - Method in class net.tomp2p.message.Message
Set the message type.
setupCloseListener(ChannelFuture, FutureResponse) - Method in class net.tomp2p.connection.ChannelCreator
Setup the close listener for a channel that was already created
setUseSecondaryTrackers() - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
setUseSecondaryTrackers(boolean) - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
setVerified() - Method in class net.tomp2p.message.Message
 
setVersion(int) - Method in class net.tomp2p.message.Message
For deserialization.
setVersionKey(Number160) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
setVersionKey(Number160) - Method in class net.tomp2p.p2p.builder.PutBuilder
 
setZero(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
shallowCopy() - Method in class net.tomp2p.storage.DataBuffer
 
SHORT_BYTE_SIZE - Static variable in class net.tomp2p.utils.Utils
 
shutdown() - Method in class net.tomp2p.connection.ChannelCreator
Shutdown this channel creator.
shutdown() - Method in class net.tomp2p.connection.ChannelServer
Shuts down the server.
shutdown() - Method in class net.tomp2p.connection.PeerCreator
Shutdown the peer.
shutdown() - Method in class net.tomp2p.connection.Reservation
Shutdown all the channel creators out there.
shutdown() - Method in class net.tomp2p.p2p.MaintenanceTask
 
shutdown() - Method in class net.tomp2p.p2p.Peer
Shuts down everything.
shutdown() - Method in class net.tomp2p.p2p.ReplicationExecutor
 
Shutdown - Interface in net.tomp2p.p2p
 
shutdown() - Method in interface net.tomp2p.p2p.Shutdown
 
ShutdownBuilder - Class in net.tomp2p.p2p.builder
Set the configuration options for the shutdown command.
ShutdownBuilder(Peer) - Constructor for class net.tomp2p.p2p.builder.ShutdownBuilder
Constructor.
ShutdownBuilder.Filter - Interface in net.tomp2p.p2p.builder
The filter can be used to add or remove peers to notify for a shutdown.
shutdownFuture() - Method in class net.tomp2p.connection.ChannelCreator
 
shutdownFuture() - Method in class net.tomp2p.connection.ChannelServer
 
shutdownFuture() - Method in class net.tomp2p.connection.PeerCreator
 
shutdownFuture() - Method in class net.tomp2p.connection.Reservation
 
shutdownTimeout() - Method in class net.tomp2p.peers.PeerMapConfiguration
 
shutdownTimeout(int) - Method in class net.tomp2p.peers.PeerMapConfiguration
 
sign(PrivateKey, ByteBuf) - Method in class net.tomp2p.connection.DSASignatureFactory
 
sign(PrivateKey, ByteBuf) - Method in interface net.tomp2p.connection.SignatureFactory
 
sign(boolean) - Method in class net.tomp2p.p2p.builder.DHTBuilder
 
sign(boolean) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
sign(boolean) - Method in interface net.tomp2p.p2p.builder.SignatureBuilder
 
sign(boolean) - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
sign(boolean) - Method in class net.tomp2p.rpc.DispatchHandler
 
sign(KeyPair, SignatureFactory) - Method in class net.tomp2p.storage.Data
 
sign(PrivateKey, SignatureFactory) - Method in class net.tomp2p.storage.Data
 
signature() - Method in class net.tomp2p.storage.Data
 
signature(SignatureCodec) - Method in class net.tomp2p.storage.Data
 
SignatureBuilder<K extends SignatureBuilder<K>> - Interface in net.tomp2p.p2p.builder
 
signatureCodec() - Method in class net.tomp2p.connection.DSASignatureFactory
 
signatureCodec() - Method in interface net.tomp2p.connection.SignatureFactory
 
SignatureCodec - Interface in net.tomp2p.message
 
signatureFactory() - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
signatureFactory(SignatureFactory) - Method in class net.tomp2p.connection.ChannelClientConfiguration
 
signatureFactory() - Method in class net.tomp2p.connection.ChannelServerConficuration
 
signatureFactory(SignatureFactory) - Method in class net.tomp2p.connection.ChannelServerConficuration
 
SignatureFactory - Interface in net.tomp2p.connection
This interface is used in the encoder and decoders.
signatureFactory() - Method in class net.tomp2p.storage.Data
 
signatureFactory(SignatureFactory) - Method in class net.tomp2p.storage.Data
 
signatureSize() - Method in class net.tomp2p.message.DSASignatureCodec
 
signatureSize() - Method in interface net.tomp2p.message.SignatureCodec
 
signed(boolean) - Method in class net.tomp2p.storage.Data
 
signed() - Method in class net.tomp2p.storage.Data
 
SimpleBloomFilter<E> - Class in net.tomp2p.rpc
A simple Bloom Filter (see http://en.wikipedia.org/wiki/Bloom_filter) that uses java.util.Random as a primitive hash function, and which implements Java's Set interface for convenience.
SimpleBloomFilter(int, int) - Constructor for class net.tomp2p.rpc.SimpleBloomFilter
Construct an empty SimpleBloomFilter.
SimpleBloomFilter(double, int) - Constructor for class net.tomp2p.rpc.SimpleBloomFilter
 
SimpleBloomFilter(ByteBuf) - Constructor for class net.tomp2p.rpc.SimpleBloomFilter
Constructs a SimpleBloomFilter out of existing data.
SimpleBloomFilter(int, int, BitSet) - Constructor for class net.tomp2p.rpc.SimpleBloomFilter
Constructs a SimpleBloomFilter out of existing data.
size() - Method in class net.tomp2p.message.DataMap
 
size() - Method in class net.tomp2p.message.KeyCollection
 
size() - Method in class net.tomp2p.message.KeyMap640Keys
 
size() - Method in class net.tomp2p.message.KeyMapByte
 
size() - Method in class net.tomp2p.message.NeighborSet
 
size() - Method in class net.tomp2p.message.TrackerData
 
size() - Method in class net.tomp2p.peers.PeerAddress
 
size(int) - Static method in class net.tomp2p.peers.PeerAddress
Calculates the size based on the two header bytes.
size(int, int) - Static method in class net.tomp2p.peers.PeerAddress
Calculates the size based on the two header bytes.
size() - Method in class net.tomp2p.peers.PeerMap
The number of the peers in the verified map.
size() - Method in class net.tomp2p.peers.PeerSocketAddress
 
size(int) - Static method in class net.tomp2p.peers.PeerSocketAddress
 
size() - Method in class net.tomp2p.rpc.CountingBloomFilter
Not implemented
size() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Not implemented.
size() - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
SIZE_HEADER - Static variable in class net.tomp2p.rpc.SimpleBloomFilter
 
sizePrimary(Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
sizeSecondary(Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
skipBytes(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
sleep(int) - Method in interface net.tomp2p.utils.Timing
Sleeps with throwing an InterruptedException
sleep(int) - Method in class net.tomp2p.utils.TimingImpl
 
sleep(int) - Static method in class net.tomp2p.utils.Timings
 
sleepUninterruptibly(int) - Method in interface net.tomp2p.utils.Timing
Sleeps without throwing an InterruptedException
sleepUninterruptibly(int) - Method in class net.tomp2p.utils.TimingImpl
 
sleepUninterruptibly(int) - Static method in class net.tomp2p.utils.Timings
 
slice() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
slice(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
start() - Method in class net.tomp2p.p2p.builder.AddBuilder
 
start() - Method in class net.tomp2p.p2p.builder.AddTrackerBuilder
 
start() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
 
start() - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
 
start() - Method in interface net.tomp2p.p2p.builder.Builder
 
start() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
start() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
 
start() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
start() - Method in class net.tomp2p.p2p.builder.GetTrackerBuilder
 
start() - Method in class net.tomp2p.p2p.builder.ParallelRequestBuilder
 
start() - Method in class net.tomp2p.p2p.builder.PingBuilder
 
start() - Method in class net.tomp2p.p2p.builder.PutBuilder
 
start() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
start() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
start() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
start() - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
Start the shutdown.
start() - Method in class net.tomp2p.p2p.builder.TrackerBuilder
 
startPeerExchange(Number160, Number160, FutureChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.p2p.DistributedTracker
 
startup() - Method in class net.tomp2p.connection.ChannelServer
Starts to listen to UDP and TCP ports.
Statistics - Class in net.tomp2p.p2p
 
Statistics(PeerMap) - Constructor for class net.tomp2p.p2p.Statistics
 
stopCreatingNewFutures(boolean) - Method in class net.tomp2p.p2p.RoutingMechanism
 
storage(StorageLayer) - Method in class net.tomp2p.connection.PeerBean
 
storage() - Method in class net.tomp2p.connection.PeerBean
 
storage() - Method in class net.tomp2p.p2p.PeerMaker
 
storage(Storage) - Method in class net.tomp2p.p2p.PeerMaker
 
Storage - Interface in net.tomp2p.storage
The storage is typically backed by multiple Java collections (HashMap, TreeMap, etc.).
storageIntervalMillis() - Method in class net.tomp2p.p2p.PeerMaker
 
storageIntervalMillis(int) - Method in class net.tomp2p.p2p.PeerMaker
 
StorageLayer - Class in net.tomp2p.storage
 
StorageLayer(Storage) - Constructor for class net.tomp2p.storage.StorageLayer
 
StorageLayer.ProtectionEnable - Enum in net.tomp2p.storage
 
StorageLayer.ProtectionMode - Enum in net.tomp2p.storage
 
StorageLayer.PutStatus - Enum in net.tomp2p.storage
 
StorageMemory - Class in net.tomp2p.storage
 
StorageMemory() - Constructor for class net.tomp2p.storage.StorageMemory
 
StorageRPC - Class in net.tomp2p.rpc
The RPC that deals with storage.
StorageRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.StorageRPC
Register the store rpc for put, compare put, get, add, and remove.
streaming(boolean) - Method in class net.tomp2p.message.Message
 
streaming(boolean) - Method in class net.tomp2p.p2p.builder.SendBuilder
 
streaming() - Method in class net.tomp2p.p2p.builder.SendBuilder
 
streaming(boolean) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
streaming() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
 
streaming() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
 
subMap(Number640, Number640, int, boolean) - Method in interface net.tomp2p.storage.Storage
 
subMap(Number640, Number640, int, boolean) - Method in class net.tomp2p.storage.StorageMemory
 
subMapTimeout(long) - Method in interface net.tomp2p.storage.Storage
 
subMapTimeout(long) - Method in class net.tomp2p.storage.StorageMemory
 
subtract(Collection<K>, Collection<K>) - Static method in class net.tomp2p.utils.Utils
 
subtract(Map<K, V>, Collection<K>) - Static method in class net.tomp2p.utils.Utils
 
successfullyChecked() - Method in class net.tomp2p.peers.PeerStatatistic
Sets the time when last seen online to now.
sync() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 

T

tcpPort() - Method in class net.tomp2p.p2p.PeerMaker
 
tcpPort(int) - Method in class net.tomp2p.p2p.PeerMaker
 
tcpPort() - Method in class net.tomp2p.peers.PeerAddress
 
THREAD_NAME - Static variable in class net.tomp2p.connection.ConnectionBean
The thread name is important to identify threads where blocking (wait) is possible.
timeHandler() - Method in class net.tomp2p.connection.TimeoutFactory
 
TimeoutFactory - Class in net.tomp2p.connection
A factory that creates timeout handlers.
TimeoutFactory(FutureResponse, int, PeerStatusListener[], String) - Constructor for class net.tomp2p.connection.TimeoutFactory
 
timer() - Method in class net.tomp2p.connection.ConnectionBean
 
timer() - Method in class net.tomp2p.p2p.PeerMaker
 
timer(ScheduledExecutorService) - Method in class net.tomp2p.p2p.PeerMaker
 
timestamp() - Method in class net.tomp2p.peers.Number160
 
Timing - Interface in net.tomp2p.utils
The timing class for TomP2P.
TimingImpl - Class in net.tomp2p.utils
The implementation that is used for normal operation.
TimingImpl() - Constructor for class net.tomp2p.utils.TimingImpl
 
Timings - Class in net.tomp2p.utils
Static interface for the Timing framework
Timings() - Constructor for class net.tomp2p.utils.Timings
 
to(Number640) - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
to() - Method in class net.tomp2p.p2p.builder.DigestBuilder
 
to(Number640) - Method in class net.tomp2p.p2p.builder.GetBuilder
 
to() - Method in class net.tomp2p.p2p.builder.GetBuilder
 
to(Number640) - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
to() - Method in class net.tomp2p.p2p.builder.RemoveBuilder
 
to() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
 
to() - Method in interface net.tomp2p.p2p.builder.SearchableBuilder
 
to() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
 
toArray() - Method in class net.tomp2p.rpc.CountingBloomFilter
Not implemented
toArray(T[]) - Method in class net.tomp2p.rpc.CountingBloomFilter
Not implemented
toArray() - Method in class net.tomp2p.rpc.SimpleBloomFilter
Not implemented.
toArray(T[]) - Method in class net.tomp2p.rpc.SimpleBloomFilter
Not implemented.
toByteArray(byte[], int) - Method in class net.tomp2p.peers.Number160
Fills the byte array with this number.
toByteArray() - Method in class net.tomp2p.peers.Number160
Returns a byte array, which is always of size 20.
toByteArray() - Method in class net.tomp2p.peers.PeerAddress
Serializes to a new array with the proper size.
toByteArray(byte[], int) - Method in class net.tomp2p.peers.PeerAddress
Serializes to an existing array.
toByteArray() - Method in class net.tomp2p.peers.PeerSocketAddress
 
toByteArray(byte[], int) - Method in class net.tomp2p.peers.PeerSocketAddress
Serializes a peer socket address to a byte array.
toByteBuf(ByteBuf) - Method in class net.tomp2p.rpc.SimpleBloomFilter
Converts data to a byte buffer.
toByteBuf() - Method in class net.tomp2p.storage.DataBuffer
 
toByteBuffer() - Method in class net.tomp2p.storage.DataBuffer
 
toByteBuffers() - Method in class net.tomp2p.storage.Data
 
toByteBufs() - Method in class net.tomp2p.storage.DataBuffer
 
toBytes() - Method in class net.tomp2p.storage.Data
 
toIntArray() - Method in class net.tomp2p.peers.Number160
Returns a copy of the backing array, which is always of size 5.
TomP2PCumulationTCP - Class in net.tomp2p.message
 
TomP2PCumulationTCP(SignatureFactory) - Constructor for class net.tomp2p.message.TomP2PCumulationTCP
 
TomP2POutbound - Class in net.tomp2p.message
 
TomP2POutbound(boolean, SignatureFactory) - Constructor for class net.tomp2p.message.TomP2POutbound
 
TomP2POutbound(boolean, SignatureFactory, CompByteBufAllocator) - Constructor for class net.tomp2p.message.TomP2POutbound
 
TomP2PSinglePacketUDP - Class in net.tomp2p.message
 
TomP2PSinglePacketUDP(SignatureFactory) - Constructor for class net.tomp2p.message.TomP2PSinglePacketUDP
 
toString() - Method in class net.tomp2p.connection.ChannelCreator
 
toString() - Method in exception net.tomp2p.connection.PeerException
 
toString() - Method in class net.tomp2p.futures.FutureResponse
 
toString() - Method in class net.tomp2p.message.DSASignatureCodec
 
toString() - Method in class net.tomp2p.message.Message
 
toString() - Method in class net.tomp2p.message.MessageID
 
toString() - Method in class net.tomp2p.message.TrackerData
 
toString() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
toString(boolean) - Method in class net.tomp2p.peers.Number160
Shows the content in a human readable manner.
toString() - Method in class net.tomp2p.peers.Number160
 
toString() - Method in class net.tomp2p.peers.Number320
 
toString() - Method in class net.tomp2p.peers.Number480
 
toString() - Method in class net.tomp2p.peers.Number640
 
toString() - Method in class net.tomp2p.peers.PeerAddress
 
toString() - Method in class net.tomp2p.peers.PeerMap
 
toString() - Method in class net.tomp2p.peers.PeerSocketAddress
 
toString() - Method in class net.tomp2p.rpc.CountingBloomFilter
 
toString() - Method in class net.tomp2p.rpc.SimpleBloomFilter
 
toString(Charset) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
toString(int, int, Charset) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
toString() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
toString() - Method in class net.tomp2p.storage.Data
 
total() - Method in class net.tomp2p.message.CountConnectionOutboundHandler
 
TRACKER_CACHE_SIZE - Static variable in class net.tomp2p.storage.TrackerStorage
 
TRACKER_SIZE - Static variable in class net.tomp2p.storage.TrackerStorage
 
TrackerBuilder<K extends TrackerBuilder<K>> - Class in net.tomp2p.p2p.builder
 
TrackerBuilder(Peer, Number160) - Constructor for class net.tomp2p.p2p.builder.TrackerBuilder
 
trackerConfiguration - Variable in class net.tomp2p.p2p.builder.TrackerBuilder
 
TrackerConfiguration - Class in net.tomp2p.p2p
 
TrackerConfiguration(int, int, int, int) - Constructor for class net.tomp2p.p2p.TrackerConfiguration
 
TrackerConfiguration(int, int, int, int, int, int) - Constructor for class net.tomp2p.p2p.TrackerConfiguration
 
TrackerConfiguration(int, int, int, int, int, int, boolean, boolean) - Constructor for class net.tomp2p.p2p.TrackerConfiguration
 
TrackerData - Class in net.tomp2p.message
 
TrackerData(Map<PeerAddress, Data>, PeerAddress) - Constructor for class net.tomp2p.message.TrackerData
 
TrackerData(Map<PeerAddress, Data>, PeerAddress, boolean) - Constructor for class net.tomp2p.message.TrackerData
 
TrackerRPC - Class in net.tomp2p.rpc
 
TrackerRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.TrackerRPC
 
trackerStorage(TrackerStorage) - Method in class net.tomp2p.connection.PeerBean
 
trackerStorage() - Method in class net.tomp2p.connection.PeerBean
 
TrackerStorage - Class in net.tomp2p.storage
The maintenance for the tracker is done by the client peer.
TrackerStorage(IdentityManagement, int, Replication, Maintenance) - Constructor for class net.tomp2p.storage.TrackerStorage
 
TrackerStorage.ReferrerType - Enum in net.tomp2p.storage
 
TrackerStorageReplication - Class in net.tomp2p.p2p
The class that will handle the synchronization of the tracker data.
TrackerStorageReplication(Peer, PeerExchangeRPC, TrackerStorage) - Constructor for class net.tomp2p.p2p.TrackerStorageReplication
 
transferFrom(ByteBuf, int) - Method in class net.tomp2p.storage.DataBuffer
 
transferTo(AlternativeCompositeByteBuf) - Method in class net.tomp2p.storage.DataBuffer
Transfers the data from this buffer the CompositeByteBuf.
ttlSeconds() - Method in class net.tomp2p.storage.Data
 
ttlSeconds(int) - Method in class net.tomp2p.storage.Data
 
type - Variable in class net.tomp2p.futures.BaseFutureImpl
 
type(int) - Static method in class net.tomp2p.storage.Data
 

U

udp(boolean) - Method in class net.tomp2p.message.Message
 
UDP_LIMIT - Static variable in class net.tomp2p.connection.ConnectionBean
 
udpPort() - Method in class net.tomp2p.p2p.PeerMaker
 
udpPort(int) - Method in class net.tomp2p.p2p.PeerMaker
 
udpPort() - Method in class net.tomp2p.peers.PeerAddress
 
uncompress(byte[], int, int) - Static method in class net.tomp2p.utils.Utils
 
uncompress(byte[]) - Static method in class net.tomp2p.utils.Utils
 
unlock() - Method in class net.tomp2p.storage.KeyLock.RefCounterLock
 
unlock(KeyLock<?>.RefCounterLock) - Method in class net.tomp2p.storage.KeyLock
 
unwrap() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
update(PublicKey, ByteBuffer[]) - Method in class net.tomp2p.connection.DSASignatureFactory
 
update(PublicKey, ByteBuffer[]) - Method in interface net.tomp2p.connection.SignatureFactory
 
updateAndNotifyResponsibilities(Number160) - Method in class net.tomp2p.p2p.Replication
Update responsibilities.
updateMeta(Number320, PublicKey, PublicKey) - Method in class net.tomp2p.storage.StorageLayer
 
updateMeta(PublicKey, Number640, Data) - Method in class net.tomp2p.storage.StorageLayer
 
updateResponsibilities(Number160, Number160) - Method in interface net.tomp2p.storage.Storage
 
updateResponsibilities(Number160, Number160) - Method in class net.tomp2p.storage.StorageLayer
 
updateResponsibilities(Number160, Number160) - Method in class net.tomp2p.storage.StorageMemory
 
updateResponsibilities(Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
Utils - Class in net.tomp2p.utils
 
Utils() - Constructor for class net.tomp2p.utils.Utils
 

V

validFromMillis() - Method in class net.tomp2p.storage.Data
 
valueOf(String) - Static method in enum net.tomp2p.connection.PeerException.AbortCause
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.futures.BaseFuture.FutureType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.message.Message.Content
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.message.Message.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.peers.PeerStatusListener.FailReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.rpc.RPC.Commands
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.storage.Data.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.storage.StorageLayer.ProtectionEnable
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.storage.StorageLayer.ProtectionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.storage.StorageLayer.PutStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.storage.TrackerStorage.ReferrerType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.tomp2p.connection.PeerException.AbortCause
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.futures.BaseFuture.FutureType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.message.Message.Content
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.message.Message.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.peers.PeerStatusListener.FailReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.rpc.RPC.Commands
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.storage.Data.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.storage.StorageLayer.ProtectionEnable
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.storage.StorageLayer.ProtectionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.storage.StorageLayer.PutStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.storage.TrackerStorage.ReferrerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class net.tomp2p.utils.ConcurrentCacheMap
 
verified(boolean) - Method in class net.tomp2p.message.Message
 
verified() - Method in class net.tomp2p.message.Message
 
verify(PublicKey, ByteBuf, SignatureCodec) - Method in class net.tomp2p.connection.DSASignatureFactory
 
verify(PublicKey, ByteBuf, SignatureCodec) - Method in interface net.tomp2p.connection.SignatureFactory
 
verify(SignatureFactory) - Method in class net.tomp2p.storage.Data
 
verify(PublicKey, SignatureFactory) - Method in class net.tomp2p.storage.Data
 
versionKey() - Method in class net.tomp2p.message.DataMap
 
versionKey() - Method in class net.tomp2p.message.KeyCollection
 
versionKey - Variable in class net.tomp2p.p2p.builder.DHTBuilder
 
versoinBloomFilter() - Method in class net.tomp2p.rpc.DigestResult
 
VotingSchemeDHT - Class in net.tomp2p.p2p
 
VotingSchemeDHT() - Constructor for class net.tomp2p.p2p.VotingSchemeDHT
 
VotingSchemeTracker - Class in net.tomp2p.p2p
 
VotingSchemeTracker() - Constructor for class net.tomp2p.p2p.VotingSchemeTracker
 

W

WAIT_TIME - Static variable in class net.tomp2p.rpc.PingRPC
 
waitFor(K) - Method in class net.tomp2p.futures.FutureWrapper
Wait for the future, which will cause this future to complete if the wrapped future completes.
waitFor() - Method in class net.tomp2p.futures.FutureWrapper2
Wait for the future, which will cause this future to complete if the wrapped future completes.
wildCardSocket() - Method in class net.tomp2p.connection.Bindings
 
wrappedFuture() - Method in class net.tomp2p.futures.FutureWrapper2
 
writableBytes() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class net.tomp2p.connection.HeartBeat
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class net.tomp2p.connection.IdleStateHandlerTomP2P
 
write(ByteBuf) - Method in class net.tomp2p.message.DSASignatureCodec
 
write(AlternativeCompositeByteBuf, Message) - Method in class net.tomp2p.message.Encoder
 
write(ByteBuf) - Method in interface net.tomp2p.message.SignatureCodec
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class net.tomp2p.message.TomP2POutbound
 
writeBoolean(boolean) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeByte(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeBytes(ByteBuf) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeBytes(ByteBuf, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeBytes(ByteBuf, int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeBytes(byte[]) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeBytes(byte[], int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeBytes(ByteBuffer) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeBytes(InputStream, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeBytes(ScatteringByteChannel, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeChar(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeDouble(double) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeFloat(float) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeInt(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeLong(long) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeMedium(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writerIndex() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writerIndex(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeShort(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 
writeZero(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
 

X

xor(Number160) - Method in class net.tomp2p.peers.Number160
Xor operation.

Z

ZERO - Static variable in class net.tomp2p.peers.Number160
 
ZERO - Static variable in class net.tomp2p.peers.Number320
 
ZERO - Static variable in class net.tomp2p.peers.Number480
 
ZERO - Static variable in class net.tomp2p.peers.Number640
 
A B C D E F G H I K L M N O P Q R S T U V W X Z 

Copyright © 2014. All rights reserved.