- abortCause() - Method in exception net.tomp2p.connection.PeerException
-
- acquire(FutureResponse) - Method in class net.tomp2p.connection.PeerConnection
-
- 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(E) - Method in class net.tomp2p.rpc.CountingBloomFilter
-
- add(E) - Method in class net.tomp2p.rpc.SimpleBloomFilter
-
- add(DataBuffer) - Method in class net.tomp2p.storage.DataBuffer
-
- 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.Peer
-
- addBasedOn(Number160) - Method in class net.tomp2p.storage.Data
-
- 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
-
- addDiscoverNetworkListener(DiscoverNetworkListener) - Method in class net.tomp2p.connection.DiscoverNetworks
-
- 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.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.connection.PeerBean
-
- addPeerStatusListener(PeerStatusListener) - Method in class net.tomp2p.rpc.QuitRPC
-
Add a peer status listener that gets notified when a peer is offline.
- addPendingRequest(int, FutureResponse, int, ScheduledExecutorService) - Method in class net.tomp2p.connection.Dispatcher
-
Add a new pending request.
- 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.
- addReleaseListener(FutureChannelCreator, BaseFuture) - Static method in class net.tomp2p.utils.Utils
-
- addRequests(FutureAsyncTask) - Method in class net.tomp2p.futures.FutureTask
-
Adds all requests that have been created for the DHT operations.
- 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
-
- addToAlreadyAsked(PeerAddress) - Method in class net.tomp2p.p2p.RoutingMechanism
-
- adjustMinimumResult(int) - Method in class net.tomp2p.p2p.RequestP2PConfiguration
-
- all() - Method in class net.tomp2p.peers.PeerMap
-
Return all addresses from the neighbor list.
- alloc() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- allOverflow() - Method in class net.tomp2p.peers.PeerMap
-
Return all addresses from the overflow / non-verified list.
- 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
-
- AnnounceBuilder - Class in net.tomp2p.p2p.builder
-
- AnnounceBuilder(Peer) - Constructor for class net.tomp2p.p2p.builder.AnnounceBuilder
-
- announceRPC() - Method in class net.tomp2p.p2p.Peer
-
- announceRPC(AnnounceRPC) - Method in class net.tomp2p.p2p.Peer
-
- AnnounceRPC - Class in net.tomp2p.rpc
-
This Quit RPC is used to send friendly shutdown messages by peers that are
shutdown regularly.
- AnnounceRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.AnnounceRPC
-
Constructor that registers this RPC with the message handler.
- announceShutdown() - Method in class net.tomp2p.p2p.Peer
-
Sends a friendly shutdown message to my close neighbors in the DHT.
- 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
-
- associatedHandler(Message) - Method in class net.tomp2p.connection.Dispatcher
-
Checks if we have a handler for the given message.
- 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
-
- avgGap() - Method in class net.tomp2p.p2p.Statistics
-
- 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
-
- 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.
- behindFirewall(boolean) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- behindFirewall() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
Set peer to be behind a firewall and cannot be accessed directly.
- behindFirewall(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.
- behindFirewall(boolean) - Method in class net.tomp2p.p2p.PeerBuilder
-
- behindFirewall() - Method in class net.tomp2p.p2p.PeerBuilder
-
Set peer to be behind a firewall and cannot be accessed directly.
- 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() - Method in class net.tomp2p.connection.ChannelClientConfiguration
-
- bindings(Bindings) - Method in class net.tomp2p.connection.ChannelClientConfiguration
-
- bindings(Bindings) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- bindings() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- bindings(Bindings) - Method in class net.tomp2p.p2p.PeerBuilder
-
- bindings() - Method in class net.tomp2p.p2p.PeerBuilder
-
- 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
-
- bloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.message.Message
-
- bloomFilter(int) - Method in class net.tomp2p.message.Message
-
- bloomfilterFactory(BloomfilterFactory) - Method in class net.tomp2p.connection.PeerBean
-
- bloomfilterFactory() - Method in class net.tomp2p.connection.PeerBean
-
- bloomfilterFactory() - Method in class net.tomp2p.p2p.PeerBuilder
-
- bloomfilterFactory(BloomfilterFactory) - Method in class net.tomp2p.p2p.PeerBuilder
-
- BloomfilterFactory - Interface in net.tomp2p.rpc
-
- bloomFilterList() - Method in class net.tomp2p.message.Message
-
- bootstrap(boolean) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- 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
-
- bootstrapTo() - Method in interface net.tomp2p.futures.FutureBootstrap
-
Returns the Peers we bootstrapped in no particular order.
- bootstrapTo(Collection<PeerAddress>) - Method in class net.tomp2p.futures.FutureWrappedBootstrap
-
The addresses we boostrap to.
- bootstrapTo() - Method in class net.tomp2p.futures.FutureWrappedBootstrap
-
Returns a list of of peers that were involved in the bootstrapping.
- bootstrapTo() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- bootstrapTo(Collection<PeerAddress>) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- broadcast(Number160) - Method in class net.tomp2p.p2p.Peer
-
- broadcast(PeerAddress, ConnectionConfiguration, ChannelCreator) - Method in class net.tomp2p.rpc.AnnounceRPC
-
- 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.PeerBuilder
-
- broadcastHandler(BroadcastHandler) - Method in class net.tomp2p.p2p.PeerBuilder
-
- 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() - Method in class net.tomp2p.p2p.Peer
-
- broadcastRPC(BroadcastRPC) - Method in class net.tomp2p.p2p.Peer
-
- BroadcastRPC - Class in net.tomp2p.rpc
-
- BroadcastRPC(PeerBean, ConnectionBean, BroadcastHandler) - Constructor for class net.tomp2p.rpc.BroadcastRPC
-
- buffer() - Method in class net.tomp2p.futures.FutureDirect
-
- 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(Buffer) - Method in class net.tomp2p.message.Message
-
- buffer(int) - Method in class net.tomp2p.message.Message
-
- buffer() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- buffer(Buffer) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- buffer() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
-
- buffer() - Method in class net.tomp2p.storage.Data
-
- bufferList() - Method in class net.tomp2p.message.Message
-
- bufferList() - Method in class net.tomp2p.storage.DataBuffer
-
Always make a copy with shallowCopy before using the buffer directly.
- 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_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
-
- cachedRequests() - Method in class net.tomp2p.connection.Sender
-
Get currently cached requests.
- 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 to 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 firewall TCP status.
- changeFirewalledUDP(boolean) - Method in class net.tomp2p.peers.PeerAddress
-
Create a new PeerAddress and change the firewall UDP 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
-
- changePortForwarding(boolean) - 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.
- changeRelayed(boolean) - Method in class net.tomp2p.peers.PeerAddress
-
Create a new PeerAddress and change the relayed status.
- changeRemotePeer(PeerAddress) - Method in class net.tomp2p.connection.PeerConnection
-
- changeSlow(boolean) - Method in class net.tomp2p.peers.PeerAddress
-
Create a new PeerAddress and change the slow 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.PeerBuilder
-
- channelClientConfiguration(ChannelClientConfiguration) - Method in class net.tomp2p.p2p.PeerBuilder
-
- ChannelCreator - Class in net.tomp2p.connection
-
Creates the channels.
- channelCreator() - Method in class net.tomp2p.connection.PeerConnection
-
- channelCreator() - Method in class net.tomp2p.futures.FutureChannelCreator
-
- 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, ChannelServerConfiguration, Dispatcher, List<PeerStatusListener>, ScheduledExecutorService) - Constructor for class net.tomp2p.connection.ChannelServer
-
Sets parameters and starts network device discovery.
- channelServer() - Method in class net.tomp2p.connection.ConnectionBean
-
- channelServerConfiguration() - Method in class net.tomp2p.connection.ChannelServer
-
- ChannelServerConfiguration - Class in net.tomp2p.connection
-
The the configuration for the server.
- ChannelServerConfiguration() - Constructor for class net.tomp2p.connection.ChannelServerConfiguration
-
- channelServerConfiguration() - Method in class net.tomp2p.p2p.PeerBuilder
-
- channelServerConfiguration(ChannelServerConfiguration) - Method in class net.tomp2p.p2p.PeerBuilder
-
- CHARS_PER_INT - Static variable in class net.tomp2p.peers.Number160
-
- 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
-
- 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, PeerStatistic>>) - Static method in class net.tomp2p.peers.PeerMap
-
- command() - Method in class net.tomp2p.message.Message
-
Command of the message, such as GET, PING, etc.
- command(byte) - Method in class net.tomp2p.message.Message
-
Command of the message, such as GET, PING, etc.
- 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
-
- completed() - Method in class net.tomp2p.futures.FutureForkJoin
-
Returns a list of evaluated futures.
- completedAndNotify() - Method in class net.tomp2p.futures.BaseFutureImpl
-
Make sure that the calling method has synchronized (lock).
- completedAndNotify() - Method in class net.tomp2p.futures.FutureResponse
-
- 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
-
- connection() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- connection(FuturePeerConnection) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- 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.p2p.Peer
-
- 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.ChannelServerConfiguration
-
- connectionTimeoutTCPMillis(int) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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
-
- connectTimeoutMillis() - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- connectTimeoutMillis(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- 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
-
- 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.MessageContentIndex
-
The content of the associated index.
- CONTENT_TYPE_LENGTH - Static variable in class net.tomp2p.message.Message
-
- contentBloomFilter() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- contentBloomFilter(SimpleBloomFilter<Number160>) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- contentBloomFilter() - Method in class net.tomp2p.rpc.DigestResult
-
- contentBloomFilter() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
-
- contentDigest() - Method in class net.tomp2p.rpc.DigestInfo
-
- contentKey() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- contentKey(Number160) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- contentKey() - Method in class net.tomp2p.peers.Number480
-
- contentKey() - Method in class net.tomp2p.peers.Number640
-
- contentKey() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
-
- contentKeyBloomFilter(BloomfilterFactory) - Method in class net.tomp2p.rpc.DigestInfo
-
- contentKeys() - Method in interface net.tomp2p.p2p.builder.SearchableBuilder
-
- contentReferences() - Method in class net.tomp2p.message.Message
-
- contentType(Message.Content) - Method in class net.tomp2p.message.Message
-
Convenient method to set content type.
- contentType(int, Message.Content) - Method in class net.tomp2p.message.Message
-
Sets or replaces the content type at a specific index.
- contentTypes() - Method in class net.tomp2p.message.Message
-
Return content types.
- contentTypes(Message.Content[]) - Method in class net.tomp2p.message.Message
-
Used for deserialization.
- 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() - Method in interface net.tomp2p.connection.PingBuilderFactory
-
- create(RoutingConfiguration, RequestConfiguration, DefaultConnectionConfiguration) - 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(byte[], boolean, int) - Static method in class net.tomp2p.peers.PeerSocketAddress
-
Converts a byte array into a PeerSocketAddress.
- create(ByteBuf, boolean) - Static method in class net.tomp2p.peers.PeerSocketAddress
-
Decodes a PeerSocketAddress from a Netty buffer.
- 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
-
- 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.
- createComparator2(Number160) - Static method in class net.tomp2p.peers.PeerMap
-
- 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
-
- created() - Method in class net.tomp2p.peers.PeerStatistic
-
- createDefaultChannelClientConfiguration() - Static method in class net.tomp2p.p2p.PeerBuilder
-
- createDefaultChannelServerConfiguration() - Static method in class net.tomp2p.p2p.PeerBuilder
-
- 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
-
Creates a new Number160 from the long, which fills all the 160 bits.
- createHash(String) - Static method in class net.tomp2p.peers.Number160
-
Creates 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
-
Creates and returns the socket address using the TCP port.
- createSocketTCP(PeerSocketAddress) - Static method in class net.tomp2p.peers.PeerSocketAddress
-
Creates the socket address to reach this peer with TCP.
- createSocketUDP() - Method in class net.tomp2p.peers.PeerAddress
-
Creates and returns the socket address using the UDP port.
- createSocketUDP(int) - Method in class net.tomp2p.peers.PeerAddress
-
- createSocketUDP(PeerSocketAddress) - Static method in class net.tomp2p.peers.PeerSocketAddress
-
Creates the socket address to reach this peer with UDP.
- 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(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
-
- currentDiscoverResults() - Method in class net.tomp2p.connection.DiscoverNetworks
-
- 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, but not the complete header
- 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(Map<Number160, Data>) - Method in class net.tomp2p.futures.FutureAsyncTask
-
Finishes the future and notifies listeners.
- dataMap() - Method in class net.tomp2p.futures.FutureAsyncTask
-
- 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(int) - Method in class net.tomp2p.message.Message
-
- 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
-
- dataMapList() - Method in class net.tomp2p.message.Message
-
- 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 class net.tomp2p.message.RSASignatureCodec
-
- 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 8 content types from an integer (32 bit).
- decodeDone(ByteBuf, SignatureFactory) - Method in class net.tomp2p.storage.Data
-
- 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
-
Decodes a message object.
- 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 class net.tomp2p.connection.RSASignatureFactory
-
- decodePublicKey(ByteBuf) - Method in class net.tomp2p.connection.RSASignatureFactory
-
- 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
-
- decodeSignature(ByteBuf, int, boolean) - Method in 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_PORT - Static variable in class net.tomp2p.connection.Ports
-
- DEFAULT_SLOW_RESPONSE_TIMEOUT_SECONDS - Static variable in class net.tomp2p.connection.ConnectionBean
-
- 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
-
- DefaultSendBehavior - Class in net.tomp2p.connection
-
Default sending behavior for UDP and TCP messages.
- DefaultSendBehavior() - Constructor for class net.tomp2p.connection.DefaultSendBehavior
-
- deleted() - Method in class net.tomp2p.storage.Data
-
- deleted(boolean) - Method in class net.tomp2p.storage.Data
-
- 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 - 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 interface net.tomp2p.storage.DigestStorage
-
- digest(Number320, SimpleBloomFilter<Number160>, SimpleBloomFilter<Number160>, int, boolean, boolean) - Method in interface net.tomp2p.storage.DigestStorage
-
- digest(Collection<Number640>) - Method in interface net.tomp2p.storage.DigestStorage
-
- digest(Number160, Number160, Number160) - Method in interface net.tomp2p.storage.DigestTracker
-
- 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, Collection<Number160>>) - Constructor for class net.tomp2p.rpc.DigestResult
-
- DigestResult(Map<Number640, Data>) - Constructor for class net.tomp2p.rpc.DigestResult
-
- digests() - Method in class net.tomp2p.rpc.DigestInfo
-
- digestStorage(DigestStorage) - Method in class net.tomp2p.connection.PeerBean
-
- digestStorage() - Method in class net.tomp2p.connection.PeerBean
-
- DigestStorage - Interface in net.tomp2p.storage
-
- digestTracker(DigestTracker) - Method in class net.tomp2p.connection.PeerBean
-
- digestTracker() - Method in class net.tomp2p.connection.PeerBean
-
- DigestTracker - Interface in net.tomp2p.storage
-
- directDataRPC() - Method in class net.tomp2p.p2p.Peer
-
- directDataRPC(DirectDataRPC) - Method in class net.tomp2p.p2p.Peer
-
- DirectDataRPC - Class in net.tomp2p.rpc
-
- DirectDataRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.DirectDataRPC
-
- directHits() - 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.
- directHits(SortedMap<PeerAddress, DigestInfo>) - Method in class net.tomp2p.p2p.RoutingMechanism
-
- directHits() - Method in class net.tomp2p.p2p.RoutingMechanism
-
- directHitsDigest() - 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).
- disableBind(boolean) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- disableBind() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
Set the bind to ports should be omited.
- disableBind(boolean) - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- 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
-
- discoveredTCP() - Method in class net.tomp2p.futures.FutureDiscover
-
Intermediate result if TCP has been discovered.
- discoveredUDP() - Method in class net.tomp2p.futures.FutureDiscover
-
Intermediate result if UDP has been discovered.
- discoverInterfaces(Bindings) - Static method in class net.tomp2p.connection.DiscoverNetworks
-
- discoverInterfaces(Bindings, DiscoverResults) - Static method in class net.tomp2p.connection.DiscoverNetworks
-
Search for local interfaces.
- discoverNetwork(DiscoverResults) - Method in class net.tomp2p.connection.ChannelServer
-
- discoverNetwork(DiscoverResults) - Method in interface net.tomp2p.connection.DiscoverNetworkListener
-
- discoverNetwork(NetworkInterface, Collection<InetAddress>, Collection<InetAddress>, boolean, boolean) - Static method in class net.tomp2p.connection.DiscoverNetworks
-
Discovers network interfaces and addresses.
- DiscoverNetworkListener - Interface in net.tomp2p.connection
-
- discoverNetworks() - Method in class net.tomp2p.connection.ChannelServer
-
- DiscoverNetworks - Class in net.tomp2p.connection
-
A class to search for addresses to bind the sockets to.
- DiscoverNetworks(int, Bindings, ScheduledExecutorService) - Constructor for class net.tomp2p.connection.DiscoverNetworks
-
- DiscoverResults - Class in net.tomp2p.connection
-
- DiscoverResults(Collection<InetAddress>, Collection<InetAddress>, Collection<InetAddress>, Collection<InetAddress>, Collection<InetAddress>, Collection<InetAddress>, boolean, String) - Constructor for class net.tomp2p.connection.DiscoverResults
-
- discoverTimeoutSec() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- discoverTimeoutSec(int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- discoverTimeoutSec(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- discoverTimeoutSec() - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- disjunction(Map<K, V>, Collection<K>) - 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
-
- 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.
- 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.
- distributedRouting() - Method in class net.tomp2p.p2p.Peer
-
- distributedRouting(DistributedRouting) - Method in class net.tomp2p.p2p.Peer
-
- domainKey() - Method in class net.tomp2p.message.DataMap
-
- domainKey() - Method in class net.tomp2p.message.KeyCollection
-
- domainKey() - Method in interface net.tomp2p.p2p.builder.BasicBuilder
-
- domainKey(Number160) - Method in interface net.tomp2p.p2p.builder.BasicBuilder
-
- domainKey() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- domainKey(Number160) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- domainKey() - Method in class net.tomp2p.peers.Number320
-
- domainKey() - Method in class net.tomp2p.peers.Number480
-
- domainKey() - Method in class net.tomp2p.peers.Number640
-
- domainKey() - Method in class net.tomp2p.rpc.NeighborRPC.SearchValues
-
- domainKeyBloomFilter(BloomfilterFactory) - Method in class net.tomp2p.rpc.DigestInfo
-
- done() - Method in class net.tomp2p.futures.FutureAnnounce
-
Gets called if the ping was a success and an other peer could ping us
with TCP and UDP.
- 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.FutureDone
-
Set future as finished and notify listeners.
- done(K) - Method in class net.tomp2p.futures.FutureDone
-
Set future as finished and notify listeners.
- 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(PeerAddress) - Method in class net.tomp2p.futures.FuturePing
-
Gets called if the ping was a success and an other peer could ping us
with TCP and UDP.
- done(K) - Method in class net.tomp2p.futures.FutureProgres
-
Set future as finished and notify listeners.
- done() - Method in class net.tomp2p.futures.FutureTask
-
Finishes the future.
- done() - Method in class net.tomp2p.message.Buffer
-
- 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
-
- failed(Message.Type, String) - Method in interface net.tomp2p.connection.Responder
-
- failed(String) - Method in interface net.tomp2p.futures.BaseFuture
-
Sets the failed flag to true and the completed flag to true.
- failed(BaseFuture) - Method in interface net.tomp2p.futures.BaseFuture
-
Sets the failed flag to true and the completed flag to true.
- failed(String, BaseFuture) - Method in interface net.tomp2p.futures.BaseFuture
-
Sets the failed flag to true and the completed flag to true.
- failed(Throwable) - Method in interface net.tomp2p.futures.BaseFuture
-
Sets the failed flag to true and the completed flag to true.
- failed(String, Throwable) - Method in interface net.tomp2p.futures.BaseFuture
-
Sets the failed flag to true and the completed flag to true.
- failed(BaseFuture) - Method in class net.tomp2p.futures.BaseFutureImpl
-
- failed(String, BaseFuture) - Method in class net.tomp2p.futures.BaseFutureImpl
-
- failed(Throwable) - Method in class net.tomp2p.futures.BaseFutureImpl
-
- failed(String, Throwable) - Method in class net.tomp2p.futures.BaseFutureImpl
-
- failed(String) - Method in class net.tomp2p.futures.BaseFutureImpl
-
- failed(PeerAddress, String) - Method in class net.tomp2p.futures.FutureDiscover
-
- 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.PeerStatistic
-
Increases the failed counter.
- failed0(String) - Method in class net.tomp2p.futures.FutureWrappedBootstrap
-
Set failed that returns this class not not null.
- failedLater(Throwable) - Method in class net.tomp2p.futures.FutureResponse
-
- failedReason() - Method in interface net.tomp2p.futures.BaseFuture
-
The default failed reason is Unknown.
- failedReason() - Method in class net.tomp2p.futures.BaseFutureImpl
-
- failedReason() - Method in class net.tomp2p.futures.FutureRouting
-
- failureCount() - Method in class net.tomp2p.futures.FutureTask
-
- filter(Map<String, Pair<EventExecutorGroup, ChannelHandler>>, boolean, boolean) - Method in interface net.tomp2p.connection.PipelineFilter
-
Filter the handlers.
- filter(Map<String, Pair<EventExecutorGroup, ChannelHandler>>, boolean, boolean) - Method in class net.tomp2p.p2p.PeerBuilder.DefaultPipelineFilter
-
- filter(Map<String, Pair<EventExecutorGroup, ChannelHandler>>, boolean, boolean) - Method in class net.tomp2p.p2p.PeerBuilder.EventExecutorGroupFilter
-
- finalize() - Method in class net.tomp2p.message.Buffer
-
- finalize() - Method in class net.tomp2p.storage.DataBuffer
-
- find(Number160) - Method in class net.tomp2p.peers.PeerMap
-
- find(int) - Static method in enum net.tomp2p.rpc.RPC.Commands
-
- findContentForResponsiblePeerID(Number160) - Method in interface net.tomp2p.storage.Storage
-
- findPeerIDsForResponsibleContent(Number160) - Method in interface net.tomp2p.storage.Storage
-
- fireAndForgetBroadcastUDP(ChannelCreator) - Method in class net.tomp2p.connection.RequestHandler
-
Broadcast a UDP message (layer 2) and do not expect a reply.
- 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.
- first() - Method in class net.tomp2p.futures.FutureForkJoin
-
- flag1(boolean) - Method in class net.tomp2p.storage.Data
-
- flag1() - Method in class net.tomp2p.storage.Data
-
- flag2(boolean) - Method in class net.tomp2p.storage.Data
-
- flag2() - 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
-
- forceRoutingOnlyToSelf() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- forceRoutingOnlyToSelf(boolean) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- forceRoutingOnlyToSelf(boolean) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- forceRoutingOnlyToSelf() - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
- forceRoutingOnlyToSelf(boolean) - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
- forceStorageUDP(boolean) - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- forceTCP(boolean) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- forceTCP() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- forceTCP(boolean) - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
-
- forceTCP() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
-
Set to true if the communication should be TCP, default is UDP for routing.
- forceTCP(boolean) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- forceTCP() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- forceTrackerTCP(boolean) - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- forceUDP(boolean) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- forceUDP() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- forceUDP(boolean) - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
-
- forceUDP() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
-
Set to true if the communication should be UDP, default is TCP for request.
- forceUDP(boolean) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- forceUDP() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- 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.
- foundAddress() - Method in class net.tomp2p.connection.DiscoverResults
-
- 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.
- FutureAnnounce - Class in net.tomp2p.futures
-
- FutureAnnounce() - Constructor for class net.tomp2p.futures.FutureAnnounce
-
Constructor.
- 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() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- futureChannelCreator(FutureChannelCreator) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- 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.
- 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 attachment.
- 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.
- 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
-
- FuturePing - Class in net.tomp2p.futures
-
- FuturePing() - Constructor for class net.tomp2p.futures.FuturePing
-
Constructor.
- 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.
- futureResponse() - Method in class net.tomp2p.connection.RequestHandler
-
- futureResponse() - Method in class net.tomp2p.futures.FutureDirect
-
- 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)
- futuresCompleted() - Method in class net.tomp2p.futures.FutureForkJoin
-
- futuresDone() - Method in class net.tomp2p.futures.FutureLateJoin
-
Returns the finished futures.
- futuresDone() - Method in class net.tomp2p.futures.FutureLaterJoin
-
Returns the finished futures.
- FutureShutdown - Class in net.tomp2p.futures
-
- FutureShutdown() - Constructor for class net.tomp2p.futures.FutureShutdown
-
- 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
-
- 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
-
- id() - Method in class net.tomp2p.message.MessageID
-
- 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
-
- idleTCPMillis() - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- idleTCPMillis(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- idleTCPSeconds() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- idleTCPSeconds(int) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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
-
- idleUDPMillis() - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- idleUDPMillis(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- idleUDPSeconds() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- idleUDPSeconds(int) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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
-
- index() - Method in class net.tomp2p.message.MessageContentIndex
-
The index of the associated content.
- 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.BootstrapBuilder
-
- inetAddress(InetAddress) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- inetAddress() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- inetAddress(InetAddress) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- inetAddress() - Method in class net.tomp2p.p2p.builder.PingBuilder
-
- inetAddress(InetAddress) - Method in class net.tomp2p.p2p.builder.PingBuilder
-
- inetAddress() - Method in class net.tomp2p.peers.PeerAddress
-
Returns the address or null if no address set.
- inetAddress() - Method in class net.tomp2p.peers.PeerSocketAddress
-
- inetSocketAddress(InetSocketAddress) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- inetSocketAddress(InetAddress, int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- inetSocketAddress(InetAddress, int, int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- inetSocketAddress(InetSocketAddress) - Method in class net.tomp2p.p2p.builder.PingBuilder
-
- init(Peer, ScheduledExecutorService) - Method in class net.tomp2p.p2p.MaintenanceTask
-
- init(PeerInit) - Method in class net.tomp2p.p2p.PeerBuilder
-
- init(PeerInit...) - Method in class net.tomp2p.p2p.PeerBuilder
-
- init(Peer) - Method in interface net.tomp2p.p2p.PeerInit
-
- init(List<Map<Number160, PeerStatistic>>, List<Map<Number160, PeerStatistic>>, ConcurrentCacheMap<Number160, PeerAddress>, ConcurrentCacheMap<Number160, PeerAddress>, ConcurrentCacheMap<Number160, PeerAddress>) - Method in class net.tomp2p.peers.DefaultMaintenance
-
- init(List<Map<Number160, PeerStatistic>>, List<Map<Number160, PeerStatistic>>, ConcurrentCacheMap<Number160, PeerAddress>, ConcurrentCacheMap<Number160, PeerAddress>, ConcurrentCacheMap<Number160, PeerAddress>) - Method in interface net.tomp2p.peers.Maintenance
-
Initializes the maintenance class.
- INT_ARRAY_SIZE - Static variable in class net.tomp2p.peers.Number160
-
- intAt(int) - Method in class net.tomp2p.message.Message
-
- INTEGER_BYTE_SIZE - Static variable in class net.tomp2p.utils.Utils
-
- interfaceHints() - Method in class net.tomp2p.connection.Bindings
-
- internalAddress() - Method in class net.tomp2p.futures.FutureDiscover
-
- internalNioBuffer(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- internalPeerSocketAddress() - Method in class net.tomp2p.peers.PeerAddress
-
- internalPeerSocketAddress(PeerSocketAddress) - Method in class net.tomp2p.peers.PeerAddress
-
- intervalMillis(int) - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- intervalMillis() - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- intervalMillis() - Method in class net.tomp2p.p2p.MaintenanceTask
-
- intervalMillis(int) - Method in class net.tomp2p.p2p.MaintenanceTask
-
- intervalSeconds() - Method in class net.tomp2p.peers.LocalMapConf
-
- intervalSeconds(int[]) - Method in class net.tomp2p.peers.LocalMapConf
-
- intList() - Method in class net.tomp2p.message.Message
-
- intSet() - Method in class net.tomp2p.rpc.CountingBloomFilter
-
Returns the bitset that backs the bloom filter
- intToByteArray(int) - Static method in class net.tomp2p.utils.Utils
-
- intValue(int) - Method in class net.tomp2p.message.Message
-
- 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
-
- isBehindFirewall() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- isBehindFirewall() - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- isBehindFirewall() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isBootstrap() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- 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
-
- isDeleted() - Method in class net.tomp2p.storage.Data
-
- isDirect() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- isDisableBind() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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
-
- isDone() - Method in class net.tomp2p.message.Message
-
- isEmpty() - Method in class net.tomp2p.connection.DiscoverResults
-
- isEmpty() - Method in class net.tomp2p.message.TrackerData
-
- 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.storage.Data
-
- isEmpty() - Method in class net.tomp2p.utils.ConcurrentCacheMap
-
- isEmpty() - Method in class net.tomp2p.utils.Pair
-
- isEnableAnnounceRPC() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isEnableBroadcast() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isEnableDirectDataRPC() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isEnableHandShakeRPC() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isEnableMaintenance() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isEnableNeighborRPC() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isEnableQuitRPC() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isEnableRouting() - Method in class net.tomp2p.p2p.PeerBuilder
-
- isEntryProtectedByOthers(Number480, PublicKey) - Method in interface net.tomp2p.storage.Storage
-
- isError() - Method in class net.tomp2p.message.Message
-
- isError(Message.Type) - Static method in class net.tomp2p.message.Message
-
- isFailed() - Method in interface net.tomp2p.futures.BaseFuture
-
Checks if operation has failed.
- isFailed() - Method in class net.tomp2p.futures.BaseFutureImpl
-
- 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
-
- isForceRoutingOnlyToSelf() - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
- isForceStorageUDP() - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- isForceTCP() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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 interface net.tomp2p.p2p.RequestConfiguration
-
- isForceTCP() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
-
- isForceTCP() - Method in class net.tomp2p.p2p.RoutingConfiguration
-
- isForceTrackerTCP() - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- isForceUDP() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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 interface net.tomp2p.p2p.RequestConfiguration
-
- isForceUPD() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
-
- 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
-
- isListenAny() - Method in class net.tomp2p.connection.Bindings
-
- isListenAny() - Method in class net.tomp2p.connection.DiscoverResults
-
- isLocal() - Method in class net.tomp2p.peers.PeerStatistic
-
- isManualPort() - Method in class net.tomp2p.connection.Ports
-
- isMeta() - Method in class net.tomp2p.storage.Data
-
- 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
-
- isPing() - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- isPortForwarding() - Method in class net.tomp2p.peers.PeerAddress
-
- isProtectedEntry() - Method in class net.tomp2p.storage.Data
-
- 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
-
- isRequest() - Method in class net.tomp2p.message.Message
-
- 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.
- 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.SendDirectBuilder
-
- isSign() - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
- isSign() - Method in interface net.tomp2p.p2p.builder.SignatureBuilder
-
- isSign() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
-
- isSigned() - Method in class net.tomp2p.storage.Data
-
- isSlow() - Method in class net.tomp2p.peers.PeerAddress
-
- isStopCreatingNewFutures() - Method in class net.tomp2p.p2p.RoutingMechanism
-
- isStreaming() - Method in class net.tomp2p.message.Message
-
- isStreaming() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- isStreaming() - Method in interface net.tomp2p.rpc.SendDirectBuilderI
-
- isSuccess() - Method in interface net.tomp2p.futures.BaseFuture
-
Returns the opposite of isFailed (returns !isFailed).
- isSuccess() - Method in class net.tomp2p.futures.BaseFutureImpl
-
- 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.
- 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.
- natReflection(InetSocketAddress, boolean, PeerAddress) - Static method in class net.tomp2p.utils.Utils
-
- needMaintenance(PeerStatistic, int[]) - Static 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() - Method in class net.tomp2p.p2p.Peer
-
- neighborRPC(NeighborRPC) - Method in class net.tomp2p.p2p.Peer
-
- 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(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.
- neighbors() - Method in class net.tomp2p.message.NeighborSet
-
- neighbors(RoutingBuilder) - Method in class net.tomp2p.p2p.RoutingMechanism
-
- NeighborSet - Class in net.tomp2p.message
-
- NeighborSet(int, Collection<PeerAddress>) - Constructor for class net.tomp2p.message.NeighborSet
-
- neighborsSet(NeighborSet) - Method in class net.tomp2p.message.Message
-
- neighborsSet(int) - Method in class net.tomp2p.message.Message
-
- neighborsSetList() - Method in class net.tomp2p.message.Message
-
- 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
-
- newAddresses() - Method in class net.tomp2p.connection.DiscoverResults
-
- newBroadcastAddresses() - Method in class net.tomp2p.connection.DiscoverResults
-
- next() - Method in class net.tomp2p.futures.FutureProgres
-
- 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 class net.tomp2p.peers.LocalMap
-
- 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)!
- notifyPeerFound(PeerAddress, PeerAddress, PeerConnection) - Method in class net.tomp2p.connection.PeerBean
-
- 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
-
- 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
-
Creates a new Number320 key from given location and domain keys.
- 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
-
Creates a new Number480 key from given location, domain and content keys.
- Number480(Number320, Number160) - Constructor for class net.tomp2p.peers.Number480
-
Creates a new Number480 key from given location, domain and content keys.
- Number480(Random) - Constructor for class net.tomp2p.peers.Number480
-
Creates a new random Number480 key.
- Number640 - Class in net.tomp2p.peers
-
This class stores the location, domain, content and version keys.
- Number640(Number160, Number160, Number160, Number160) - Constructor for class net.tomp2p.peers.Number640
-
Creates a new Number640 key from given location, domain, content and version keys.
- Number640(Number480, Number160) - Constructor for class net.tomp2p.peers.Number640
-
Creates a new Number640 key from given location, domain, content and version keys.
- Number640(Number320, Number160, Number160) - Constructor for class net.tomp2p.peers.Number640
-
Creates a new Number640 key from given location, domain, content and version keys.
- Number640(Random) - Constructor for class net.tomp2p.peers.Number640
-
Creates a new random Number640 key.
- number96() - Method in class net.tomp2p.peers.Number160
-
- p2pId() - Method in class net.tomp2p.connection.ConnectionBean
-
- p2pId() - Method in class net.tomp2p.p2p.Peer
-
- p2pId() - Method in class net.tomp2p.p2p.PeerBuilder
-
- p2pId(int) - Method in class net.tomp2p.p2p.PeerBuilder
-
- 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.builder.RoutingBuilder
-
- parallel(int) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- parallel() - Method in interface net.tomp2p.p2p.RequestConfiguration
-
- parallel() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
-
- parallel() - Method in class net.tomp2p.p2p.RoutingConfiguration
-
- parallel() - Method in class net.tomp2p.p2p.RoutingMechanism
-
- parallelDiff() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
-
- peekRandom(Collection<K>, Random) - Static method in class net.tomp2p.utils.Utils
-
- 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.futures.FutureDiscover
-
The peerAddress where we are reachable.
- peerAddress() - Method in class net.tomp2p.message.MessageID
-
- peerAddress() - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- peerAddress(PeerAddress) - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- peerAddress() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- peerAddress(PeerAddress) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
Set the peer address to bootstrap to.
- peerAddress() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- peerAddress(PeerAddress) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- peerAddress(PeerAddress) - Method in class net.tomp2p.p2p.builder.PingBuilder
-
- peerAddress() - Method in class net.tomp2p.p2p.Peer
-
- 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 peer address, 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, 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, PeerSocketAddress, boolean, boolean, boolean, Collection-PeerSocketAddress>).
- PeerAddress(Number160, InetAddress, int, 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).
- PeerAddress(Number160, InetSocketAddress) - Constructor for class net.tomp2p.peers.PeerAddress
-
Facade for PeerAddress(Number160, InetAddress, int, int).
- peerAddress() - Method in class net.tomp2p.peers.PeerStatistic
-
- peerAddress(PeerAddress) - Method in class net.tomp2p.peers.PeerStatistic
-
Set the peer address only if the previous peer address that had the same peer ID.
- peerAddresses() - Method in class net.tomp2p.message.TrackerData
-
- peerAddressOrig(PeerAddress) - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- peerBean() - Method in class net.tomp2p.connection.Dispatcher
-
- 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.p2p.Peer
-
- peerBean() - Method in class net.tomp2p.rpc.DispatchHandler
-
- PeerBuilder - Class in net.tomp2p.p2p
-
The maker / builder of a
Peer class.
- PeerBuilder(Number160) - Constructor for class net.tomp2p.p2p.PeerBuilder
-
Creates a PeerBuilder with the peer ID and an empty key pair.
- PeerBuilder(KeyPair) - Constructor for class net.tomp2p.p2p.PeerBuilder
-
Creates a PeerBuilder with the key pair and generates out of this key pair
the peer ID.
- PeerBuilder.DefaultPipelineFilter - Class in net.tomp2p.p2p
-
The default filter is no filter, just return the same array.
- PeerBuilder.DefaultPipelineFilter() - Constructor for class net.tomp2p.p2p.PeerBuilder.DefaultPipelineFilter
-
- PeerBuilder.EventExecutorGroupFilter - Class in net.tomp2p.p2p
-
A pipeline filter that executes handlers in a thread.
- PeerBuilder.EventExecutorGroupFilter(EventExecutorGroup) - Constructor for class net.tomp2p.p2p.PeerBuilder.EventExecutorGroupFilter
-
- peerConnection() - Method in class net.tomp2p.connection.HeartBeat
-
- peerConnection(PeerConnection) - Method in class net.tomp2p.connection.HeartBeat
-
- peerConnection(Number160) - Method in class net.tomp2p.connection.PeerBean
-
- 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, ChannelServerConfiguration, ChannelClientConfiguration, ScheduledExecutorService, SendBehavior) - 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(FutureResponse) - Constructor for exception net.tomp2p.connection.PeerException
-
- PeerException(Throwable) - Constructor for exception net.tomp2p.connection.PeerException
-
- PeerException.AbortCause - Enum in net.tomp2p.connection
-
USER_ABORT means that this peer aborts the communication.
- peerFailed(PeerAddress, PeerException) - Method in class net.tomp2p.peers.LocalMap
-
- peerFailed(PeerAddress, PeerException) - Method in class net.tomp2p.peers.PeerMap
-
Remove a peer from the list.
- peerFailed(PeerAddress, PeerException) - Method in interface net.tomp2p.peers.PeerStatusListener
-
Called if the peer does not send answer in time.
- 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(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.peers.PeerMapConfiguration
-
- peerFound(PeerAddress, PeerAddress, PeerConnection) - Method in class net.tomp2p.peers.LocalMap
-
- peerFound(PeerAddress, PeerAddress) - Method in class net.tomp2p.peers.LocalMap
-
- peerFound(PeerAddress, PeerAddress, PeerConnection) - Method in class net.tomp2p.peers.PeerMap
-
Adds a neighbor to the neighbor list.
- peerFound(PeerAddress, PeerAddress, PeerConnection) - Method in interface net.tomp2p.peers.PeerStatusListener
-
Called if the peer is online and who reported it.
- peerID() - Method in class net.tomp2p.p2p.Peer
-
- peerId() - Method in class net.tomp2p.p2p.PeerBuilder
-
- peerId() - Method in class net.tomp2p.peers.PeerAddress
-
The id of the peer.
- PeerInit - Interface in net.tomp2p.p2p
-
- 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
-
- 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.PeerBuilder
-
- peerMap(PeerMap) - Method in class net.tomp2p.p2p.PeerBuilder
-
- 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, PeerStatistic) - 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 PeerSocketAddress including both UDP and TCP ports.
- PeerSocketAddress(InetAddress, int, int, int) - Constructor for class net.tomp2p.peers.PeerSocketAddress
-
Creates a PeerSocketAddress including both UDP and TCP ports.
- peerSocketAddresses(Collection<PeerSocketAddress>) - Method in class net.tomp2p.message.Message
-
- peerSocketAddresses() - Method in class net.tomp2p.message.Message
-
- peerSocketAddresses() - Method in class net.tomp2p.peers.PeerAddress
-
- PeerStatistic - Class in net.tomp2p.peers
-
Keeps track of the statistics of a given peer.
- PeerStatistic(PeerAddress) - Constructor for class net.tomp2p.peers.PeerStatistic
-
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.
- peerStatusListeners() - Method in class net.tomp2p.connection.PeerBean
-
- peerUpdated(PeerAddress, PeerStatistic) - 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() - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- ping() - Method in class net.tomp2p.p2p.Peer
-
- ping(PeerAddress, ConnectionConfiguration, ChannelCreator) - Method in class net.tomp2p.rpc.AnnounceRPC
-
- 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 - Class in net.tomp2p.p2p.builder
-
- PingBuilder(Peer) - Constructor for class net.tomp2p.p2p.builder.PingBuilder
-
- PingBuilderFactory - Interface in net.tomp2p.connection
-
- pingBuilderFactory() - Method in class net.tomp2p.connection.Sender
-
- pingBuilderFactory(PingBuilderFactory) - Method in class net.tomp2p.connection.Sender
-
- PingFactory - Interface in net.tomp2p.connection
-
- 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.ChannelServerConfiguration
-
- pipelineFilter(PipelineFilter) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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
-
- port() - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- port(int) - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- port() - Method in class net.tomp2p.p2p.builder.PingBuilder
-
- port(int) - Method in class net.tomp2p.p2p.builder.PingBuilder
-
- ports() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- ports(Ports) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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.BootstrapBuilder
-
- ports(int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- ports(int) - Method in class net.tomp2p.p2p.PeerBuilder
-
- portsExternal(int) - Method in class net.tomp2p.p2p.PeerBuilder
-
- portsForwarding() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- portsForwarding(Ports) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- portTCP() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- portTCP(int) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- 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.BootstrapBuilder
-
- portUDP(int) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- portUDP() - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- portUDP(int) - Method in class net.tomp2p.p2p.builder.DiscoverBuilder
-
- potentialHits() - 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.
- potentialHits(NavigableSet<PeerAddress>) - Method in class net.tomp2p.p2p.RoutingMechanism
-
- potentialHits() - Method in class net.tomp2p.p2p.RoutingMechanism
-
- prepareFinish() - Method in class net.tomp2p.message.Decoder
-
- prepareFlag(boolean) - Method in class net.tomp2p.storage.Data
-
- prepareFlag() - Method in class net.tomp2p.storage.Data
-
- 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.message.Message
-
- privateKey() - Method in class net.tomp2p.storage.Data
-
- progres() - Method in interface net.tomp2p.connection.ProgresHandler
-
- progres(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.next().
- 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(FutureAsyncTask) - Method in class net.tomp2p.futures.FutureTask
-
This is called for intermediate results.
- 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.
- progressHandler(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.
- ProgressListener - Interface in net.tomp2p.futures
-
- 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
-
- protectEntry(KeyPair) - Method in class net.tomp2p.storage.Data
-
- protectEntry() - Method in class net.tomp2p.storage.Data
-
- protectEntry(PrivateKey) - Method in class net.tomp2p.storage.Data
-
- protectEntry(Number480, PublicKey) - Method in interface net.tomp2p.storage.Storage
-
- protectEntryNow(KeyPair, SignatureFactory) - Method in class net.tomp2p.storage.Data
-
- protectEntryNow(PrivateKey, SignatureFactory) - Method in class net.tomp2p.storage.Data
-
- protocolHint() - Method in class net.tomp2p.connection.Bindings
-
- publicKey(PublicKey) - Method in class net.tomp2p.message.Message
-
- publicKey(int) - Method in class net.tomp2p.message.Message
-
- publicKey() - Method in class net.tomp2p.storage.Data
-
- publicKey(PublicKey) - Method in class net.tomp2p.storage.Data
-
- publicKeyAndSign(KeyPair) - Method in class net.tomp2p.message.Message
-
- publicKeyFlag(boolean) - Method in class net.tomp2p.storage.Data
-
- publicKeyFlag() - Method in class net.tomp2p.storage.Data
-
- publicKeyList() - Method in class net.tomp2p.message.Message
-
- 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(Number640, Collection<Number160>) - Method in class net.tomp2p.rpc.DigestInfo
-
Stores a key and the hash of the content for further processing.
- put(Number640, Data) - Method in interface net.tomp2p.storage.Storage
-
- 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
-
- 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
-
- random() - Method in class net.tomp2p.p2p.PeerBuilder
-
- random(Random) - Method in class net.tomp2p.p2p.PeerBuilder
-
- randomPositiveInt(int) - Static method in class net.tomp2p.utils.Utils
-
This method returns a random positve int within a given upper limit.
- range(Number640, Number640) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- rawDataMap() - Method in class net.tomp2p.futures.FutureTask
-
- rawDataReply(RawDataReply) - Method in class net.tomp2p.p2p.Peer
-
- rawDataReply(RawDataReply) - Method in class net.tomp2p.rpc.DirectDataRPC
-
- 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 class net.tomp2p.message.RSASignatureCodec
-
- 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
-
- 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
-
- recipient() - Method in class net.tomp2p.message.Message
-
The ID of the recipient.
- recipient(PeerAddress) - Method in class net.tomp2p.message.Message
-
Set the ID of the recipient.
- recipient() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- recipientRelay() - Method in class net.tomp2p.message.Message
-
- recipientRelay(PeerAddress) - 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
-
Registers all names on the dispatcher on behalf of the own peer
- register(Number160, int...) - Method in class net.tomp2p.rpc.DispatchHandler
-
Registers all names on the dispatcher on behalf of the given peer
- registerIoHandler(Number160, 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
-
- relays() - Method in class net.tomp2p.peers.PeerAddress
-
- RelaySender - Interface in net.tomp2p.connection
-
- relaySize() - Method in class net.tomp2p.peers.PeerAddress
-
- 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.FutureAsyncTask
-
- remotePeer() - Method in class net.tomp2p.futures.FuturePeerConnection
-
- remotePeer() - Method in class net.tomp2p.futures.FuturePing
-
- remotePeer() - Method in class net.tomp2p.p2p.builder.BroadcastBuilder
-
- remove(Number160) - Method in class net.tomp2p.message.TrackerData
-
- remove(Object) - Method in class net.tomp2p.rpc.CountingBloomFilter
-
Not implemented
- remove(Object) - Method in class net.tomp2p.rpc.SimpleBloomFilter
-
Not implemented.
- remove(Number640, boolean) - Method in interface net.tomp2p.storage.Storage
-
- remove(Number640, Number640, boolean) - Method in interface net.tomp2p.storage.Storage
-
- remove(Object) - Method in class net.tomp2p.utils.ConcurrentCacheMap
-
- remove(Object, Object) - Method in class net.tomp2p.utils.ConcurrentCacheMap
-
- removeAll(Collection<?>) - Method in class net.tomp2p.rpc.CountingBloomFilter
-
Not implemented
- removeAll(Collection<?>) - Method in class net.tomp2p.rpc.SimpleBloomFilter
-
Not implemented.
- removeAutomaticFuture(AutomaticFuture) - Method in class net.tomp2p.p2p.Peer
-
- 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
-
- removedFoundAddresses() - Method in class net.tomp2p.connection.DiscoverResults
-
- removedFoundBroadcastAddresses() - Method in class net.tomp2p.connection.DiscoverResults
-
- removeDiscoverNetworkListener(DiscoverNetworkListener) - Method in class net.tomp2p.connection.DiscoverNetworks
-
- removeEldestEntry(Map.Entry<K, V>) - Method in class net.tomp2p.utils.CacheMap
-
- removeIoHandler(Number160, 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
-
- removePeerStatusListener(PeerStatusListener) - Method in class net.tomp2p.connection.PeerBean
-
- removeResponsibility(Number160) - Method in interface net.tomp2p.storage.Storage
-
- removeResponsibility(Number160, Number160) - Method in interface net.tomp2p.storage.Storage
-
- 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
-
- repetitions(int) - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- repetitions() - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- replace(K, V, V) - Method in class net.tomp2p.utils.ConcurrentCacheMap
-
- replace(K, V) - Method in class net.tomp2p.utils.ConcurrentCacheMap
-
- 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.
- reporter() - Method in class net.tomp2p.futures.FutureDiscover
-
- reporter(PeerAddress) - Method in class net.tomp2p.futures.FutureDiscover
-
- request() - Method in class net.tomp2p.futures.FutureResponse
-
The future response always keeps a reference to the request.
- RequestConfiguration - Interface in net.tomp2p.p2p
-
- 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() - Method in interface net.tomp2p.p2p.builder.BasicBuilder
-
- requestP2PConfiguration(RequestP2PConfiguration) - Method in interface net.tomp2p.p2p.builder.BasicBuilder
-
- 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 interface net.tomp2p.connection.Responder
-
- response(Message) - Method in class net.tomp2p.futures.FutureResponse
-
Gets called if a peer responds.
- responseFireAndForget() - Method in interface net.tomp2p.connection.Responder
-
- responseLater(Message) - Method in class net.tomp2p.futures.FutureResponse
-
- responseMessage() - Method in class net.tomp2p.futures.FutureResponse
-
Returns the response message.
- responseNow() - Method in class net.tomp2p.futures.FutureResponse
-
- ResponsibilityListener - Interface in net.tomp2p.p2p
-
- restoreBuffers() - Method in class net.tomp2p.message.Message
-
Restores all buffers such that they can be re-read (e.g.
- 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.
- 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() - Method in interface net.tomp2p.p2p.builder.BasicBuilder
-
- routingConfiguration(RoutingConfiguration) - Method in interface net.tomp2p.p2p.builder.BasicBuilder
-
- routingConfiguration() - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- routingConfiguration(RoutingConfiguration) - Method in class net.tomp2p.p2p.builder.BootstrapBuilder
-
- routingConfiguration() - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
- routingConfiguration(RoutingConfiguration) - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
- 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
-
- routingPath() - Method in class net.tomp2p.futures.FutureRouting
-
Returns the peers that have been asked to provide neighbor information.
- RPC - Class in net.tomp2p.rpc
-
- RPC() - Constructor for class net.tomp2p.rpc.RPC
-
- RPC.Commands - Enum in net.tomp2p.rpc
-
- RSASignatureCodec - Class in net.tomp2p.message
-
- RSASignatureCodec() - Constructor for class net.tomp2p.message.RSASignatureCodec
-
- RSASignatureFactory - Class in net.tomp2p.connection
-
The signature is done with SHA1withRSA.
- RSASignatureFactory() - Constructor for class net.tomp2p.connection.RSASignatureFactory
-
- run() - Method in class net.tomp2p.p2p.MaintenanceTask
-
- SearchableBuilder - Interface in net.tomp2p.p2p.builder
-
- searchHandler(Number160, 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..
- searchHandlerMap(Number160, Number160) - Method in class net.tomp2p.connection.Dispatcher
-
- searchValues() - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- 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() - Method in class net.tomp2p.futures.BaseFutureImpl
-
- 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(PeerAddress, BroadcastBuilder, ChannelCreator, ConnectionConfiguration) - Method in class net.tomp2p.rpc.BroadcastRPC
-
- send(PeerAddress, SendDirectBuilderI, ChannelCreator) - Method in class net.tomp2p.rpc.DirectDataRPC
-
- SendBehavior - Interface in net.tomp2p.connection
-
Decice how a direct message is sent.
- sendBehavior(SendBehavior) - Method in class net.tomp2p.p2p.PeerBuilder
-
Set the send behavior.
- sendBehavior() - Method in class net.tomp2p.p2p.PeerBuilder
-
- SendBehavior.SendMethod - Enum in net.tomp2p.connection
-
- sendBroadcastUDP(ChannelCreator) - Method in class net.tomp2p.connection.RequestHandler
-
Broadcast a UDP message (layer 2) and expect a reply.
- 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
-
- 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, List<PeerStatusListener>, ChannelClientConfiguration, Dispatcher, SendBehavior, PeerBean) - Constructor for class net.tomp2p.connection.Sender
-
Creates a new sender with the listeners for offline peers.
- sender() - Method in class net.tomp2p.message.Message
-
The ID of the sender.
- sender(PeerAddress) - Method in class net.tomp2p.message.Message
-
The ID of the sender.
- senderSocket(InetSocketAddress) - Method in class net.tomp2p.message.Message
-
Store the sender of the packet.
- senderSocket() - Method in class net.tomp2p.message.Message
-
- senderTCP() - Method in class net.tomp2p.connection.ChannelClientConfiguration
-
- senderTCP(InetAddress) - Method in class net.tomp2p.connection.ChannelClientConfiguration
-
- senderUDP() - Method in class net.tomp2p.connection.ChannelClientConfiguration
-
- senderUDP(InetAddress) - Method in class net.tomp2p.connection.ChannelClientConfiguration
-
- sendInternal(PeerAddress, SendDirectBuilderI) - Method in class net.tomp2p.rpc.DirectDataRPC
-
Send data directly to a peer.
- sendSelf(FutureResponse, Message) - Method in class net.tomp2p.connection.Sender
-
In case a message is sent to the sender itself, this is the cutoff.
- 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.
- serverPeerAddress() - Method in class net.tomp2p.connection.PeerBean
-
- serverPeerAddress(PeerAddress) - Method in class net.tomp2p.connection.PeerBean
-
- setBoolean(int, boolean) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- 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
-
- setChar(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- setDataMap(DataMap) - Method in class net.tomp2p.message.Message
-
- setDone(boolean) - Method in class net.tomp2p.message.Message
-
- 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
-
- setFloat(int, float) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- setHintSign() - Method in class net.tomp2p.message.Message
-
Set if we have a signed message.
- setIndex(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- setInt(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- setListenAny(boolean) - Method in class net.tomp2p.connection.Bindings
-
- setLocal(boolean) - Method in class net.tomp2p.peers.PeerStatistic
-
- setLong(int, long) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- setMapError(Map<Number640, ?>, byte) - Static method in class net.tomp2p.utils.Utils
-
- setMaxNoNewInfo(int) - Method in class net.tomp2p.p2p.builder.RoutingBuilder
-
- setMedium(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- setPing(boolean) - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- setShort(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- setTrackerTimoutSeconds(int) - Method in class net.tomp2p.p2p.ConnectionConfiguration
-
- setupCloseListener(ChannelFuture, FutureResponse) - Method in class net.tomp2p.connection.ChannelCreator
-
Setup the close listener for a channel that was already created
- setVerified() - Method in class net.tomp2p.message.Message
-
- 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.JobScheduler
-
- shutdown() - Method in class net.tomp2p.p2p.MaintenanceTask
-
- shutdown() - Method in class net.tomp2p.p2p.Peer
-
Shuts down everything.
- 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.
- 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 class net.tomp2p.connection.RSASignatureFactory
-
- sign(PrivateKey, ByteBuf) - Method in interface net.tomp2p.connection.SignatureFactory
-
- sign(boolean) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- sign() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- sign(boolean) - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
- sign() - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
- sign(boolean) - Method in interface net.tomp2p.p2p.builder.SignatureBuilder
-
- sign() - Method in interface net.tomp2p.p2p.builder.SignatureBuilder
-
- sign(boolean) - Method in class net.tomp2p.rpc.DispatchHandler
-
- sign(KeyPair) - Method in class net.tomp2p.storage.Data
-
- sign() - Method in class net.tomp2p.storage.Data
-
- sign(PrivateKey) - 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 class net.tomp2p.connection.RSASignatureFactory
-
- 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.ChannelServerConfiguration
-
- signatureFactory(SignatureFactory) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- 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 class net.tomp2p.message.RSASignatureCodec
-
- 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
-
- signNow(KeyPair, SignatureFactory) - Method in class net.tomp2p.storage.Data
-
- signNow(PrivateKey, SignatureFactory) - 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.LocalMap
-
- 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
-
Calculates the size of this PeerSocketAddress in bytes.
- size(boolean) - Static method in class net.tomp2p.peers.PeerSocketAddress
-
Calculates the size of a PeerSocketAddress in bytes.
- size() - Method in class net.tomp2p.rpc.CountingBloomFilter
-
Not implemented
- size() - Method in class net.tomp2p.rpc.DigestInfo
-
- 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
-
- skipBytes(int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- slice() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- slice(int, int) - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- slowResponseTimeoutSeconds(int) - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- slowResponseTimeoutSeconds() - Method in class net.tomp2p.connection.ChannelServerConfiguration
-
- slowResponseTimeoutSeconds() - Method in interface net.tomp2p.connection.ConnectionConfiguration
-
- slowResponseTimeoutSeconds() - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
-
- slowResponseTimeoutSeconds(int) - Method in class net.tomp2p.connection.DefaultConnectionConfiguration
-
- slowResponseTimeoutSeconds() - Method in class net.tomp2p.connection.RequestHandler
-
- slowResponseTimeoutSeconds() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- slowResponseTimeoutSeconds(int) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- StandardProtocolFamily - Enum in net.tomp2p.connection
-
- start() - Method in class net.tomp2p.connection.DiscoverNetworks
-
- start() - Method in class net.tomp2p.p2p.builder.AnnounceBuilder
-
- 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.DiscoverBuilder
-
- start() - Method in class net.tomp2p.p2p.builder.PingBuilder
-
- start() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- start() - Method in class net.tomp2p.p2p.builder.ShutdownBuilder
-
Start the shutdown.
- start(Builder, int, int) - Method in class net.tomp2p.p2p.JobScheduler
-
- start(Builder, int, int, AutomaticFuture) - Method in class net.tomp2p.p2p.JobScheduler
-
- start() - Method in class net.tomp2p.p2p.PeerBuilder
-
Create a peer and start to listen for incoming connections.
- Statistics - Class in net.tomp2p.p2p
-
- Statistics(PeerMap) - Constructor for class net.tomp2p.p2p.Statistics
-
- status() - Method in class net.tomp2p.connection.DiscoverResults
-
- stop() - Method in class net.tomp2p.connection.DiscoverNetworks
-
- stopCreatingNewFutures(boolean) - Method in class net.tomp2p.p2p.RoutingMechanism
-
- Storage - Interface in net.tomp2p.storage
-
The storage is typically backed by multiple Java collections (HashMap, TreeMap, etc.).
- storageCheckIntervalMillis() - Method in interface net.tomp2p.storage.Storage
-
- streaming() - Method in class net.tomp2p.message.Message
-
- streaming(boolean) - Method in class net.tomp2p.message.Message
-
- streaming(boolean) - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- streaming() - Method in class net.tomp2p.p2p.builder.SendDirectBuilder
-
- subMap(Number640, Number640, int, boolean) - Method in interface net.tomp2p.storage.Storage
-
- subMapTimeout(long) - Method in interface net.tomp2p.storage.Storage
-
- 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
-
- successCount() - Method in class net.tomp2p.futures.FutureTask
-
- successCounter() - Method in class net.tomp2p.futures.FutureForkJoin
-
Returns the number of successful finished futures.
- successfullyChecked() - Method in class net.tomp2p.peers.PeerStatistic
-
Sets the time when last seen online to now.
- successfullyCheckedCounter() - Method in class net.tomp2p.peers.PeerStatistic
-
- sync() - Method in class net.tomp2p.storage.AlternativeCompositeByteBuf
-
- validFromMillis() - Method in class net.tomp2p.storage.Data
-
- validFromMillis(long) - 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.connection.SendBehavior.SendMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.tomp2p.connection.StandardProtocolFamily
-
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.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.
- 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.connection.SendBehavior.SendMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.tomp2p.connection.StandardProtocolFamily
-
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.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() - 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 class net.tomp2p.connection.RSASignatureFactory
-
- 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
-
- version() - Method in class net.tomp2p.message.Message
-
Returns the version, which is 32bit.
- version(int) - Method in class net.tomp2p.message.Message
-
For deserialization.
- versionKey() - Method in class net.tomp2p.message.DataMap
-
- versionKey() - Method in class net.tomp2p.message.KeyCollection
-
- versionKey() - Method in class net.tomp2p.peers.Number640
-
- versionKeyBloomFilter(BloomfilterFactory) - Method in class net.tomp2p.rpc.DigestInfo
-
- versoinBloomFilter() - Method in class net.tomp2p.rpc.DigestResult
-