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

A

AbstractTrafficShapingHandler - Class in org.jboss.netty.handler.traffic
AbstractTrafficShapingHandler allows to limit the global bandwidth (see GlobalTrafficShapingHandler) or per session bandwidth (see ChannelTrafficShapingHandler), as traffic shaping.
AbstractTrafficShapingHandler(Executor, long, long, long) - Constructor for class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Constructor using default ObjectSizeEstimator
AbstractTrafficShapingHandler(ObjectSizeEstimator, Executor, long, long, long) - Constructor for class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Constructor using the specified ObjectSizeEstimator
AbstractTrafficShapingHandler(Executor, long, long) - Constructor for class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Constructor using default ObjectSizeEstimator and using default Check Interval
AbstractTrafficShapingHandler(ObjectSizeEstimator, Executor, long, long) - Constructor for class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Constructor using the specified ObjectSizeEstimator and using default Check Interval
AbstractTrafficShapingHandler(Executor) - Constructor for class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Constructor using default ObjectSizeEstimator and using NO LIMIT and default Check Interval
AbstractTrafficShapingHandler(ObjectSizeEstimator, Executor) - Constructor for class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Constructor using the specified ObjectSizeEstimator and using NO LIMIT and default Check Interval
AbstractTrafficShapingHandler(Executor, long) - Constructor for class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Constructor using default ObjectSizeEstimator and using NO LIMIT
AbstractTrafficShapingHandler(ObjectSizeEstimator, Executor, long) - Constructor for class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Constructor using the specified ObjectSizeEstimator and using NO LIMIT
add(Message, RequestHandlerTCP) - Method in class net.tomp2p.connection.DispatcherReply
 
add(K) - Method in class net.tomp2p.futures.FutureLateJoin
 
add(Number160, Number160, Collection<Data>, RoutingConfiguration, RequestP2PConfiguration, boolean, boolean, FutureCreate<FutureDHT>) - Method in class net.tomp2p.p2p.DistributedHashHashMap
 
add(Number160, Data) - Method in class net.tomp2p.p2p.Peer
 
add(Number160, Data, ConfigurationStore) - Method in class net.tomp2p.p2p.Peer
 
add(Number160, Collection<Data>, ConfigurationStore) - Method in class net.tomp2p.p2p.Peer
 
add(PeerAddress, Number160, Number160, Collection<Data>, boolean, boolean) - Method in class net.tomp2p.rpc.StorageRPC
 
addAddress(InetAddress) - Method in class net.tomp2p.connection.Bindings
 
addAddressFilter(InetAddress) - Method in interface net.tomp2p.peers.PeerMap
 
addAddressFilter(InetAddress) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
addBroadcastAddress(InetAddress) - Method in class net.tomp2p.connection.Bindings
 
addCancellation(Cancellable) - Method in interface net.tomp2p.futures.BaseFuture
Adds a cancel listener to this future, which is called when cancel is executed.
addCancellation(Cancellable) - Method in class net.tomp2p.futures.BaseFutureImpl
 
addChannel(Number160, Number160, InetAddress, Channel) - Method in class net.tomp2p.connection.TCPChannelCache
 
addIndirectReplicaiton(Runnable) - Method in class net.tomp2p.p2p.Peer
 
addInterface(String) - Method in class net.tomp2p.connection.Bindings
 
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>) - Method in class net.tomp2p.futures.BaseFutureImpl
 
addMaintainance(Runnable) - Method in class net.tomp2p.p2p.Peer
 
addPeerListener(PeerListener) - Method in class net.tomp2p.p2p.Peer
 
addPeerMapChangeListener(PeerMapChangeListener) - Method in interface net.tomp2p.peers.PeerMap
 
addPeerMapChangeListener(PeerMapChangeListener) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
addPeerOfflineListener(PeerOfflineListener) - Method in interface net.tomp2p.peers.PeerMap
 
addPeerOfflineListener(PeerOfflineListener) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
addProtocol(Bindings.Protocol) - Method in class net.tomp2p.connection.Bindings
 
addResponsibilityListener(ResponsibilityListener) - Method in class net.tomp2p.replication.Replication
 
addToTracker(Number160, Number160, Data, RoutingConfiguration, TrackerConfiguration, boolean, FutureCreate<FutureTracker>) - Method in class net.tomp2p.p2p.DistributedTracker
 
addToTracker(Number160, ConfigurationTrackerStore) - Method in class net.tomp2p.p2p.Peer
 
addToTracker(PeerAddress, Number160, Number160, Data, boolean, boolean) - Method in class net.tomp2p.rpc.TrackerRPC
 
addToTrackerReplication(PeerAddress, Number160, Number160, Data, boolean) - Method in class net.tomp2p.rpc.TrackerRPC
 
afterAdd(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandler
 
afterRemove(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandler
 
array() - Method in interface net.tomp2p.message.DataInput
 
arrayOffset() - Method in interface net.tomp2p.message.DataInput
 
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
 
awaitUninterruptibly() - Method in interface net.tomp2p.futures.BaseFuture
Wait for the asynchronous operation to end without interruption.
awaitUninterruptibly(long) - Method in interface net.tomp2p.futures.BaseFuture
Wait for the asynchronous operation to end with the specified timeout without interruption.
awaitUninterruptibly() - Method in class net.tomp2p.futures.BaseFutureImpl
 
awaitUninterruptibly(long) - Method in class net.tomp2p.futures.BaseFutureImpl
 

B

BaseFuture - Interface in net.tomp2p.futures
Represents the result of an asynchronous operation.
BaseFuture.FutureType - Enum in net.tomp2p.futures
 
BaseFutureAdapter<F extends BaseFuture> - Class in net.tomp2p.futures
 
BaseFutureAdapter() - Constructor for class net.tomp2p.futures.BaseFutureAdapter
 
BaseFutureImpl - Class in net.tomp2p.futures
The base for all BaseFuture implementations.
BaseFutureImpl() - Constructor for class net.tomp2p.futures.BaseFutureImpl
 
BaseFutureListener<F extends BaseFuture> - Interface in net.tomp2p.futures
Something interested in being notified when the result of an BaseFuture becomes available.
beforeAdd(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandler
 
beforeRemove(ChannelHandlerContext) - Method in class net.tomp2p.connection.IdleStateHandler
 
bestEffortclose(Closeable...) - Static method in class net.tomp2p.utils.Utils
 
Bindings - Class in net.tomp2p.connection
 
Bindings() - Constructor for class net.tomp2p.connection.Bindings
 
Bindings(InetAddress) - Constructor for class net.tomp2p.connection.Bindings
 
Bindings(boolean) - Constructor for class net.tomp2p.connection.Bindings
 
Bindings(Bindings.Protocol) - Constructor for class net.tomp2p.connection.Bindings
 
Bindings(String) - Constructor for class net.tomp2p.connection.Bindings
 
Bindings(Bindings.Protocol, String) - Constructor for class net.tomp2p.connection.Bindings
 
Bindings(Bindings.Protocol, String, InetAddress, int, int, boolean) - Constructor for class net.tomp2p.connection.Bindings
 
Bindings.Protocol - Enum in net.tomp2p.connection
 
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
 
bootstrap(InetSocketAddress) - Method in class net.tomp2p.p2p.Peer
 
bootstrap(Collection<PeerAddress>) - Method in class net.tomp2p.p2p.Peer
 
bootstrap(Collection<PeerAddress>, ConfigurationStore) - Method in class net.tomp2p.p2p.Peer
 
bootstrap(PeerAddress) - Method in class net.tomp2p.p2p.Peer
 
bootstrap(Collection<PeerAddress>, int, int, int, boolean) - Method in class net.tomp2p.p2p.Routing
Bootstraps to the given remoteNode, i.e.
bootstrapBroadcast() - Method in class net.tomp2p.p2p.Peer
 
BYTE_ARRAY_SIZE - Static variable in class net.tomp2p.peers.Number160
 
byteArrayToInt(byte[]) - Static method in class net.tomp2p.utils.Utils
 

C

CacheMap<K,V> - Class in net.tomp2p.utils
 
CacheMap(int) - Constructor for class net.tomp2p.utils.CacheMap
 
call(Number160, Number160, Number160, Data) - Method in interface net.tomp2p.storage.StorageRunner
 
cancel() - Method in class net.tomp2p.connection.ReplyTimeoutHandler
 
cancel() - Method in class net.tomp2p.futures.BaseFutureImpl
 
cancel() - Method in interface net.tomp2p.futures.Cancellable
 
cancel() - Method in class net.tomp2p.futures.FutureDHT
 
cancel() - Method in class net.tomp2p.futures.FutureDiscover
 
cancel() - Method in class net.tomp2p.futures.FutureTracker
 
Cancellable - Interface in net.tomp2p.futures
 
cancelTimeout() - Method in class net.tomp2p.futures.FutureResponse
 
channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class net.tomp2p.connection.DispatcherReply
 
channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class net.tomp2p.connection.IdleStateHandler
 
channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
channelConnected(ChannelHandlerContext, ChannelStateEvent) - Method in class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
channelIdle(ChannelHandlerContext, IdleStateEvent) - Method in class net.tomp2p.connection.DispatcherReply
 
channelIdle(ChannelHandlerContext, IdleState, long) - Method in class net.tomp2p.connection.IdleStateHandler
 
channelOpen(ChannelHandlerContext, ChannelStateEvent) - Method in class net.tomp2p.connection.DispatcherReply
 
channelOpen(ChannelHandlerContext, ChannelStateEvent) - Method in class net.tomp2p.connection.DispatcherRequest
 
channelOpen(ChannelHandlerContext, ChannelStateEvent) - Method in class net.tomp2p.connection.IdleStateHandler
 
channelOpen(ChannelHandlerContext, ChannelStateEvent) - Method in class net.tomp2p.connection.ReplyTimeoutHandler
 
channelTCP(ChannelHandler, ChannelHandler, SocketAddress, int, TCPChannelCache) - Method in class net.tomp2p.connection.ConnectionCollector
Returns a channel that is managed by this pool.
ChannelTrafficShapingHandler - Class in org.jboss.netty.handler.traffic
This implementation of the AbstractTrafficShapingHandler is for channel traffic shaping, that is to say a per channel limitation of the bandwidth.

The general use should be as follow:
Add in your pipeline a new ChannelTrafficShapingHandler, before a recommended ExecutionHandler (like OrderedMemoryAwareThreadPoolExecutor or MemoryAwareThreadPoolExecutor).
ChannelTrafficShapingHandler myHandler = new ChannelTrafficShapingHandler(executor);
executor could be created using Executors.newCachedThreadPool();
pipeline.addLast("CHANNEL_TRAFFIC_SHAPING", myHandler);

Note that this handler has a Pipeline Coverage of "one" which means a new handler must be created for each new channel as the counter cannot be shared among all channels. For instance, if you have a ChannelPipelineFactory, you should create a new ChannelTrafficShapingHandler in this ChannelPipelineFactory each time getPipeline() method is called.

Other arguments can be passed like write or read limitation (in bytes/s where 0 means no limitation) or the check interval (in millisecond) that represents the delay between two computations of the bandwidth and so the call back of the doAccounting method (0 means no accounting at all).

A value of 0 means no accounting for checkInterval.
ChannelTrafficShapingHandler(Executor, long, long, long) - Constructor for class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
ChannelTrafficShapingHandler(Executor, long, long) - Constructor for class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
ChannelTrafficShapingHandler(Executor, long) - Constructor for class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
ChannelTrafficShapingHandler(Executor) - Constructor for class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
ChannelTrafficShapingHandler(ObjectSizeEstimator, Executor, long, long, long) - Constructor for class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
ChannelTrafficShapingHandler(ObjectSizeEstimator, Executor, long, long) - Constructor for class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
ChannelTrafficShapingHandler(ObjectSizeEstimator, Executor, long) - Constructor for class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
ChannelTrafficShapingHandler(ObjectSizeEstimator, Executor) - Constructor for class org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler
 
channelUDP(ChannelHandler, ChannelHandler, boolean) - Method in class net.tomp2p.connection.ConnectionCollector
 
checkInterval - Variable in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Delay between two performance snapshots
checkMessage(Message) - Method in class net.tomp2p.rpc.DirectDataRPC
 
checkMessage(Message) - Method in class net.tomp2p.rpc.HandshakeRPC
 
checkMessage(Message) - Method in class net.tomp2p.rpc.NeighborRPC
 
checkMessage(Message) - Method in class net.tomp2p.rpc.QuitRPC
 
checkMessage(Message) - Method in class net.tomp2p.rpc.ReplyHandler
Before a reply can be done, the message needs to be checked.
checkMessage(Message) - Method in class net.tomp2p.rpc.StorageRPC
 
checkMessage(Message) - Method in class net.tomp2p.rpc.TrackerRPC
 
checkResponsibility(Number160) - Method in class net.tomp2p.replication.Replication
 
close() - Method in class net.tomp2p.connection.MessageLogger
 
close() - Method in class net.tomp2p.storage.Storage
 
close() - Method in class net.tomp2p.storage.StorageDisk
 
close() - Method in class net.tomp2p.storage.StorageMemory
 
closeNeighbors(PeerAddress, Number160, Number160, Collection<Number160>, Message.Command, boolean, boolean) - Method in class net.tomp2p.rpc.NeighborRPC
 
closePeers(Number160, int) - Method in interface net.tomp2p.peers.PeerMap
Returns close peer from the set to a given key.
closePeers(Number160, int) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
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(PeerAddress) - Method in class net.tomp2p.peers.PeerAddress
 
compareTo(ShortString) - Method in class net.tomp2p.peers.ShortString
 
completed - Variable in class net.tomp2p.futures.BaseFutureImpl
 
compress(byte[]) - Static method in class net.tomp2p.utils.Utils
 
ConfigurationBase - Class in net.tomp2p.p2p.config
 
ConfigurationBase() - Constructor for class net.tomp2p.p2p.config.ConfigurationBase
 
ConfigurationDirect - Class in net.tomp2p.p2p.config
 
ConfigurationDirect() - Constructor for class net.tomp2p.p2p.config.ConfigurationDirect
 
ConfigurationGet - Class in net.tomp2p.p2p.config
 
ConfigurationGet() - Constructor for class net.tomp2p.p2p.config.ConfigurationGet
 
ConfigurationRemove - Class in net.tomp2p.p2p.config
 
ConfigurationRemove() - Constructor for class net.tomp2p.p2p.config.ConfigurationRemove
 
Configurations - Class in net.tomp2p.p2p.config
 
Configurations() - Constructor for class net.tomp2p.p2p.config.Configurations
 
ConfigurationStore - Class in net.tomp2p.p2p.config
 
ConfigurationStore() - Constructor for class net.tomp2p.p2p.config.ConfigurationStore
 
ConfigurationTrackerGet - Class in net.tomp2p.p2p.config
 
ConfigurationTrackerGet() - Constructor for class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
ConfigurationTrackerStore - Class in net.tomp2p.p2p.config
 
ConfigurationTrackerStore() - Constructor for class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
configure(long, long, long) - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Change the underlying limitations and check interval.
configure(long, long) - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Change the underlying limitations.
configure(long) - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Change the check interval.
configure(long) - Method in class org.jboss.netty.handler.traffic.TrafficCounter
Change checkInterval between two computations in millisecond
ConnectionBean - Class in net.tomp2p.connection
 
ConnectionBean(int, DispatcherRequest, Sender, ChannelGroup) - Constructor for class net.tomp2p.connection.ConnectionBean
 
ConnectionCollector - Class in net.tomp2p.connection
The connection pool limits the connection used in the application.
ConnectionCollector(ChannelFactory, ChannelFactory, ConnectionConfiguration, ExecutionHandler, GlobalTrafficShapingHandler) - Constructor for class net.tomp2p.connection.ConnectionCollector
 
ConnectionConfiguration - Class in net.tomp2p.connection
 
ConnectionConfiguration() - Constructor for class net.tomp2p.connection.ConnectionConfiguration
 
ConnectionHandler - Class in net.tomp2p.connection
Handles the server connections of a node, i.e.
ConnectionHandler(int, int, Number160, Bindings, int, ConnectionConfiguration, File, KeyPair, PeerMap, List<PeerListener>) - Constructor for class net.tomp2p.connection.ConnectionHandler
 
ConnectionHandler(ConnectionHandler, Number160, KeyPair, PeerMap) - Constructor for class net.tomp2p.connection.ConnectionHandler
Attaches a peer to an existing connection and use existing information
contains(PeerAddress) - Method in interface net.tomp2p.peers.PeerMap
 
contains(PeerAddress) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
contains(Number480) - Method in class net.tomp2p.storage.Storage
 
contains(Number480) - Method in class net.tomp2p.storage.StorageDisk
 
contains(Number480) - Method in class net.tomp2p.storage.StorageMemory
 
create(int) - Method in interface net.tomp2p.message.DataOutputFactory
 
create(byte[], int, int) - Method in interface net.tomp2p.message.DataOutputFactory
 
create(byte[]) - Method in interface net.tomp2p.message.DataOutputFactory
 
create(PeerAddress) - Method in interface net.tomp2p.p2p.DistributedHashHashMap.Operation
 
create(PeerAddress, boolean) - Method in interface net.tomp2p.p2p.DistributedTracker.Operation
 
created(FutureDHT) - Method in class net.tomp2p.futures.FutureDHT
 
createData(byte[], int, int, int, boolean, PeerAddress) - Static method in class net.tomp2p.message.MessageCodec
 
createHash(int) - Static method in class net.tomp2p.peers.Number160
Create a new Number160 from the integer, which fills all the 160bits.
createHash(long) - Static method in class net.tomp2p.peers.Number160
Create a new Number160 from the long, which fills all the 160bit.
createHash(String) - Static method in class net.tomp2p.peers.Number160
Create a new Number160 using SHA1 on the string.
createMessage(PeerAddress, Message.Command, Message.Type) - Method in class net.tomp2p.rpc.ReplyHandler
 
createPeerComparator(Number160) - Method in interface net.tomp2p.peers.PeerMap
Creates a comparator that orders to peers according to their distance to the specified id.
createPeerComparator() - Method in interface net.tomp2p.peers.PeerMap
 
createPeerComparator(Number160) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
createPeerComparator() - Method in class net.tomp2p.peers.PeerMapKadImpl
 
createRandomNodeID() - Static method in class net.tomp2p.utils.Utils
 
createSocketTCP() - Method in class net.tomp2p.peers.PeerAddress
Returns the socket address.
createSocketUDP() - Method in class net.tomp2p.peers.PeerAddress
Returns the socket address.
createType() - Method in class net.tomp2p.peers.PeerAddress
 
CumulativeScheme - Class in net.tomp2p.p2p
 
CumulativeScheme() - Constructor for class net.tomp2p.p2p.CumulativeScheme
 
customLoggerMessage(String) - Method in class net.tomp2p.connection.ConnectionHandler
 
customLoggerMessage(String) - Method in class net.tomp2p.p2p.Peer
 
customMessage(String) - Method in class net.tomp2p.connection.MessageLogger
 

D

Data - Class in net.tomp2p.storage
This class holds the data for the transport.
Data(Object) - Constructor for class net.tomp2p.storage.Data
 
Data(Object, PeerAddress) - Constructor for class net.tomp2p.storage.Data
 
Data(byte[]) - Constructor for class net.tomp2p.storage.Data
 
Data(byte[], PeerAddress) - Constructor for class net.tomp2p.storage.Data
 
Data(byte[], int, int, PeerAddress) - Constructor for class net.tomp2p.storage.Data
 
dataDirectReplication - Variable in class net.tomp2p.storage.StorageMemory
 
DataInput - Interface in net.tomp2p.message
 
dataMap - Variable in class net.tomp2p.storage.StorageMemory
 
DataOutput - Interface in net.tomp2p.message
 
DataOutputFactory - Interface in net.tomp2p.message
 
DataSet - Class in net.tomp2p.storage
 
DataSet(Data, Number160, Number160, Number160) - Constructor for class net.tomp2p.storage.DataSet
 
decode(byte[]) - Method in class net.tomp2p.message.SHA1Signature
 
decode(ChannelHandlerContext, Channel, ChannelBuffer) - Method in class net.tomp2p.message.TomP2PDecoderTCP
 
decodeData(DataInput, Message) - Static method in class net.tomp2p.message.MessageCodec
 
decodeHeader(ChannelBuffer, InetAddress) - Static method in class net.tomp2p.message.MessageCodec
Decode a message header from a Netty buffer
decodeJavaObject(byte[], int, int) - Static method in class net.tomp2p.utils.Utils
 
decodePayload(Message.Content, ChannelBuffer, Message) - Static method in class net.tomp2p.message.MessageCodec
Decodes the payload from a Netty buffer in a big switch
decodePublicKey(DataInput, byte[]) - Static method in class net.tomp2p.message.MessageCodec
 
DecoderException - Exception in net.tomp2p.message
 
DecoderException(String) - Constructor for exception net.tomp2p.message.DecoderException
 
DEFAULT_CHANNEL_NAME - Static variable in class net.tomp2p.connection.TCPChannelCache
 
DEFAULT_CHECK_INTERVAL - Static variable in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Default delay between two checks: 1s
DEFAULT_DOMAIN - Static variable in class net.tomp2p.p2p.config.Configurations
 
DEFAULT_TRACKER_DOMAIN - Static variable in class net.tomp2p.p2p.config.Configurations
 
defaultConfigurationDirect() - Static method in class net.tomp2p.p2p.config.Configurations
 
defaultGetConfiguration() - Static method in class net.tomp2p.p2p.config.Configurations
 
defaultRemoveConfiguration() - Static method in class net.tomp2p.p2p.config.Configurations
 
DefaultStorageReplication - Class in net.tomp2p.replication
 
DefaultStorageReplication(Peer, Storage, StorageRPC, Map<BaseFuture, Long>) - Constructor for class net.tomp2p.replication.DefaultStorageReplication
 
defaultStoreConfiguration() - Static method in class net.tomp2p.p2p.config.Configurations
 
defaultTrackerGetConfiguration() - Static method in class net.tomp2p.p2p.config.Configurations
 
DefaultTrackerReplication - Class in net.tomp2p.replication
 
DefaultTrackerReplication(Storage, TrackerRPC, Map<BaseFuture, Long>, Statistics) - Constructor for class net.tomp2p.replication.DefaultTrackerReplication
 
defaultTrackerStoreConfiguration() - Static method in class net.tomp2p.p2p.config.Configurations
 
Delete - Class in net.tomp2p.storage
 
Delete() - Constructor for class net.tomp2p.storage.Delete
 
difference(Collection<PeerAddress>, Collection<PeerAddress>, Collection<PeerAddress>) - Static method in class net.tomp2p.utils.Utils
 
digest(Number480, Number480) - Method in class net.tomp2p.storage.Storage
 
digest(Collection<Number480>) - Method in class net.tomp2p.storage.Storage
 
digest(Number320) - Method in class net.tomp2p.storage.Storage
 
digest(Number480, Number480) - Method in class net.tomp2p.storage.StorageDisk
 
digest(Collection<Number480>) - Method in class net.tomp2p.storage.StorageDisk
 
digest(Number480, Number480) - Method in class net.tomp2p.storage.StorageMemory
 
digest(Collection<Number480>) - Method in class net.tomp2p.storage.StorageMemory
 
digest(Storage, Number160, Number160, Collection<Number160>) - Static method in class net.tomp2p.utils.Utils
 
DigestInfo - Class in net.tomp2p.rpc
 
DigestInfo(Number160, int) - Constructor for class net.tomp2p.rpc.DigestInfo
 
direct(Number160, ChannelBuffer, boolean, RoutingConfiguration, RequestP2PConfiguration, FutureCreate<FutureDHT>, boolean) - Method in class net.tomp2p.p2p.DistributedHashHashMap
 
DirectDataRPC - Class in net.tomp2p.rpc
 
DirectDataRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.DirectDataRPC
 
discover(PeerAddress) - Method in class net.tomp2p.p2p.Peer
 
discoverLocalInterfaces() - Method in class net.tomp2p.connection.Bindings
 
DispatcherReply - Class in net.tomp2p.connection
 
DispatcherReply(Timer, int, DispatcherRequest, ChannelGroup) - Constructor for class net.tomp2p.connection.DispatcherReply
 
DispatcherRequest - Class in net.tomp2p.connection
Used to deliver incoming REQUEST messages to their specific handlers.
DispatcherRequest(int, PeerBean, int, int, ChannelGroup, PeerMap, List<PeerListener>, TCPChannelCache) - Constructor for class net.tomp2p.connection.DispatcherRequest
Constructor
DistributedHashHashMap - Class in net.tomp2p.p2p
 
DistributedHashHashMap(Routing, StorageRPC, DirectDataRPC) - Constructor for class net.tomp2p.p2p.DistributedHashHashMap
 
DistributedHashHashMap.Operation - Interface in net.tomp2p.p2p
 
DistributedTracker - Class in net.tomp2p.p2p
 
DistributedTracker(PeerBean, Routing, TrackerRPC) - Constructor for class net.tomp2p.p2p.DistributedTracker
 
DistributedTracker.Operation - Interface in net.tomp2p.p2p
 
doAccounting(TrafficCounter) - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Called each time the accounting is computed from the TrafficCounters.
done(PeerAddress) - Method in class net.tomp2p.futures.FutureDiscover
 
doubleValue() - Method in class net.tomp2p.peers.Number160
 

E

EMPTY_BYTE_ARRAY - Static variable in class net.tomp2p.message.MessageCodec
 
encode() - Method in class net.tomp2p.message.SHA1Signature
 
encode(ChannelHandlerContext, Channel, Object) - Method in class net.tomp2p.message.TomP2PEncoderStage1
 
encode(ChannelHandlerContext, Channel, Object) - Method in class net.tomp2p.message.TomP2PEncoderStage2
 
encodeData(Collection<DataOutput>, DataOutputFactory, Message, Data) - Static method in class net.tomp2p.message.MessageCodec
 
encodeHeader(ChannelBuffer, Message) - Static method in class net.tomp2p.message.MessageCodec
The format looks as follows: 32bit p2p version - 32bit id - 4bit message type - 4bit message name - 160bit sender id - 16bit tcp port - 16bit udp port - 160bit recipient id - 32bit message length - 16bit (4x4)content type - 8bit network address information - 32bit network information.
encodeJavaObject(Object) - Static method in class net.tomp2p.utils.Utils
 
encodePayload(Message, List<ChannelBuffer>) - Static method in class net.tomp2p.message.MessageCodec
Encode payload
encodeSecurity(Message, List<ChannelBuffer>) - Static method in class net.tomp2p.message.MessageCodec
 
equals(Object) - Method in class net.tomp2p.message.MessageID
 
equals(Object) - Method in class net.tomp2p.peers.Number160
 
equals(Object) - Method in class net.tomp2p.peers.Number320
 
equals(Object) - Method in class net.tomp2p.peers.Number480
 
equals(Object) - Method in class net.tomp2p.peers.PeerAddress
 
equals(Object) - Method in class net.tomp2p.peers.ShortString
 
equals(Object) - Method in class net.tomp2p.storage.DataSet
 
evaluate(Map<PeerAddress, Map<PeerAddress, Data>>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeTracker
 
evaluate(Map<PeerAddress, Map<PeerAddress, Data>>) - Method in class net.tomp2p.p2p.VotingSchemeTracker
 
evaluate1(Map<PeerAddress, Collection<Number160>>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate1(Map<PeerAddress, Collection<Number160>>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate1(Map<PeerAddress, Collection<Number160>>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluate2(Map<PeerAddress, Map<Number160, Data>>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate2(Map<PeerAddress, Map<Number160, Data>>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate2(Map<PeerAddress, Map<Number160, Data>>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluate3(Map<PeerAddress, Object>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate3(Map<PeerAddress, Object>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate3(Map<PeerAddress, Object>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluate4(Map<PeerAddress, ChannelBuffer>) - Method in class net.tomp2p.p2p.CumulativeScheme
 
evaluate4(Map<PeerAddress, ChannelBuffer>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeDHT
 
evaluate4(Map<PeerAddress, ChannelBuffer>) - Method in class net.tomp2p.p2p.VotingSchemeDHT
 
evaluateSingle(Map<PeerAddress, Map<PeerAddress, Data>>) - Method in interface net.tomp2p.p2p.EvaluatingSchemeTracker
 
evaluateSingle(Map<PeerAddress, Map<PeerAddress, Data>>) - Method in class net.tomp2p.p2p.VotingSchemeTracker
 
EvaluatingSchemeDHT - Interface in net.tomp2p.p2p
 
EvaluatingSchemeTracker - Interface in net.tomp2p.p2p
 
exampleDHT() - Static method in class net.tomp2p.examples.Examples
 
exampleGetBlocking(Peer[], Number160) - Static method in class net.tomp2p.examples.Examples
 
exampleGetNonBlocking(Peer[], Number160) - Static method in class net.tomp2p.examples.Examples
 
exampleNAT() - Static method in class net.tomp2p.examples.Examples
 
examplePutGet(Peer[]) - Static method in class net.tomp2p.examples.Examples
 
Examples - Class in net.tomp2p.examples
This simple example creates 10 nodes, bootstraps to the first and put and get data from those 10 nodes.
Examples() - Constructor for class net.tomp2p.examples.Examples
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class net.tomp2p.connection.DispatcherReply
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class net.tomp2p.connection.DispatcherRequest
Called if we get an exception
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class net.tomp2p.connection.ReplyTimeoutHandler
 
exceptionCaught(Throwable) - Method in class net.tomp2p.futures.BaseFutureAdapter
 
exceptionCaught(Throwable) - Method in interface net.tomp2p.futures.BaseFutureListener
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class net.tomp2p.message.TomP2PDecoderTCP
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class net.tomp2p.rpc.ReplyHandler
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class net.tomp2p.rpc.RequestHandlerUDP
 
executor - Variable in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Executor to associated to any TrafficCounter
expectedLength(int) - Static method in class net.tomp2p.peers.PeerAddress
 
expireCache() - Method in class net.tomp2p.connection.TCPChannelCache
 

F

findResponsibleData(Number160) - Method in class net.tomp2p.storage.Storage
 
findResponsibleData(Number160) - Method in class net.tomp2p.storage.StorageDisk
 
findResponsibleData(Number160) - Method in class net.tomp2p.storage.StorageMemory
 
findResponsiblePeerID(Number160) - Method in class net.tomp2p.storage.Storage
 
findResponsiblePeerID(Number160) - Method in class net.tomp2p.storage.StorageDisk
 
findResponsiblePeerID(Number160) - Method in class net.tomp2p.storage.StorageMemory
 
finished() - Method in class net.tomp2p.message.Message
 
fireAndForgetTCP() - Method in class net.tomp2p.rpc.RequestHandlerTCP
 
fireAndForgetUDP() - Method in class net.tomp2p.rpc.RequestHandlerUDP
 
fireTCP(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
fireUDP(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
floatValue() - Method in class net.tomp2p.peers.Number160
 
format(LogRecord) - Method in class net.tomp2p.utils.LogFormatter
 
forward(InetAddress) - Method in class net.tomp2p.peers.PeerAddress
 
forwardMessage(Message) - Method in class net.tomp2p.rpc.ReplyHandler
 
FROM_MESSAGE - Static variable in class net.tomp2p.storage.Data
 
FutureBootstrap - Interface in net.tomp2p.futures
 
FutureCreate<K extends BaseFuture> - Interface in net.tomp2p.futures
 
FutureData - Class in net.tomp2p.futures
 
FutureData(Message, boolean) - Constructor for class net.tomp2p.futures.FutureData
Creates the request message for raw data.
FutureDHT - Class in net.tomp2p.futures
 
FutureDHT(int) - Constructor for class net.tomp2p.futures.FutureDHT
 
FutureDHT(int, EvaluatingSchemeDHT) - Constructor for class net.tomp2p.futures.FutureDHT
 
FutureDiscover - Class in net.tomp2p.futures
 
FutureDiscover(int) - Constructor for class net.tomp2p.futures.FutureDiscover
 
FutureForkedBroadcast - Class in net.tomp2p.futures
 
FutureForkedBroadcast(Collection<PeerAddress>, FutureRouting...) - Constructor for class net.tomp2p.futures.FutureForkedBroadcast
 
FutureForkJoin<K extends BaseFuture> - Class in net.tomp2p.futures
 
FutureForkJoin(K...) - Constructor for class net.tomp2p.futures.FutureForkJoin
 
FutureForkJoin(int, boolean, K...) - Constructor for class net.tomp2p.futures.FutureForkJoin
 
FutureLateJoin<K extends BaseFuture> - Class in net.tomp2p.futures
 
FutureLateJoin(int) - Constructor for class net.tomp2p.futures.FutureLateJoin
 
FutureResponse - Class in net.tomp2p.futures
Each response has at least a request messages.
FutureResponse(Message) - Constructor for class net.tomp2p.futures.FutureResponse
 
FutureRouting - Class in net.tomp2p.futures
 
FutureRouting() - Constructor for class net.tomp2p.futures.FutureRouting
 
FutureTracker - Class in net.tomp2p.futures
 
FutureTracker() - Constructor for class net.tomp2p.futures.FutureTracker
 
FutureTracker(EvaluatingSchemeTracker) - Constructor for class net.tomp2p.futures.FutureTracker
 
FutureWrappedBootstrap - Class in net.tomp2p.futures
 
FutureWrappedBootstrap() - Constructor for class net.tomp2p.futures.FutureWrappedBootstrap
 
FutureWrapper<K extends BaseFuture> - Class in net.tomp2p.futures
 
FutureWrapper() - Constructor for class net.tomp2p.futures.FutureWrapper
 

G

get(Number160, Number160, Set<Number160>, PublicKey, RoutingConfiguration, RequestP2PConfiguration, EvaluatingSchemeDHT, boolean) - Method in class net.tomp2p.p2p.DistributedHashHashMap
 
get(Number160) - Method in class net.tomp2p.p2p.Peer
 
get(Number160, ConfigurationGet) - Method in class net.tomp2p.p2p.Peer
 
get(Number160, Set<Number160>, ConfigurationGet) - Method in class net.tomp2p.p2p.Peer
 
get(PeerAddress, Number160, Number160, Collection<Number160>, PublicKey, boolean) - Method in class net.tomp2p.rpc.StorageRPC
 
get(Number480) - Method in class net.tomp2p.storage.Storage
 
get(Number480, Number480) - Method in class net.tomp2p.storage.Storage
 
get(Collection<Number480>) - Method in class net.tomp2p.storage.Storage
 
get(Collection<Number480>, PublicKey) - Method in class net.tomp2p.storage.Storage
 
get(Number320) - Method in class net.tomp2p.storage.Storage
 
get(Number480) - Method in class net.tomp2p.storage.StorageDisk
 
get(Number480, Number480) - Method in class net.tomp2p.storage.StorageDisk
 
get(Number480) - Method in class net.tomp2p.storage.StorageMemory
 
get(Number480, Number480) - Method in class net.tomp2p.storage.StorageMemory
 
getAbortCause() - Method in exception net.tomp2p.connection.PeerException
 
getAddresses() - Method in class net.tomp2p.connection.Bindings
 
getAll() - Method in class net.tomp2p.futures.FutureForkJoin
 
getAll(Number160) - Method in class net.tomp2p.p2p.Peer
 
getAll(Number160, ConfigurationGet) - Method in class net.tomp2p.p2p.Peer
 
getAll() - Method in interface net.tomp2p.peers.PeerMap
Return all addresses from the neighbor list.
getAll() - Method in class net.tomp2p.peers.PeerMapKadImpl
 
getAtLeastSucessfulRequestes() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getAtLeastTrackers() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getAttachement() - Method in class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
getAvgGap() - Method in class net.tomp2p.p2p.Statistics
 
getBagSize() - Method in class net.tomp2p.p2p.P2PConfiguration
 
getBootstrapTo() - Method in interface net.tomp2p.futures.FutureBootstrap
 
getBootstrapTo() - Method in class net.tomp2p.futures.FutureForkedBroadcast
 
getBootstrapTo() - Method in class net.tomp2p.futures.FutureWrappedBootstrap
 
getBroadcastAddresses() - Method in class net.tomp2p.connection.Bindings
 
getBuffer() - Method in class net.tomp2p.futures.FutureData
 
getBuffers() - Method in class net.tomp2p.message.IntermediateMessage
 
getCacheSize() - Method in class net.tomp2p.p2p.P2PConfiguration
 
getCacheTimeoutMillis() - Method in class net.tomp2p.p2p.P2PConfiguration
 
getChannel(ChannelHandler, FutureResponse, int, int, Message, RequestHandlerTCP) - Method in class net.tomp2p.connection.TCPChannelCache
 
getChannel(String, ChannelHandler, FutureResponse, int, int, Message, RequestHandlerTCP) - Method in class net.tomp2p.connection.TCPChannelCache
 
getChannelBuffer() - Method in class net.tomp2p.futures.FutureDHT
 
getChannelDownstreamHandler() - Method in class net.tomp2p.connection.MessageLogger
 
getChannelGroup() - Method in class net.tomp2p.connection.ConnectionBean
 
getChannelUpstreamHandler() - Method in class net.tomp2p.connection.MessageLogger
 
getChecked(PeerAddress) - Method in class net.tomp2p.peers.PeerMapStat
 
getChecked() - Method in class net.tomp2p.peers.PeerStat
 
getCheckInterval() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getCommand() - Method in class net.tomp2p.message.Message
Command of the message, such as GET, PING, etc.
getConfiguration() - Method in class net.tomp2p.connection.Sender
 
getConnectionBean() - Method in class net.tomp2p.connection.ConnectionHandler
 
getConnectionBean() - Method in class net.tomp2p.p2p.Peer
 
getConnectionCollector() - Method in class net.tomp2p.connection.Sender
 
getConnectionConfiguration() - Method in class net.tomp2p.p2p.Peer
 
getConnectionHandler() - Method in class net.tomp2p.p2p.Peer
 
getConnectTimeoutMillis() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getContentKey() - Method in class net.tomp2p.p2p.config.ConfigurationBase
 
getContentKey() - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
getContentKey() - Method in class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
getContentKey() - Method in class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
getContentKey() - Method in class net.tomp2p.peers.Number480
 
getContentKey() - Method in class net.tomp2p.storage.DataSet
 
getContentLength() - Method in class net.tomp2p.message.Message
The length of the payload
getContentType1() - Method in class net.tomp2p.message.Message
Returns first content type.
getContentType2() - Method in class net.tomp2p.message.Message
Returns second content type, only if first is not empty
getContentType3() - Method in class net.tomp2p.message.Message
Returns second content type, only if first is not empty
getContentType4() - Method in class net.tomp2p.message.Message
Returns second content type, only if first is not empty
getCrated() - Method in class net.tomp2p.peers.PeerStat
 
getCreated() - Method in class net.tomp2p.storage.Data
 
getCumulativeReadBytes() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getCumulativeTrackers() - Method in class net.tomp2p.futures.FutureTracker
 
getCumulativeWrittenBytes() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getCurrentReadBytes() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getCurrentWrittenBytes() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getData() - Method in class net.tomp2p.futures.FutureDHT
 
getData() - Method in class net.tomp2p.storage.Data
 
getData() - Method in class net.tomp2p.storage.DataSet
 
getDataMap() - Method in class net.tomp2p.message.Message
 
getDataMapConvert() - Method in class net.tomp2p.message.Message
 
getDataPublicKey() - Method in class net.tomp2p.storage.Data
This public key is set by the storage class and not by the decoding class
getDefaultPort() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getDHT() - Method in class net.tomp2p.p2p.Peer
 
getDirectDataRPC() - Method in class net.tomp2p.p2p.Peer
 
getDirectHits() - Method in class net.tomp2p.futures.FutureRouting
 
getDirectHits() - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getDirectTrackers() - Method in class net.tomp2p.futures.FutureTracker
 
getDiscoverTimeoutSec() - Method in class net.tomp2p.p2p.P2PConfiguration
 
getDispatcherRequest() - Method in class net.tomp2p.connection.ConnectionBean
 
getDispatcherRequest() - Method in class net.tomp2p.connection.TCPChannelCache
 
getDomain() - Method in class net.tomp2p.p2p.config.ConfigurationBase
 
getDomain() - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
getDomainKey() - Method in class net.tomp2p.peers.Number320
 
getDomainKey() - Method in class net.tomp2p.peers.Number480
 
getDomainKey() - Method in class net.tomp2p.storage.DataSet
 
getEstimatedNumberOfNodes() - Method in class net.tomp2p.p2p.Statistics
 
getEvaluationScheme() - Method in class net.tomp2p.p2p.config.ConfigurationGet
 
getEvaluationScheme() - Method in class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
getExpirationMillis() - Method in class net.tomp2p.storage.Data
 
getFailedReason() - Method in interface net.tomp2p.futures.BaseFuture
The default failed reason is Unknown.
getFailedReason() - Method in class net.tomp2p.futures.BaseFutureImpl
 
getFailedReason() - Method in class net.tomp2p.futures.FutureForkJoin
 
getFailedReason() - Method in class net.tomp2p.futures.FutureRouting
 
getFinished() - Method in class net.tomp2p.message.Message
 
getFromTracker(Number160, Number160, RoutingConfiguration, TrackerConfiguration, boolean, EvaluatingSchemeTracker, boolean) - Method in class net.tomp2p.p2p.DistributedTracker
 
getFromTracker(Number160, ConfigurationTrackerGet) - Method in class net.tomp2p.p2p.Peer
 
getFromTracker(PeerAddress, Number160, Number160, boolean, boolean) - Method in class net.tomp2p.rpc.TrackerRPC
 
getFutureCreate() - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
getFutureCreate() - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
getFutureCreate() - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
getFutureCreate() - Method in class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
getFutureResponse() - Method in class net.tomp2p.rpc.RequestHandlerTCP
 
getFutureResponse() - Method in class net.tomp2p.rpc.RequestHandlerUDP
 
getFutures() - Method in class net.tomp2p.futures.FutureLateJoin
 
getHandshakeRPC() - Method in class net.tomp2p.p2p.Peer
 
getHash() - Method in class net.tomp2p.storage.Data
 
getId() - Method in class net.tomp2p.message.MessageID
Returns the message Id
getID() - Method in class net.tomp2p.peers.PeerAddress
The id of the peer.
getIdleTCPMillis() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getIdleUDPMillis() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getInetAddress() - Method in class net.tomp2p.peers.PeerAddress
Returns the address or null if no address set
getInteger() - Method in class net.tomp2p.message.Message
 
getInterfaces() - Method in class net.tomp2p.connection.Bindings
 
getIntermediateFutures() - Method in class net.tomp2p.futures.FutureForkJoin
This is only safe to access is this future has completed!
getKey1() - Method in class net.tomp2p.message.Message
 
getKey2() - Method in class net.tomp2p.message.Message
 
getKey3() - Method in class net.tomp2p.message.Message
 
getKeyDigest() - Method in class net.tomp2p.rpc.DigestInfo
 
getKeyMap() - Method in class net.tomp2p.message.Message
 
getKeyPair() - Method in class net.tomp2p.connection.PeerBean
 
getKeys() - Method in class net.tomp2p.futures.FutureDHT
 
getKeys() - Method in class net.tomp2p.message.Message
 
getKeys(Number320) - Method in class net.tomp2p.storage.StorageMemory
 
getKeys(Number480, Number480) - Method in class net.tomp2p.storage.StorageMemory
 
getKeysConvert() - Method in class net.tomp2p.message.Message
 
getLast() - Method in class net.tomp2p.futures.FutureForkJoin
 
getLastCumulativeTime() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getLastReadBytes() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getLastReadThroughput() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getLastSeenOnline() - Method in class net.tomp2p.peers.PeerStat
 
getLastSeenOnlineTime(PeerAddress) - Method in class net.tomp2p.peers.PeerMapStat
 
getLastTime() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getLastWriteThroughput() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getLastWrittenBytes() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getLength() - Method in class net.tomp2p.storage.Data
 
getLocationKey() - Method in class net.tomp2p.peers.Number320
 
getLocationKey() - Method in class net.tomp2p.peers.Number480
 
getLocationKey() - Method in class net.tomp2p.storage.DataSet
 
getLong() - Method in class net.tomp2p.message.Message
 
getMaintenanceThreads() - Method in class net.tomp2p.p2p.P2PConfiguration
 
getMaxFailure() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
getMaxFailure() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getMaxFailures() - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getMaxIncomingThreads() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getMaxMessageSize() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getMaxNoNewInfo(int) - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getMaxNoNewInfoDiff() - Method in class net.tomp2p.p2p.RoutingConfiguration
This returns the difference to the min value of P2P configuration.
getMaxNrBeforeExclude() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getMaxOutgoingTCP() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getMaxOutgoingUDP() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getMessage() - Method in class net.tomp2p.message.IntermediateMessage
 
getMessageId() - Method in class net.tomp2p.message.Message
Randomly generated message ID
getMinimumResults() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
getName() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
 
getNeighbors() - Method in class net.tomp2p.message.Message
Returns the stored neighbors
getNodeAddress() - Method in class net.tomp2p.message.MessageID
The node address of sender or recipient
getNumber1() - Method in class net.tomp2p.message.SHA1Signature
 
getNumber2() - Method in class net.tomp2p.message.SHA1Signature
 
getObject() - Method in class net.tomp2p.futures.FutureData
 
getObject() - Method in class net.tomp2p.futures.FutureDHT
 
getObject() - Method in class net.tomp2p.storage.Data
 
getOffset() - Method in class net.tomp2p.storage.Data
 
getOutsideAddress() - Method in class net.tomp2p.connection.Bindings
 
getOutsideTCPPort() - Method in class net.tomp2p.connection.Bindings
 
getOutsideUDPPort() - Method in class net.tomp2p.connection.Bindings
 
getP2PConfiguration() - Method in class net.tomp2p.p2p.Peer
 
getP2PID() - Method in class net.tomp2p.connection.ConnectionBean
 
getP2PID() - Method in class net.tomp2p.p2p.Peer
 
getParallel() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
getParallel() - Method in class net.tomp2p.p2p.RoutingConfiguration
 
getParallel() - Method in class net.tomp2p.p2p.TrackerConfiguration
 
getParallelDiff() - Method in class net.tomp2p.p2p.RequestP2PConfiguration
 
getPayload() - Method in class net.tomp2p.message.Message
 
getPeerAddress() - Method in class net.tomp2p.futures.FutureDiscover
 
getPeerAddress() - Method in class net.tomp2p.p2p.Peer
 
getPeerAddress() - Method in class net.tomp2p.rpc.StorageRPC
 
getPeerAddress() - Method in class net.tomp2p.rpc.TrackerRPC
 
getPeerAddress() - Method in class net.tomp2p.storage.Data
 
getPeerBean() - Method in class net.tomp2p.connection.ConnectionHandler
Returns the node information bean of this node
getPeerBean() - Method in class net.tomp2p.p2p.Peer
 
getPeerID() - Method in class net.tomp2p.p2p.Peer
 
getPeerMap() - Method in class net.tomp2p.connection.PeerBean
 
getPeerMap() - Method in class net.tomp2p.rpc.RequestHandlerTCP
 
getPeerMap() - Method in class net.tomp2p.rpc.RequestHandlerUDP
 
getPeersOnTracker() - Method in class net.tomp2p.futures.FutureTracker
 
getPendingFutures() - Method in class net.tomp2p.p2p.Peer
 
getPotentialHits() - Method in class net.tomp2p.futures.FutureRouting
 
getPotentialTrackers() - Method in class net.tomp2p.futures.FutureTracker
 
getPrivateTCP() - Method in class net.tomp2p.futures.FutureDiscover
 
getPrivateUPD() - Method in class net.tomp2p.futures.FutureDiscover
 
getProtectionDomainEnable() - Method in class net.tomp2p.storage.Storage
 
getProtectionDomainMode() - Method in class net.tomp2p.storage.Storage
 
getProtectionEntryEnable() - Method in class net.tomp2p.storage.Storage
 
getProtectionEntryInDomain() - Method in class net.tomp2p.storage.Storage
 
getProtectionEntryMode() - Method in class net.tomp2p.storage.Storage
 
getProtocols() - Method in class net.tomp2p.connection.Bindings
 
getPublicKey() - Method in class net.tomp2p.message.Message
 
getPublicKey() - Method in class net.tomp2p.p2p.config.ConfigurationGet
 
getQuitRPC() - Method in class net.tomp2p.p2p.Peer
 
getRawData() - Method in class net.tomp2p.futures.FutureDHT
 
getRawDirectData1() - Method in class net.tomp2p.futures.FutureDHT
 
getRawDirectData2() - Method in class net.tomp2p.futures.FutureDHT
 
getRawKeys() - Method in class net.tomp2p.futures.FutureDHT
 
getRawPeersOnTracker() - Method in class net.tomp2p.futures.FutureTracker
 
getReadLimit() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getRealSender() - Method in class net.tomp2p.message.Message
The ID of the real sender as seen by us.
getRecipient() - Method in class net.tomp2p.message.Message
The ID of the recipient.
getRefreshSeconds() - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
getRefreshSeconds() - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
getRefreshSeconds() - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
getRepetitions() - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
getRepetitions() - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
getReplicationRefreshMillis() - Method in class net.tomp2p.p2p.P2PConfiguration
 
getReplicationStorage() - Method in class net.tomp2p.connection.PeerBean
 
getReplicationThreads() - Method in class net.tomp2p.p2p.P2PConfiguration
 
getReplicationTracker() - Method in class net.tomp2p.connection.PeerBean
 
getReplyTimeout() - Method in class net.tomp2p.futures.FutureResponse
 
getRequest() - Method in class net.tomp2p.futures.FutureResponse
The future response always keeps a reference to the request.
getRequestP2PConfiguration() - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
getRequestP2PConfiguration() - Method in class net.tomp2p.p2p.config.ConfigurationGet
 
getRequestP2PConfiguration() - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
getRequestP2PConfiguration() - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
getResponse() - Method in class net.tomp2p.futures.FutureResponse
Returns the response message.
getRouting() - Method in class net.tomp2p.p2p.Peer
 
getRoutingConfiguration() - Method in class net.tomp2p.p2p.config.ConfigurationBase
 
getSelection(Number320, int) - Method in class net.tomp2p.storage.TrackerStorage
 
getSender() - Method in class net.tomp2p.connection.ConnectionBean
 
getSender() - Method in class net.tomp2p.message.Message
The ID of the sender.
getServerPeerAddress() - Method in class net.tomp2p.connection.PeerBean
 
getSignature() - Method in class net.tomp2p.storage.Data
 
getSize() - Method in class net.tomp2p.rpc.DigestInfo
 
getSocketAddress() - Method in class net.tomp2p.peers.PeerAddress
 
getSocketAddress(byte[], int) - Method in class net.tomp2p.peers.PeerAddress
 
getSocketAddressSize() - Method in class net.tomp2p.peers.PeerAddress
 
getStatistics() - Method in class net.tomp2p.connection.PeerBean
 
getStatistics() - Method in interface net.tomp2p.peers.PeerMap
 
getStatistics() - Method in class net.tomp2p.peers.PeerMapKadImpl
 
getStorage() - Method in class net.tomp2p.connection.PeerBean
 
getStorage() - Method in class net.tomp2p.replication.Replication
 
getStoreRPC() - Method in class net.tomp2p.p2p.Peer
 
getSuccessCounter() - Method in class net.tomp2p.futures.FutureForkJoin
 
getTimeoutTCPMillis() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getTracker() - Method in class net.tomp2p.p2p.Peer
 
getTrackerConfiguration() - Method in class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
getTrackerConfiguration() - Method in class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
getTrackerRPC() - Method in class net.tomp2p.p2p.Peer
 
getTrackers() - Method in class net.tomp2p.futures.FutureTracker
 
getTrackerSize() - Method in class net.tomp2p.storage.TrackerStorage
 
getTrackerStorage() - Method in class net.tomp2p.connection.PeerBean
 
getTrackerStoreSize() - Method in class net.tomp2p.storage.TrackerStorage
 
getTrackerTimoutSeconds() - Method in class net.tomp2p.storage.TrackerStorage
 
getTrafficCounter() - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
 
getTTLSeconds() - Method in class net.tomp2p.storage.Data
 
getType() - Method in interface net.tomp2p.futures.BaseFuture
If the type is not OK, then something unexpected happened.
getType() - Method in class net.tomp2p.futures.BaseFutureImpl
 
getType() - Method in class net.tomp2p.message.Message
Determines if its a request oCommandr reply, and what kind of reply (error, warning states)
getUdpLength() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
getUnsignedByte() - Method in interface net.tomp2p.message.DataInput
 
getVersion() - Method in class net.tomp2p.message.Message
Returns the version, which is 32bit.
getWaitingTimeBetweenNodeMaintenenceSeconds() - Method in class net.tomp2p.p2p.P2PConfiguration
 
getWrappedFuture() - Method in class net.tomp2p.futures.FutureWrapper
 
getWriteLimit() - Method in class net.tomp2p.connection.ConnectionConfiguration
 
GlobalTrafficShapingHandler - Class in org.jboss.netty.handler.traffic
This implementation of the AbstractTrafficShapingHandler is for global traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels.

The general use should be as follow:
Create your unique GlobalTrafficShapingHandler like:

GlobalTrafficShapingHandler myHandler = new GlobalTrafficShapingHandler(executor);

executor could be created using Executors.newCachedThreadPool();
pipeline.addLast("GLOBAL_TRAFFIC_SHAPING", myHandler);

Note that this handler has a Pipeline Coverage of "all" which means only one such handler must be created and shared among all channels as the counter must be shared among all channels.

Other arguments can be passed like write or read limitation (in bytes/s where 0 means no limitation) or the check interval (in millisecond) that represents the delay between two computations of the bandwidth and so the call back of the doAccounting method (0 means no accounting at all).

A value of 0 means no accounting for checkInterval.
GlobalTrafficShapingHandler(Executor, long, long, long) - Constructor for class org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler
 
GlobalTrafficShapingHandler(Executor, long, long) - Constructor for class org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler
 
GlobalTrafficShapingHandler(Executor, long) - Constructor for class org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler
 
GlobalTrafficShapingHandler(Executor) - Constructor for class org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler
 
GlobalTrafficShapingHandler(ObjectSizeEstimator, Executor, long, long, long) - Constructor for class org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler
 
GlobalTrafficShapingHandler(ObjectSizeEstimator, Executor, long, long) - Constructor for class org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler
 
GlobalTrafficShapingHandler(ObjectSizeEstimator, Executor, long) - Constructor for class org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler
 
GlobalTrafficShapingHandler(ObjectSizeEstimator, Executor) - Constructor for class org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler
 
GZipFileLogger - Class in net.tomp2p.log
 
GZipFileLogger(File) - Constructor for class net.tomp2p.log.GZipFileLogger
 

H

handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
 
handleResponse(Message) - Method in class net.tomp2p.rpc.DirectDataRPC
 
handleResponse(Message) - Method in class net.tomp2p.rpc.HandshakeRPC
 
handleResponse(Message) - Method in class net.tomp2p.rpc.NeighborRPC
 
handleResponse(Message) - Method in class net.tomp2p.rpc.QuitRPC
 
handleResponse(Message) - Method in class net.tomp2p.rpc.ReplyHandler
If the message is OK, that has been previously checked by the user using checkMessage, a reply to the message is generated here.
handleResponse(Message) - Method in class net.tomp2p.rpc.StorageRPC
 
handleResponse(Message) - Method in class net.tomp2p.rpc.TrackerRPC
 
handleUpstream(ChannelHandlerContext, ChannelEvent) - Method in class net.tomp2p.message.TomP2PDecoderUDP
 
HandshakeRPC - Class in net.tomp2p.rpc
 
HandshakeRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.HandshakeRPC
 
hashCode() - Method in class net.tomp2p.message.MessageID
 
hashCode() - Method in class net.tomp2p.peers.Number160
 
hashCode() - Method in class net.tomp2p.peers.Number320
 
hashCode() - Method in class net.tomp2p.peers.Number480
 
hashCode() - Method in class net.tomp2p.peers.PeerAddress
 
hashCode() - Method in class net.tomp2p.storage.DataSet
 
hasLimit() - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
 
hasObjectDataReply() - Method in class net.tomp2p.rpc.DirectDataRPC
 
hasRawDataReply() - Method in class net.tomp2p.rpc.DirectDataRPC
 
HEADER_SIZE - Static variable in class net.tomp2p.message.MessageCodec
 

I

IdleStateHandler - Class in net.tomp2p.connection
Triggers an IdleStateEvent when a Channel has not performed read, write, or both operation for a while.
IdleStateHandler(Timer, int) - Constructor for class net.tomp2p.connection.IdleStateHandler
Creates a new instance.
IdleStateHandler(Timer, long, TimeUnit) - Constructor for class net.tomp2p.connection.IdleStateHandler
Creates a new instance.
incChecked(PeerAddress) - Method in class net.tomp2p.peers.PeerMapStat
 
incChecked() - Method in class net.tomp2p.peers.PeerStat
 
init(ConnectionHandler, Statistics) - Method in class net.tomp2p.p2p.Peer
 
INT_ARRAY_SIZE - Static variable in class net.tomp2p.peers.Number160
 
IntermediateMessage - Class in net.tomp2p.message
 
IntermediateMessage(Message, List<ChannelBuffer>) - Constructor for class net.tomp2p.message.IntermediateMessage
 
interMediateResponse(FutureResponse) - Method in interface net.tomp2p.p2p.DistributedHashHashMap.Operation
 
intToByteArray(int) - Static method in class net.tomp2p.utils.Utils
 
intValue() - Method in class net.tomp2p.peers.Number160
 
isCancelOnFinish() - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
isCloser(Number160, PeerAddress, PeerAddress) - Method in interface 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) - Method in interface net.tomp2p.peers.PeerMap
Returns -1 if the first key is closer to the key, if the second is closer, then 1 is returned.
isCloser(Number160, PeerAddress, PeerAddress) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
isCloser(Number160, Number160, Number160) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
isCompleted() - Method in interface net.tomp2p.futures.BaseFuture
Checks if the asynchronous operation is finished.
isCompleted() - Method in class net.tomp2p.futures.BaseFutureImpl
 
isConvertNumber480to160() - Method in class net.tomp2p.message.Message
 
isDirectReplication() - Method in class net.tomp2p.storage.Data
 
isError() - Method in class net.tomp2p.message.Message
 
isExpectAttachement() - Method in class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
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(int) - Static method in class net.tomp2p.peers.PeerAddress
 
isFirewalledTCP() - Method in class net.tomp2p.peers.PeerAddress
 
isFirewalledUDP(int) - Static method in class net.tomp2p.peers.PeerAddress
 
isFirewalledUDP() - Method in class net.tomp2p.peers.PeerAddress
 
isForward(int) - Static method in class net.tomp2p.peers.PeerAddress
 
isForwarded() - Method in class net.tomp2p.peers.PeerAddress
 
isHintSign() - Method in class net.tomp2p.message.Message
 
isIPv6() - Method in class net.tomp2p.peers.PeerAddress
 
isListenBroadcast() - Method in class net.tomp2p.connection.Bindings
 
isListening() - Method in class net.tomp2p.connection.ConnectionHandler
 
isListening() - Method in class net.tomp2p.p2p.Peer
 
isMinReached() - Method in class net.tomp2p.futures.FutureDHT
 
isNet6(int) - Static method in class net.tomp2p.peers.PeerAddress
 
isNotOk() - Method in class net.tomp2p.message.Message
 
isOk() - Method in class net.tomp2p.message.Message
 
isPeerRemovedTemporarly(PeerAddress) - Method in interface net.tomp2p.peers.PeerMap
Checks if this peer has been removed.
isPeerRemovedTemporarly(PeerAddress) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
isProtectDomain() - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
isProtectedEntry() - Method in class net.tomp2p.storage.Data
 
isReplicationEnabled() - Method in class net.tomp2p.replication.Replication
 
isRequest() - Method in class net.tomp2p.message.Message
 
isReturnResults() - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
isRunning() - Method in class net.tomp2p.p2p.Peer
 
isSign() - Method in class net.tomp2p.rpc.ReplyHandler
 
isSignMessage() - Method in class net.tomp2p.p2p.config.ConfigurationBase
 
isStartMaintenance() - Method in class net.tomp2p.p2p.P2PConfiguration
 
isStoreIfAbsent() - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
isSuccess() - Method in interface net.tomp2p.futures.BaseFuture
Returns the opposite of isFailed (returns !isFailed).
isSuccess() - Method in class net.tomp2p.futures.BaseFutureImpl
 
isTCPOngoing() - Method in class net.tomp2p.futures.FutureDiscover
 
isUDP() - Method in class net.tomp2p.message.Message
 
isUDPOngoing() - Method in class net.tomp2p.futures.FutureDiscover
 
isWaiting() - Method in class net.tomp2p.connection.DispatcherReply
 
isZero() - Method in class net.tomp2p.peers.Number160
Checks if this number is zero
iterateAndRun(Number160, StorageRunner) - Method in class net.tomp2p.storage.Storage
 
iterateAndRun(Number160, StorageRunner) - Method in class net.tomp2p.storage.StorageDisk
 
iterateAndRun(Number160, StorageRunner) - Method in class net.tomp2p.storage.StorageMemory
 

L

listen() - Method in class net.tomp2p.p2p.Peer
 
listen(File) - Method in class net.tomp2p.p2p.Peer
 
listen(int, int) - Method in class net.tomp2p.p2p.Peer
 
listen(int, int, File) - Method in class net.tomp2p.p2p.Peer
 
listen(int, int, InetAddress) - Method in class net.tomp2p.p2p.Peer
 
listen(int, int, Bindings) - Method in class net.tomp2p.p2p.Peer
 
listen(int, int, Bindings, File) - Method in class net.tomp2p.p2p.Peer
Lets this node listen on a port
listen(Peer) - Method in class net.tomp2p.p2p.Peer
 
loadFile(File) - Static method in class net.tomp2p.utils.Utils
 
lock - Variable in class net.tomp2p.futures.BaseFutureImpl
 
LogFormatter - Class in net.tomp2p.utils
 
LogFormatter() - Constructor for class net.tomp2p.utils.LogFormatter
 
LogHandler - Class in net.tomp2p.log
 
LogHandler(PeerLogger) - Constructor for class net.tomp2p.log.LogHandler
 
longValue() - Method in class net.tomp2p.peers.Number160
 

M

main(String[]) - Static method in class net.tomp2p.examples.Examples
 
main(String[]) - Static method in class net.tomp2p.storage.Delete
 
makeSHAHash(File) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(String) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(ByteBuffer) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(byte[]) - Static method in class net.tomp2p.utils.Utils
 
makeSHAHash(byte[], int, int) - Static method in class net.tomp2p.utils.Utils
 
mapUPNP() - Method in class net.tomp2p.connection.ConnectionHandler
 
mapUPNP(InetAddress, InetAddress, int, int) - Method in class net.tomp2p.connection.ConnectionHandler
 
max() - Method in class net.tomp2p.peers.Number320
 
MAX_BYTE - Static variable in class net.tomp2p.message.MessageCodec
 
MAX_VALUE - Static variable in class net.tomp2p.peers.Number160
 
meResponsible(Number160) - Method in class net.tomp2p.replication.DefaultStorageReplication
 
meResponsible(Number160) - Method in class net.tomp2p.replication.DefaultTrackerReplication
 
meResponsible(Number160) - Method in interface net.tomp2p.replication.ResponsibilityListener
 
Message - Class in net.tomp2p.message
The message is in binary format in TomP2P.
Message() - Constructor for class net.tomp2p.message.Message
Creates message with a random ID
Message.Command - Enum in net.tomp2p.message
 
Message.Content - Enum in net.tomp2p.message
 
Message.Type - Enum in net.tomp2p.message
 
MessageCodec - Class in net.tomp2p.message
 
MessageCodec() - Constructor for class net.tomp2p.message.MessageCodec
 
MessageID - Class in net.tomp2p.message
A message ID consists of the message id, which is created randomly and the nodeaddress.
MessageID(Message) - Constructor for class net.tomp2p.message.MessageID
Creates a message Id.
MessageLogger - Class in net.tomp2p.connection
 
MessageLogger(File) - Constructor for class net.tomp2p.connection.MessageLogger
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.connection.DispatcherReply
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.connection.DispatcherRequest
Called if we get a message
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.connection.IdleStateHandler
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.connection.PerformanceFilter
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.connection.ReplyTimeoutHandler
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.log.LogHandler
 
messageReceived(Message) - Method in class net.tomp2p.rpc.RequestHandlerTCP
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.rpc.RequestHandlerUDP
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
 
min() - Method in class net.tomp2p.peers.Number320
 

N

NEIGHBOR_SIZE - Static variable in class net.tomp2p.rpc.NeighborRPC
 
NeighborRPC - Class in net.tomp2p.rpc
 
NeighborRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.NeighborRPC
 
net.tomp2p.connection - package net.tomp2p.connection
 
net.tomp2p.examples - package net.tomp2p.examples
 
net.tomp2p.futures - package net.tomp2p.futures
 
net.tomp2p.log - package net.tomp2p.log
 
net.tomp2p.message - package net.tomp2p.message
 
net.tomp2p.p2p - package net.tomp2p.p2p
 
net.tomp2p.p2p.config - package net.tomp2p.p2p.config
 
net.tomp2p.peers - package net.tomp2p.peers
 
net.tomp2p.replication - package net.tomp2p.replication
 
net.tomp2p.rpc - package net.tomp2p.rpc
 
net.tomp2p.storage - package net.tomp2p.storage
 
net.tomp2p.utils - package net.tomp2p.utils
 
notFirewalledTCP() - Method in class net.tomp2p.peers.PeerAddress
 
notFirewalledUDP() - Method in class net.tomp2p.peers.PeerAddress
 
notifyListerenrs() - Method in class net.tomp2p.futures.BaseFutureImpl
Always call this from outside synchronized(lock)!
notifyOnShutdown() - Method in interface net.tomp2p.p2p.PeerListener
 
notifyOnStart() - Method in interface net.tomp2p.p2p.PeerListener
 
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(ShortString) - Constructor for class net.tomp2p.peers.Number160
 
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
 
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.
Number320 - Class in net.tomp2p.peers
 
Number320(Number160, Number160) - Constructor for class net.tomp2p.peers.Number320
 
Number480 - Class in net.tomp2p.peers
 
Number480(Number160, Number160, Number160) - Constructor for class net.tomp2p.peers.Number480
 
Number480(Number320, Number160) - Constructor for class net.tomp2p.peers.Number480
 

O

ObjectDataReply - Interface in net.tomp2p.rpc
 
offset() - Method in class net.tomp2p.peers.PeerAddress
When deserializeg, we need to know how much we deserialized from the constructor call.
ONE - Static variable in class net.tomp2p.peers.Number160
 
onGoing(boolean, boolean) - Method in class net.tomp2p.futures.FutureDiscover
 
online(PeerAddress) - Method in class net.tomp2p.peers.PeerMapStat
 
operationComplete(F) - Method in interface net.tomp2p.futures.BaseFutureListener
Invoked when the operation associated with the BaseFuture has been completed.
org.jboss.netty.handler.traffic - package org.jboss.netty.handler.traffic
 
otherResponsible(Number160, PeerAddress) - Method in class net.tomp2p.replication.DefaultStorageReplication
 
otherResponsible(Number160, PeerAddress) - Method in class net.tomp2p.replication.DefaultTrackerReplication
 
otherResponsible(Number160, PeerAddress) - Method in interface net.tomp2p.replication.ResponsibilityListener
 

P

P2PConfiguration - Class in net.tomp2p.p2p
 
P2PConfiguration() - Constructor for class net.tomp2p.p2p.P2PConfiguration
 
P2PConfiguration(int, int, boolean) - Constructor for class net.tomp2p.p2p.P2PConfiguration
 
Peer - Class in net.tomp2p.p2p
TomP2P implements besides the following distributed hash table (DHT) operations: value=get(locationKey) put(locationKey,value) remove(locationKey) also the following DHHT operations: value=get(locationKey,contentKey) put(locationKey,contentKey,value) remove(locationKey,contentKey) The advantage of a DHHT is that multiple values can be stored in one location.
Peer(KeyPair) - Constructor for class net.tomp2p.p2p.Peer
 
Peer(Number160) - Constructor for class net.tomp2p.p2p.Peer
 
Peer(Number160, KeyPair) - Constructor for class net.tomp2p.p2p.Peer
 
Peer(int, KeyPair) - Constructor for class net.tomp2p.p2p.Peer
 
Peer(int, Number160) - Constructor for class net.tomp2p.p2p.Peer
 
Peer(int, Number160, KeyPair) - Constructor for class net.tomp2p.p2p.Peer
 
Peer(int, Number160, ConnectionConfiguration) - Constructor for class net.tomp2p.p2p.Peer
 
Peer(int, Number160, P2PConfiguration, ConnectionConfiguration, KeyPair) - Constructor for 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 new peeraddress, where the byte array has to be in the rigth format and in the rigth size.
PeerAddress(byte[], int) - Constructor for class net.tomp2p.peers.PeerAddress
Creates a PeerAddress from a continuous byte array.
PeerAddress(byte[], byte[]) - Constructor for class net.tomp2p.peers.PeerAddress
 
PeerAddress(Number160) - Constructor for class net.tomp2p.peers.PeerAddress
This is usually used for debugging, the address will be null and ports -1
PeerAddress(Number160, InetAddress, int, int, boolean, boolean, boolean) - Constructor for class net.tomp2p.peers.PeerAddress
Creates a PeerAddress
PeerAddress(Number160, InetAddress, int, int) - Constructor for class net.tomp2p.peers.PeerAddress
 
PeerAddress(Number160, InetSocketAddress) - Constructor for class net.tomp2p.peers.PeerAddress
 
PeerAddress(Number160, PeerAddress) - Constructor for class net.tomp2p.peers.PeerAddress
 
PeerAddress(Number160, InetAddress, int, int, byte) - Constructor for class net.tomp2p.peers.PeerAddress
 
PeerBean - Class in net.tomp2p.connection
 
PeerBean(KeyPair) - Constructor for class net.tomp2p.connection.PeerBean
 
PeerException - Exception in net.tomp2p.connection
This exception is used internally and passed over to the method exceptionCaught.
PeerException(PeerException.AbortCause) - Constructor for exception net.tomp2p.connection.PeerException
 
PeerException(PeerException.AbortCause, String) - Constructor for exception net.tomp2p.connection.PeerException
 
PeerException.AbortCause - Enum in net.tomp2p.connection
 
peerFail(PeerAddress) - Method in interface net.tomp2p.peers.PeerOfflineListener
 
peerInserted(PeerAddress) - Method in interface net.tomp2p.peers.PeerMapChangeListener
This method is called if a peer is added to the map
peerInserted(PeerAddress) - Method in class net.tomp2p.replication.Replication
 
PeerListener - Interface in net.tomp2p.p2p
 
PeerLogger - Interface in net.tomp2p.log
 
PeerMap - Interface in net.tomp2p.peers
Defines a map to store neighbor peers.
PeerMapChangeListener - Interface in net.tomp2p.peers
This interface can be added to the map, to get notified of peer insertion or removal.
PeerMapKadImpl - Class in net.tomp2p.peers
This routing implementation uses is based on Kademlia.
PeerMapKadImpl(Number160, int, int, int, int, int[]) - Constructor for class net.tomp2p.peers.PeerMapKadImpl
Creates a bag of peers
PeerMapStat - Class in net.tomp2p.peers
 
PeerMapStat() - Constructor for class net.tomp2p.peers.PeerMapStat
 
peerOffline(PeerAddress, boolean) - Method in interface net.tomp2p.peers.PeerMap
Remove a peer from the list.
peerOffline(PeerAddress, boolean) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
peerOffline(PeerAddress) - Method in interface net.tomp2p.peers.PeerOfflineListener
 
PeerOfflineListener - Interface in net.tomp2p.peers
 
peerOnline(PeerAddress, PeerAddress) - Method in interface net.tomp2p.peers.PeerMap
Adds a neighbor to the neighbor list.
peerOnline(PeerAddress, PeerAddress) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
peerRemoved(PeerAddress) - Method in interface net.tomp2p.peers.PeerMapChangeListener
This method is called if a peer is removed from the map
peerRemoved(PeerAddress) - Method in class net.tomp2p.replication.Replication
 
peersForMaintenance() - Method in interface net.tomp2p.peers.PeerMap
 
peersForMaintenance() - Method in class net.tomp2p.peers.PeerMapKadImpl
 
PeerStat - Class in net.tomp2p.peers
 
PeerStat() - Constructor for class net.tomp2p.peers.PeerStat
 
peerUpdated(PeerAddress) - Method in interface net.tomp2p.peers.PeerMapChangeListener
This method is called if a peer is updated.
peerUpdated(PeerAddress) - Method in class net.tomp2p.replication.Replication
 
PerformanceFilter - Class in net.tomp2p.connection
Measures the number of outgoing and incoming packets.
PerformanceFilter() - Constructor for class net.tomp2p.connection.PerformanceFilter
 
ping(InetSocketAddress) - Method in class net.tomp2p.p2p.Peer
 
pingBroadcastUDP(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
pingTCP(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
pingTCPDiscover(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
pingTCPProbe(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
pingUDP(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
pingUDPDiscover(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
pingUDPProbe(PeerAddress) - Method in class net.tomp2p.rpc.HandshakeRPC
 
pollFirst(SortedSet<PeerAddress>) - Static method in class net.tomp2p.utils.Utils
 
portTCP() - Method in class net.tomp2p.peers.PeerAddress
 
portUDP() - Method in class net.tomp2p.peers.PeerAddress
 
put(Number160, Number160, Map<Number160, Data>, RoutingConfiguration, RequestP2PConfiguration, boolean, boolean, boolean, FutureCreate<FutureDHT>) - Method in class net.tomp2p.p2p.DistributedHashHashMap
 
put(Number160, Data) - Method in class net.tomp2p.p2p.Peer
 
put(Number160, Data, ConfigurationStore) - Method in class net.tomp2p.p2p.Peer
 
put(Number160, Map<Number160, Data>, ConfigurationStore) - Method in class net.tomp2p.p2p.Peer
 
put(PeerAddress, Number160, Number160, Map<Number160, Data>, boolean, boolean) - Method in class net.tomp2p.rpc.StorageRPC
 
put(Number480, Data, PublicKey, boolean, boolean) - Method in class net.tomp2p.storage.Storage
 
put(Number480, Data, PublicKey, boolean, boolean) - Method in class net.tomp2p.storage.StorageDisk
 
put(Number480, Data, PublicKey, boolean, boolean) - Method in class net.tomp2p.storage.StorageMemory
 
put(Number160, Number160, PublicKey, Data) - Method in class net.tomp2p.storage.TrackerStorage
 
put(K, V) - Method in class net.tomp2p.utils.CacheMap
 
putIfAbsent(PeerAddress, Number160, Number160, Map<Number160, Data>, boolean, boolean) - Method in class net.tomp2p.rpc.StorageRPC
 

Q

quit(PeerAddress) - Method in class net.tomp2p.rpc.QuitRPC
 
QuitRPC - Class in net.tomp2p.rpc
 
QuitRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.QuitRPC
 

R

RawDataReply - Interface in net.tomp2p.rpc
 
readBytes(byte[]) - Method in interface net.tomp2p.message.DataInput
 
readerIndex() - Method in interface net.tomp2p.message.DataInput
 
readInt() - Method in interface net.tomp2p.message.DataInput
 
readUnsignedByte() - Method in interface net.tomp2p.message.DataInput
 
readUnsignedShort() - Method in interface net.tomp2p.message.DataInput
 
reason - Variable in class net.tomp2p.futures.BaseFutureImpl
 
registerIoHandler(PeerAddress, ReplyHandler, Message.Command...) - Method in class net.tomp2p.connection.DispatcherRequest
Registers a handler with this dispatcher.
registerIoHandler(Message.Command...) - Method in class net.tomp2p.rpc.ReplyHandler
 
releaseExternalResources() - Method in class net.tomp2p.connection.IdleStateHandler
Stops the Timer which was specified in the constructor of this handler.
releaseExternalResources() - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
 
remove(Number160, Number160, Set<Number160>, RoutingConfiguration, RequestP2PConfiguration, boolean, boolean, FutureCreate<FutureDHT>) - Method in class net.tomp2p.p2p.DistributedHashHashMap
 
remove(Number160) - Method in class net.tomp2p.p2p.Peer
 
remove(Number160, ConfigurationRemove) - Method in class net.tomp2p.p2p.Peer
 
remove(Number160, Set<Number160>, ConfigurationRemove) - Method in class net.tomp2p.p2p.Peer
 
remove(PeerAddress, Number160, Number160, Collection<Number160>, boolean, boolean) - Method in class net.tomp2p.rpc.StorageRPC
 
remove(Number480, Number480, PublicKey) - Method in class net.tomp2p.storage.Storage
 
remove(Number480, PublicKey) - Method in class net.tomp2p.storage.Storage
 
remove(Number320, PublicKey) - Method in class net.tomp2p.storage.Storage
 
remove(Number480, PublicKey) - Method in class net.tomp2p.storage.StorageDisk
 
remove(Number480, Number480, PublicKey) - Method in class net.tomp2p.storage.StorageDisk
 
remove(Number480, PublicKey) - Method in class net.tomp2p.storage.StorageMemory
 
remove(Number480, Number480, PublicKey) - Method in class net.tomp2p.storage.StorageMemory
 
removeAll(Number160) - Method in class net.tomp2p.p2p.Peer
 
removeAll(Number160, ConfigurationRemove) - Method in class net.tomp2p.p2p.Peer
 
removeCancellation(Cancellable) - Method in interface net.tomp2p.futures.BaseFuture
Remove a listener.
removeCancellation(Cancellable) - Method in class net.tomp2p.futures.BaseFutureImpl
 
removeDomainProtection(Number160) - Method in class net.tomp2p.storage.Storage
 
removeEldestEntry(Map.Entry<K, V>) - Method in class net.tomp2p.utils.CacheMap
 
removeIoHandler(Number160...) - Method in class net.tomp2p.connection.DispatcherRequest
 
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
 
removePeerListener() - Method in class net.tomp2p.p2p.Peer
 
removePeerMapChangeListener(PeerMapChangeListener) - Method in interface net.tomp2p.peers.PeerMap
 
removePeerMapChangeListener(PeerMapChangeListener) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
removePeerOfflineListener(PeerOfflineListener) - Method in interface net.tomp2p.peers.PeerMap
 
removePeerOfflineListener(PeerOfflineListener) - Method in class net.tomp2p.peers.PeerMapKadImpl
 
removeResponsibilityListener(ResponsibilityListener) - Method in class net.tomp2p.replication.Replication
 
removeStat(PeerAddress) - Method in class net.tomp2p.peers.PeerMapStat
 
repeated(K) - Method in interface net.tomp2p.futures.FutureCreate
 
repeated(FutureTracker) - Method in class net.tomp2p.futures.FutureTracker
 
Replication - Class in net.tomp2p.replication
 
Replication(Storage, PeerAddress, PeerMap) - Constructor for class net.tomp2p.replication.Replication
 
reply(PeerAddress, Object) - Method in interface net.tomp2p.rpc.ObjectDataReply
 
reply(PeerAddress, ChannelBuffer) - Method in interface net.tomp2p.rpc.RawDataReply
 
ReplyHandler - Class in net.tomp2p.rpc
 
ReplyHandler(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.ReplyHandler
 
ReplyTimeoutHandler - Class in net.tomp2p.connection
Code inspired by Netty's TimeoutHandlers from Trustin Lee and adapted/extended to a reply timeout handler.
ReplyTimeoutHandler(Timer, long, PeerAddress) - Constructor for class net.tomp2p.connection.ReplyTimeoutHandler
 
RequestHandlerTCP - Class in net.tomp2p.rpc
Is able to send messages (as a request) and processes incoming replies.
RequestHandlerTCP(PeerBean, ConnectionBean, Message) - Constructor for class net.tomp2p.rpc.RequestHandlerTCP
 
RequestHandlerTCP(FutureResponse, PeerBean, ConnectionBean, Message) - Constructor for class net.tomp2p.rpc.RequestHandlerTCP
 
RequestHandlerUDP - Class in net.tomp2p.rpc
Is able to send messages (as a request) and processes incoming replies.
RequestHandlerUDP(PeerBean, ConnectionBean, Message) - Constructor for class net.tomp2p.rpc.RequestHandlerUDP
 
RequestHandlerUDP(FutureResponse, PeerBean, ConnectionBean, Message) - Constructor for class net.tomp2p.rpc.RequestHandlerUDP
 
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
 
reset() - Method in class net.tomp2p.connection.IdleStateHandler
 
resetCumulativeTime() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
Reset both read and written cumulative bytes counters and the associated time.
response(FutureDHT) - Method in interface net.tomp2p.p2p.DistributedHashHashMap.Operation
 
ResponsibilityListener - Interface in net.tomp2p.replication
 
responsibilityMap - Variable in class net.tomp2p.storage.StorageMemory
 
responsibilityMapRev - Variable in class net.tomp2p.storage.StorageMemory
 
route(Number160, Number160, Collection<Number160>, Message.Command, int, int, int, int, boolean) - Method in class net.tomp2p.p2p.Routing
Looks for a route to the given locationKey
Routing - Class in net.tomp2p.p2p
Handles routing of nodes to other nodes
Routing(PeerBean, NeighborRPC) - Constructor for class net.tomp2p.p2p.Routing
 
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
 
run() - Method in class net.tomp2p.replication.DefaultStorageReplication
 

S

self() - Method in interface 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.PeerMapKadImpl
 
send(PeerAddress, ChannelBuffer) - Method in class net.tomp2p.p2p.Peer
 
send(String, PeerAddress, ChannelBuffer) - Method in class net.tomp2p.p2p.Peer
 
send(PeerAddress, Object) - Method in class net.tomp2p.p2p.Peer
 
send(String, PeerAddress, Object) - Method in class net.tomp2p.p2p.Peer
 
send(Number160, ChannelBuffer) - Method in class net.tomp2p.p2p.Peer
 
send(Number160, ChannelBuffer, ConfigurationDirect) - Method in class net.tomp2p.p2p.Peer
 
send(Number160, Object) - Method in class net.tomp2p.p2p.Peer
 
send(Number160, Object, ConfigurationDirect) - Method in class net.tomp2p.p2p.Peer
 
send(String, PeerAddress, ChannelBuffer, boolean) - Method in class net.tomp2p.rpc.DirectDataRPC
 
sendBroadcastUDP(Message, RequestHandlerUDP) - Method in class net.tomp2p.connection.Sender
 
sendBroadcastUDP() - Method in class net.tomp2p.rpc.RequestHandlerUDP
 
Sender - Class in net.tomp2p.connection
Handles sending of messages
Sender(ConnectionCollector, ConnectionConfiguration, TCPChannelCache, Timer) - Constructor for class net.tomp2p.connection.Sender
 
sendLog(String, String) - Method in class net.tomp2p.log.GZipFileLogger
 
sendLog(String, String) - Method in interface net.tomp2p.log.PeerLogger
 
sendTCP(Message, RequestHandlerTCP) - Method in class net.tomp2p.connection.Sender
 
sendTCP(String, Message, RequestHandlerTCP) - Method in class net.tomp2p.connection.Sender
 
sendTCP() - Method in class net.tomp2p.rpc.RequestHandlerTCP
 
sendTCP(String) - Method in class net.tomp2p.rpc.RequestHandlerTCP
 
sendUDP(Message, RequestHandlerUDP) - Method in class net.tomp2p.connection.Sender
 
sendUDP() - Method in class net.tomp2p.rpc.RequestHandlerUDP
 
serverAddressChanged(PeerAddress) - Method in interface net.tomp2p.p2p.PeerListener
 
setAllInterfaces() - Method in class net.tomp2p.connection.Bindings
 
setAllProtocols() - Method in class net.tomp2p.connection.Bindings
 
setAttachement(Data) - Method in class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
setBagSize(int) - Method in class net.tomp2p.p2p.P2PConfiguration
 
setCacheSize(int) - Method in class net.tomp2p.p2p.P2PConfiguration
 
setCacheTimeoutMillis(int) - Method in class net.tomp2p.p2p.P2PConfiguration
 
setCancelOnFinish(boolean) - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
setCommand(Message.Command) - Method in class net.tomp2p.message.Message
Command of the message, such as GET, PING, etc.
setCompletedAndNotify() - Method in class net.tomp2p.futures.BaseFutureImpl
Make sure that the calling method has synchronized (lock)
setConnectTimeoutMillis(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setContentKey(Number160) - Method in class net.tomp2p.p2p.config.ConfigurationBase
 
setContentKey(Number160) - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
setContentKey(Number160) - Method in class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
setContentKey(Number160) - Method in class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
setContentLength(int) - Method in class net.tomp2p.message.Message
Set payload length.
setContentType(Message.Content) - Method in class net.tomp2p.message.Message
Convient method to set content type.
setConvertNumber480to160(boolean) - Method in class net.tomp2p.message.Message
 
setCrated(long) - Method in class net.tomp2p.peers.PeerStat
 
setData(Map<PeerAddress, Map<Number160, Data>>) - Method in class net.tomp2p.futures.FutureDHT
 
setDataMap(Map<Number160, Data>) - Method in class net.tomp2p.message.Message
 
setDataMapConvert(Map<Number480, Data>) - Method in class net.tomp2p.message.Message
 
setDataPublicKey(PublicKey) - Method in class net.tomp2p.storage.Data
This public key is set by the storage class and not by the decoding class
setDefaultPort(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setDefaultStorageReplication() - Method in class net.tomp2p.p2p.Peer
 
setDefaultTrackerReplication() - Method in class net.tomp2p.p2p.Peer
 
setDirectData1(Map<PeerAddress, ChannelBuffer>) - Method in class net.tomp2p.futures.FutureDHT
 
setDirectData2(Map<PeerAddress, Object>) - Method in class net.tomp2p.futures.FutureDHT
 
setDirectReplication(boolean) - Method in class net.tomp2p.storage.Data
 
setDiscoverTimeoutSec(int) - Method in class net.tomp2p.p2p.P2PConfiguration
 
setDispatcherRequest(DispatcherRequest) - Method in class net.tomp2p.connection.TCPChannelCache
 
setDomain(Number160) - Method in class net.tomp2p.p2p.config.ConfigurationBase
 
setDomain(Number160) - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
setEvaluationScheme(EvaluatingSchemeDHT) - Method in class net.tomp2p.p2p.config.ConfigurationGet
 
setEvaluationScheme(EvaluatingSchemeTracker) - Method in class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
setExpectAttachement(boolean) - Method in class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
setFailed(String) - Method in interface net.tomp2p.futures.BaseFuture
Sets the failed flat to true and the completed flag to true.
setFailed(String) - Method in class net.tomp2p.futures.BaseFutureImpl
 
setFireAndForget(boolean) - Method in class net.tomp2p.message.Message
 
setFutureCreate(FutureCreate<FutureDHT>) - Method in class net.tomp2p.futures.FutureDHT
 
setFutureCreate(FutureCreate<FutureTracker>) - Method in class net.tomp2p.futures.FutureTracker
 
setFutureCreate(FutureCreate<FutureDHT>) - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
setFutureCreate(FutureCreate<FutureDHT>) - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
setFutureCreate(FutureCreate<FutureDHT>) - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
setFutureCreate(FutureCreate<FutureTracker>) - Method in class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
setHintSign(boolean) - Method in class net.tomp2p.message.Message
 
setIdleTCPMillis(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setIdleUDPMillis(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setInteger(int) - Method in class net.tomp2p.message.Message
 
setKey(Number160) - Method in class net.tomp2p.message.Message
 
setKeyKey(Number160, Number160) - Method in class net.tomp2p.message.Message
 
setKeyMap(Map<Number160, Number160>) - Method in class net.tomp2p.message.Message
 
setKeys(Collection<Number160>) - Method in class net.tomp2p.message.Message
 
setKeysConvert(Collection<Number480>) - Method in class net.tomp2p.message.Message
 
setLastSeenOnline(long) - Method in class net.tomp2p.peers.PeerStat
 
setLong(long) - Method in class net.tomp2p.message.Message
 
setMaxIncomingThreads(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setMaxMessageSize(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setMaxNrBeforeExclude(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setMaxOutgoingTCP(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setMaxOutgoingUDP(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setMessageId(int) - Method in class net.tomp2p.message.Message
For deserialization, we need to set the id
setNeighbors(SortedSet<PeerAddress>, SortedSet<PeerAddress>) - Method in class net.tomp2p.futures.FutureRouting
 
setNeighbors(Collection<PeerAddress>) - Method in class net.tomp2p.message.Message
 
setNeighbors(Collection<PeerAddress>, int) - Method in class net.tomp2p.message.Message
 
setObjectDataReply(ObjectDataReply) - Method in class net.tomp2p.p2p.Peer
 
setOutsideAddress(InetAddress, int, int) - Method in class net.tomp2p.connection.Bindings
 
setPayload(ChannelBuffer) - Method in class net.tomp2p.message.Message
 
setPeerAddress(PeerAddress) - Method in class net.tomp2p.storage.Data
 
setPeerMap(PeerMap) - Method in class net.tomp2p.connection.PeerBean
 
setPeerMap(PeerMap) - Method in class net.tomp2p.p2p.Peer
 
setPrivateUPD(boolean) - Method in class net.tomp2p.futures.FutureDiscover
 
setProtectDomain(boolean) - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
setProtectedEntry(boolean) - Method in class net.tomp2p.storage.Data
 
setProtection(Storage.ProtectionEnable, Storage.ProtectionMode, Storage.ProtectionEnable, Storage.ProtectionMode, Storage.ProtectionEntryInDomain) - Method in class net.tomp2p.storage.Storage
 
setProtectionDomainEnable(Storage.ProtectionEnable) - Method in class net.tomp2p.storage.Storage
 
setProtectionDomainMode(Storage.ProtectionMode) - Method in class net.tomp2p.storage.Storage
 
setProtectionEntryEnable(Storage.ProtectionEnable) - Method in class net.tomp2p.storage.Storage
 
setProtectionEntryInDomain(Storage.ProtectionEntryInDomain) - Method in class net.tomp2p.storage.Storage
 
setProtectionEntryMode(Storage.ProtectionMode) - Method in class net.tomp2p.storage.Storage
 
setPublicKey(PublicKey) - Method in class net.tomp2p.message.Message
 
setPublicKey(PublicKey) - Method in class net.tomp2p.p2p.config.ConfigurationGet
 
setPublicKeyAndSign(KeyPair) - Method in class net.tomp2p.message.Message
 
setRawDataReply(RawDataReply) - Method in class net.tomp2p.p2p.Peer
 
setReadLimit(long) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setRealSender(PeerAddress) - Method in class net.tomp2p.message.Message
The ID of the real sender as seen by us.
setRecipient(PeerAddress) - Method in class net.tomp2p.message.Message
Set the ID of the recipient.
setRefreshSeconds(int) - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
setRefreshSeconds(int) - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
setRefreshSeconds(int) - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
setRemovedKeys(Map<PeerAddress, Collection<Number160>>) - Method in class net.tomp2p.futures.FutureDHT
 
setRepetitions(int) - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
setRepetitions(int) - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
setReplicationRefreshMillis(int) - Method in class net.tomp2p.p2p.P2PConfiguration
 
setReplicationStorage(Replication) - Method in class net.tomp2p.connection.PeerBean
 
setReplicationTracker(Replication) - Method in class net.tomp2p.connection.PeerBean
 
setReply(RawDataReply) - Method in class net.tomp2p.rpc.DirectDataRPC
 
setReply(ObjectDataReply) - Method in class net.tomp2p.rpc.DirectDataRPC
 
setReplyTimeout(long) - Method in class net.tomp2p.futures.FutureResponse
 
setReplyTimeoutHandler(ReplyTimeoutHandler) - Method in class net.tomp2p.futures.FutureResponse
 
setRequestP2PConfiguration(RequestP2PConfiguration) - Method in class net.tomp2p.p2p.config.ConfigurationDirect
 
setRequestP2PConfiguration(RequestP2PConfiguration) - Method in class net.tomp2p.p2p.config.ConfigurationGet
 
setRequestP2PConfiguration(RequestP2PConfiguration) - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
setRequestP2PConfiguration(RequestP2PConfiguration) - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
setResponse(Message) - Method in class net.tomp2p.futures.FutureData
 
setResponse(Message) - Method in class net.tomp2p.futures.FutureResponse
Gets called if a peer responds.
setReturnResults(boolean) - Method in class net.tomp2p.p2p.config.ConfigurationRemove
 
setRoutingConfiguration(RoutingConfiguration) - Method in class net.tomp2p.p2p.config.ConfigurationBase
 
setScheduledFuture(ScheduledFuture<?>, List<ScheduledFuture<?>>) - Method in class net.tomp2p.futures.FutureDHT
 
setScheduledFuture(ScheduledFuture<?>, List<ScheduledFuture<?>>) - Method in class net.tomp2p.futures.FutureTracker
 
setSeenOnlineTime(PeerAddress) - Method in class net.tomp2p.peers.PeerMapStat
 
setSender(PeerAddress) - Method in class net.tomp2p.message.Message
The ID of the sender.
setServerPeerAddress(PeerAddress) - Method in class net.tomp2p.connection.PeerBean
 
setSign(boolean) - Method in class net.tomp2p.rpc.ReplyHandler
 
setSignature(byte[]) - Method in class net.tomp2p.storage.Data
 
setSignMessage(boolean) - Method in class net.tomp2p.p2p.config.ConfigurationBase
 
setStartMaintenance(boolean) - Method in class net.tomp2p.p2p.P2PConfiguration
 
setStatistics(Statistics) - Method in class net.tomp2p.connection.PeerBean
 
setStorage(Storage) - Method in class net.tomp2p.connection.PeerBean
 
setStoredKeys(Map<PeerAddress, Collection<Number160>>, boolean) - Method in class net.tomp2p.futures.FutureDHT
 
setStoreIfAbsent(boolean) - Method in class net.tomp2p.p2p.config.ConfigurationStore
 
setTCP() - Method in class net.tomp2p.message.Message
 
setTimeoutTCPMillis(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setTrackerConfiguration(TrackerConfiguration) - Method in class net.tomp2p.p2p.config.ConfigurationTrackerGet
 
setTrackerConfiguration(TrackerConfiguration) - Method in class net.tomp2p.p2p.config.ConfigurationTrackerStore
 
setTrackers(Set<PeerAddress>, Set<PeerAddress>, Map<PeerAddress, Map<PeerAddress, Data>>) - Method in class net.tomp2p.futures.FutureTracker
 
setTrackerStorage(TrackerStorage) - Method in class net.tomp2p.connection.PeerBean
 
setTrackerStoreSize(int) - Method in class net.tomp2p.storage.TrackerStorage
 
setTrackerTimoutSeconds(int) - Method in class net.tomp2p.storage.TrackerStorage
 
setTTLSeconds(int) - Method in class net.tomp2p.storage.Data
 
setType(Message.Type) - Method in class net.tomp2p.message.Message
Set the message type.
setUDP() - Method in class net.tomp2p.message.Message
 
setUdpLength(int) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
setVersion(int) - Method in class net.tomp2p.message.Message
For deserialization
setWriteLimit(long) - Method in class net.tomp2p.connection.ConnectionConfiguration
 
SHA1Signature - Class in net.tomp2p.message
 
SHA1Signature() - Constructor for class net.tomp2p.message.SHA1Signature
 
SHA1Signature(Number160, Number160) - Constructor for class net.tomp2p.message.SHA1Signature
 
shiftLeft(int) - Method in class net.tomp2p.peers.Number160
Shift left the 160bit number.
shiftRight(int) - Method in class net.tomp2p.peers.Number160
Shift right the 160bit number.
ShortString - Class in net.tomp2p.peers
A short string stores strings with length of up to 19 characters.
ShortString(String) - Constructor for class net.tomp2p.peers.ShortString
Creates a short string, encodes string in UTF-8 and checks for its length
ShortString(Number160) - Constructor for class net.tomp2p.peers.ShortString
Creates a short string, decodes the byte array from UTF-8 and checks for its length
shutdown() - Method in class net.tomp2p.connection.ConnectionCollector
Close all open connections and prevent creating new ones.
shutdown() - Method in class net.tomp2p.connection.ConnectionHandler
Shuts down the dispatcher and frees resources
Note: does not close any channels, use shutdownSharedTCP or shutdownSharedUDP instead.
shutdown(String) - Method in class net.tomp2p.connection.DispatcherReply
 
shutdown() - Method in class net.tomp2p.connection.Sender
 
shutdown() - Method in class net.tomp2p.log.GZipFileLogger
 
shutdown() - Method in interface net.tomp2p.log.PeerLogger
 
shutdown() - Method in class net.tomp2p.p2p.Peer
Closes all connections of this node
signAndSetPublicKey(KeyPair) - Method in class net.tomp2p.storage.Data
 
size() - Method in interface net.tomp2p.peers.PeerMap
 
size() - Method in class net.tomp2p.peers.PeerMapKadImpl
The peerCount keeps track of the total number of peer in the system.
size(Number160, Number160) - Method in class net.tomp2p.storage.TrackerStorage
 
SIZE_IP_SOCKv4 - Static variable in class net.tomp2p.peers.PeerAddress
 
SIZE_IP_SOCKv6 - Static variable in class net.tomp2p.peers.PeerAddress
 
SIZE_IPv4 - Static variable in class net.tomp2p.peers.PeerAddress
 
SIZE_IPv6 - Static variable in class net.tomp2p.peers.PeerAddress
 
skipBytes(int) - Method in interface net.tomp2p.message.DataInput
 
sleep(long) - Static method in class net.tomp2p.utils.Utils
 
start() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
Start the monitoring process
startupTCP(InetSocketAddress, DispatcherRequest, int) - Method in class net.tomp2p.connection.ConnectionHandler
Creates TCP channels and listens on them
startupUDP(InetSocketAddress, DispatcherRequest) - Method in class net.tomp2p.connection.ConnectionHandler
 
Statistics - Class in net.tomp2p.p2p
 
Statistics(List<Map<Number160, PeerAddress>>, Number160, int, int) - Constructor for class net.tomp2p.p2p.Statistics
 
stop() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
Stop the monitoring process
Storage - Class in net.tomp2p.storage
 
Storage() - Constructor for class net.tomp2p.storage.Storage
 
Storage.ProtectionEnable - Enum in net.tomp2p.storage
 
Storage.ProtectionEntryInDomain - Enum in net.tomp2p.storage
 
Storage.ProtectionMode - Enum in net.tomp2p.storage
 
StorageDisk - Class in net.tomp2p.storage
 
StorageDisk(String) - Constructor for class net.tomp2p.storage.StorageDisk
 
StorageMemory - Class in net.tomp2p.storage
 
StorageMemory() - Constructor for class net.tomp2p.storage.StorageMemory
 
StorageRPC - Class in net.tomp2p.rpc
 
StorageRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.StorageRPC
 
StorageRunner - Interface in net.tomp2p.storage
 
storedDirectReplication() - Method in class net.tomp2p.storage.Storage
 
storedDirectReplication() - Method in class net.tomp2p.storage.StorageDisk
 
storedDirectReplication() - Method in class net.tomp2p.storage.StorageMemory
 

T

TCPChannelCache - Class in net.tomp2p.connection
 
TCPChannelCache(ConnectionCollector, Timer, ChannelGroup) - Constructor for class net.tomp2p.connection.TCPChannelCache
 
THREAD_NAME - Static variable in class net.tomp2p.connection.ConnectionHandler
 
toByteArray(byte[], int) - Method in class net.tomp2p.peers.Number160
Fills the byte array with this number
toByteArray() - Method in class net.tomp2p.peers.Number160
Returns a byte array, which is always of size 20.
toByteArray() - Method in class net.tomp2p.peers.PeerAddress
Serializes to a new array with the proper size
toByteArray(byte[], int) - Method in class net.tomp2p.peers.PeerAddress
Serializes to an existing array.
toIntArray() - Method in class net.tomp2p.peers.Number160
Returns a copy of the backing array, which is always of size 5.
TomP2PDecoderTCP - Class in net.tomp2p.message
The decoder first decodes the header.
TomP2PDecoderTCP() - Constructor for class net.tomp2p.message.TomP2PDecoderTCP
 
TomP2PDecoderTCP(int) - Constructor for class net.tomp2p.message.TomP2PDecoderTCP
 
TomP2PDecoderUDP - Class in net.tomp2p.message
 
TomP2PDecoderUDP() - Constructor for class net.tomp2p.message.TomP2PDecoderUDP
 
TomP2PEncoderStage1 - Class in net.tomp2p.message
 
TomP2PEncoderStage1() - Constructor for class net.tomp2p.message.TomP2PEncoderStage1
 
TomP2PEncoderStage2 - Class in net.tomp2p.message
 
TomP2PEncoderStage2() - Constructor for class net.tomp2p.message.TomP2PEncoderStage2
 
toNumber160() - Method in class net.tomp2p.peers.ShortString
 
tooClose(Collection<PeerAddress>) - Static method in class net.tomp2p.p2p.Statistics
 
toString() - Method in class net.tomp2p.connection.ConnectionCollector
 
toString() - Method in exception net.tomp2p.connection.PeerException
 
toString() - Method in class net.tomp2p.message.IntermediateMessage
 
toString() - Method in class net.tomp2p.message.Message
 
toString() - Method in class net.tomp2p.message.MessageID
 
toString(boolean) - Method in class net.tomp2p.peers.Number160
Shows the content in a human readable manner
toString() - Method in class net.tomp2p.peers.Number160
 
toString() - Method in class net.tomp2p.peers.Number320
 
toString() - Method in class net.tomp2p.peers.Number480
 
toString() - Method in class net.tomp2p.peers.PeerAddress
 
toString() - Method in class net.tomp2p.peers.PeerMapKadImpl
 
toString() - Method in class net.tomp2p.peers.ShortString
 
toString() - Method in class net.tomp2p.storage.Data
 
toString() - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
 
toString() - Method in class org.jboss.netty.handler.traffic.TrafficCounter
String information
TrackerConfiguration - Class in net.tomp2p.p2p
 
TrackerConfiguration(int, int, int, int) - Constructor for class net.tomp2p.p2p.TrackerConfiguration
 
TrackerRPC - Class in net.tomp2p.rpc
 
TrackerRPC(PeerBean, ConnectionBean) - Constructor for class net.tomp2p.rpc.TrackerRPC
 
TrackerStorage - Class in net.tomp2p.storage
The maintenance for the tracker is done by the client peer.
TrackerStorage() - Constructor for class net.tomp2p.storage.TrackerStorage
 
trafficCounter - Variable in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
Traffic Counter
TrafficCounter - Class in org.jboss.netty.handler.traffic
TrafficCounter is associated with AbstractTrafficShapingHandler.

A TrafficCounter has for goal to count the traffic in order to enable to limit the traffic or not, globally or per channel.
TrafficCounter(AbstractTrafficShapingHandler, Executor, String, long) - Constructor for class org.jboss.netty.handler.traffic.TrafficCounter
Constructor with the AbstractTrafficShapingHandler that hosts it, the executorService to use, its name, the checkInterval between two computations in millisecond
triggerStatUpdate(boolean, int) - Method in class net.tomp2p.p2p.Statistics
 
type - Variable in class net.tomp2p.futures.BaseFutureImpl
 

U

UDP_LIMIT - Static variable in class net.tomp2p.connection.ConnectionHandler
 
uncompress(byte[], int, int) - Static method in class net.tomp2p.utils.Utils
 
uncompress(byte[]) - Static method in class net.tomp2p.utils.Utils
 
unsignedInt(int) - Method in class net.tomp2p.peers.Number160
For debugging...
updatePeerMapIfCloser(Number160, Number160) - Method in class net.tomp2p.replication.Replication
 
updateResponsibilities(Number160, Number160) - Method in class net.tomp2p.storage.Storage
 
updateResponsibilities(Number160, Number160) - Method in class net.tomp2p.storage.StorageDisk
 
updateResponsibilities(Number160, Number160) - Method in class net.tomp2p.storage.StorageMemory
 
useAllInterfaces() - Method in class net.tomp2p.connection.Bindings
 
useAllProtocols() - Method in class net.tomp2p.connection.Bindings
 
useIPv4() - Method in class net.tomp2p.connection.Bindings
 
useIPv6() - Method in class net.tomp2p.connection.Bindings
 
Utils - Class in net.tomp2p.utils
 
Utils() - Constructor for class net.tomp2p.utils.Utils
 

V

valueOf(String) - Static method in enum net.tomp2p.connection.Bindings.Protocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.connection.PeerException.AbortCause
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.futures.BaseFuture.FutureType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.message.Message.Command
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.storage.Storage.ProtectionEnable
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.storage.Storage.ProtectionEntryInDomain
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tomp2p.storage.Storage.ProtectionMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.tomp2p.connection.Bindings.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.connection.PeerException.AbortCause
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.futures.BaseFuture.FutureType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.message.Message.Command
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.storage.Storage.ProtectionEnable
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.storage.Storage.ProtectionEntryInDomain
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tomp2p.storage.Storage.ProtectionMode
Returns an array containing the constants of this enum type, in the order they are declared.
verify(PublicKey) - Method in class net.tomp2p.storage.Data
 
VotingSchemeDHT - Class in net.tomp2p.p2p
 
VotingSchemeDHT() - Constructor for class net.tomp2p.p2p.VotingSchemeDHT
 
VotingSchemeTracker - Class in net.tomp2p.p2p
 
VotingSchemeTracker() - Constructor for class net.tomp2p.p2p.VotingSchemeTracker
 

W

waitFor(K) - Method in class net.tomp2p.futures.FutureWrapper
 
waitForBootstrap(FutureBootstrap, PeerAddress) - Method in class net.tomp2p.futures.FutureWrappedBootstrap
 
waitForBootstrap(FutureBootstrap, Collection<PeerAddress>) - Method in class net.tomp2p.futures.FutureWrappedBootstrap
 
writeByte(int) - Method in interface net.tomp2p.message.DataOutput
 
writeComplete(ChannelHandlerContext, WriteCompletionEvent) - Method in class net.tomp2p.connection.IdleStateHandler
 
writeComplete(ChannelHandlerContext, WriteCompletionEvent) - Method in class net.tomp2p.connection.ReplyTimeoutHandler
 
writeInt(int) - Method in interface net.tomp2p.message.DataOutput
 
writeRequested(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.connection.PerformanceFilter
 
writeRequested(ChannelHandlerContext, MessageEvent) - Method in class net.tomp2p.log.LogHandler
 
writeRequested(ChannelHandlerContext, MessageEvent) - Method in class org.jboss.netty.handler.traffic.AbstractTrafficShapingHandler
 
writeShort(int) - Method in interface net.tomp2p.message.DataOutput
 

X

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

Z

ZERO - Static variable in class net.tomp2p.peers.Number160
 

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

Copyright © 2011. All Rights Reserved.