SYMBOL INDEX (531 symbols across 76 files) FILE: src/kademlia/DefaultConfiguration.java class DefaultConfiguration (line 10) | public class DefaultConfiguration implements KadConfiguration method DefaultConfiguration (line 27) | public DefaultConfiguration() method restoreInterval (line 32) | @Override method responseTimeout (line 38) | @Override method operationTimeout (line 44) | @Override method maxConcurrentMessagesTransiting (line 50) | @Override method k (line 56) | @Override method replacementCacheSize (line 62) | @Override method stale (line 68) | @Override method getNodeDataFolder (line 74) | @Override method isTesting (line 96) | @Override FILE: src/kademlia/JKademliaNode.java class JKademliaNode (line 46) | public class JKademliaNode implements KademliaNode method JKademliaNode (line 92) | public JKademliaNode(String ownerId, Node localNode, int udpPort, Kade... method startRefreshOperation (line 105) | @Override method stopRefreshOperation (line 128) | @Override method JKademliaNode (line 137) | public JKademliaNode(String ownerId, Node node, int udpPort, KademliaR... method JKademliaNode (line 149) | public JKademliaNode(String ownerId, Node node, int udpPort, KadConfig... method JKademliaNode (line 160) | public JKademliaNode(String ownerId, KademliaId defaultId, int udpPort... method loadFromFile (line 180) | public static JKademliaNode loadFromFile(String ownerId) throws FileNo... method loadFromFile (line 196) | public static JKademliaNode loadFromFile(String ownerId, KadConfigurat... method getNode (line 228) | @Override method getServer (line 234) | @Override method getDHT (line 240) | @Override method getCurrentConfiguration (line 246) | @Override method bootstrap (line 252) | @Override method put (line 262) | @Override method put (line 268) | @Override method putLocally (line 278) | @Override method get (line 284) | @Override method refresh (line 302) | @Override method getOwnerId (line 308) | @Override method getPort (line 314) | @Override method shutdown (line 320) | @Override method saveKadState (line 336) | @Override method getStateStorageFolderName (line 374) | private static String getStateStorageFolderName(String ownerId, KadCon... method getRoutingTable (line 386) | @Override method getStatistician (line 392) | @Override method toString (line 403) | @Override FILE: src/kademlia/KadConfiguration.java type KadConfiguration (line 9) | public interface KadConfiguration method restoreInterval (line 15) | public long restoreInterval(); method responseTimeout (line 23) | public long responseTimeout(); method operationTimeout (line 28) | public long operationTimeout(); method maxConcurrentMessagesTransiting (line 33) | public int maxConcurrentMessagesTransiting(); method k (line 38) | public int k(); method replacementCacheSize (line 43) | public int replacementCacheSize(); method stale (line 48) | public int stale(); method getNodeDataFolder (line 57) | public String getNodeDataFolder(String ownerId); method isTesting (line 62) | public boolean isTesting(); FILE: src/kademlia/KadServer.java class KadServer (line 29) | public class KadServer method KadServer (line 71) | public KadServer(int udpPort, KademliaMessageFactory mFactory, Node lo... method startListener (line 86) | private void startListener() method sendMessage (line 110) | public synchronized int sendMessage(Node to, Message msg, Receiver rec... method reply (line 152) | public synchronized void reply(Node to, Message msg, int comm) throws ... method sendMessage (line 164) | private void sendMessage(Node to, Message msg, int comm) throws IOExce... method listen (line 195) | private void listen() method unregister (line 290) | private synchronized void unregister(int comm) method shutdown (line 299) | public synchronized void shutdown() class TimeoutTask (line 312) | class TimeoutTask extends TimerTask method TimeoutTask (line 318) | public TimeoutTask(int comm, Receiver recv) method run (line 324) | @Override method printReceivers (line 344) | public void printReceivers() method isRunning (line 352) | public boolean isRunning() FILE: src/kademlia/KadStatistician.java type KadStatistician (line 11) | public interface KadStatistician method sentData (line 19) | public void sentData(long size); method getTotalDataSent (line 24) | public long getTotalDataSent(); method receivedData (line 31) | public void receivedData(long size); method getTotalDataReceived (line 36) | public long getTotalDataReceived(); method setBootstrapTime (line 43) | public void setBootstrapTime(long time); method getBootstrapTime (line 48) | public long getBootstrapTime(); method addContentLookup (line 57) | public void addContentLookup(long time, int routeLength, boolean isSuc... method numContentLookups (line 62) | public int numContentLookups(); method numFailedContentLookups (line 67) | public int numFailedContentLookups(); method totalContentLookupTime (line 72) | public long totalContentLookupTime(); method averageContentLookupTime (line 79) | public double averageContentLookupTime(); method averageContentLookupRouteLength (line 86) | public double averageContentLookupRouteLength(); FILE: src/kademlia/KademliaNode.java type KademliaNode (line 22) | public interface KademliaNode method startRefreshOperation (line 28) | public void startRefreshOperation(); method stopRefreshOperation (line 33) | public void stopRefreshOperation(); method getNode (line 38) | public Node getNode(); method getServer (line 43) | public KadServer getServer(); method getDHT (line 48) | public KademliaDHT getDHT(); method getCurrentConfiguration (line 53) | public KadConfiguration getCurrentConfiguration(); method bootstrap (line 64) | public void bootstrap(Node n) throws IOException, RoutingException; method put (line 77) | public int put(KadContent content) throws IOException; method put (line 90) | public int put(JKademliaStorageEntry entry) throws IOException; method putLocally (line 99) | public void putLocally(KadContent content) throws IOException; method get (line 111) | public JKademliaStorageEntry get(GetParameter param) throws NoSuchElem... method refresh (line 118) | public void refresh() throws IOException; method getOwnerId (line 123) | public String getOwnerId(); method getPort (line 128) | public int getPort(); method shutdown (line 137) | public void shutdown(final boolean saveState) throws IOException; method saveKadState (line 144) | public void saveKadState() throws IOException; method getRoutingTable (line 149) | public KademliaRoutingTable getRoutingTable(); method getStatistician (line 154) | public KadStatistician getStatistician(); FILE: src/kademlia/Statistician.java class Statistician (line 13) | public class Statistician implements KadStatistician method sentData (line 38) | @Override method getTotalDataSent (line 45) | @Override method receivedData (line 56) | @Override method getTotalDataReceived (line 63) | @Override method setBootstrapTime (line 73) | @Override method getBootstrapTime (line 79) | @Override method addContentLookup (line 85) | @Override method numContentLookups (line 100) | @Override method numFailedContentLookups (line 106) | @Override method totalContentLookupTime (line 112) | @Override method averageContentLookupTime (line 118) | @Override method averageContentLookupRouteLength (line 131) | @Override method toString (line 143) | @Override FILE: src/kademlia/dht/DHT.java class DHT (line 25) | public class DHT implements KademliaDHT method DHT (line 34) | public DHT(String ownerId, KadConfiguration config) method initialize (line 41) | @Override method setConfiguration (line 47) | @Override method getSerializer (line 53) | @Override method store (line 64) | @Override method store (line 126) | @Override method retrieve (line 132) | @Override method contains (line 140) | @Override method get (line 146) | @Override method get (line 166) | @Override method remove (line 188) | @Override method remove (line 194) | @Override method getContentStorageFolderName (line 219) | private String getContentStorageFolderName(KademliaId key) method getStorageEntries (line 238) | @Override method putStorageEntries (line 244) | @Override method toString (line 260) | @Override FILE: src/kademlia/dht/GetParameter.java class GetParameter (line 15) | public class GetParameter method GetParameter (line 28) | public GetParameter(KademliaId key, String type) method GetParameter (line 41) | public GetParameter(KademliaId key, String type, String owner) method GetParameter (line 52) | public GetParameter(KadContent c) method GetParameter (line 72) | public GetParameter(KademliaStorageEntryMetadata md) method getKey (line 87) | public KademliaId getKey() method setOwnerId (line 92) | public void setOwnerId(String ownerId) method getOwnerId (line 97) | public String getOwnerId() method setType (line 102) | public void setType(String type) method getType (line 107) | public String getType() method toString (line 112) | @Override FILE: src/kademlia/dht/JKademliaStorageEntry.java class JKademliaStorageEntry (line 9) | public class JKademliaStorageEntry implements KademliaStorageEntry method JKademliaStorageEntry (line 15) | public JKademliaStorageEntry(final KadContent content) method JKademliaStorageEntry (line 20) | public JKademliaStorageEntry(final KadContent content, final StorageEn... method setContent (line 26) | @Override method getContent (line 32) | @Override method getContentMetadata (line 38) | @Override method toString (line 44) | @Override FILE: src/kademlia/dht/KadContent.java type KadContent (line 12) | public interface KadContent method getKey (line 18) | public KademliaId getKey(); method getType (line 23) | public String getType(); method getCreatedTimestamp (line 31) | public long getCreatedTimestamp(); method getLastUpdatedTimestamp (line 39) | public long getLastUpdatedTimestamp(); method getOwnerId (line 44) | public String getOwnerId(); method toSerializedForm (line 55) | public byte[] toSerializedForm(); method fromSerializedForm (line 64) | public KadContent fromSerializedForm(byte[] data); FILE: src/kademlia/dht/KademliaDHT.java type KademliaDHT (line 18) | public interface KademliaDHT method initialize (line 24) | public void initialize(); method setConfiguration (line 31) | public void setConfiguration(KadConfiguration con); method getSerializer (line 38) | public KadSerializer getSerializer(); method store (line 49) | public boolean store(JKademliaStorageEntry content) throws IOException; method store (line 51) | public boolean store(KadContent content) throws IOException; method retrieve (line 64) | public JKademliaStorageEntry retrieve(KademliaId key, int hashCode) th... method contains (line 73) | public boolean contains(GetParameter param); method get (line 84) | public JKademliaStorageEntry get(KademliaStorageEntryMetadata entry) t... method get (line 95) | public JKademliaStorageEntry get(GetParameter param) throws NoSuchElem... method remove (line 105) | public void remove(KadContent content) throws ContentNotFoundException; method remove (line 107) | public void remove(KademliaStorageEntryMetadata entry) throws ContentN... method getStorageEntries (line 112) | public List getStorageEntries(); method putStorageEntries (line 120) | public void putStorageEntries(List ientr... FILE: src/kademlia/dht/KademliaStorageEntry.java type KademliaStorageEntry (line 9) | public interface KademliaStorageEntry method setContent (line 17) | public void setContent(final byte[] data); method getContent (line 24) | public byte[] getContent(); method getContentMetadata (line 31) | public KademliaStorageEntryMetadata getContentMetadata(); FILE: src/kademlia/dht/KademliaStorageEntryMetadata.java type KademliaStorageEntryMetadata (line 12) | public interface KademliaStorageEntryMetadata method getKey (line 18) | public KademliaId getKey(); method getOwnerId (line 23) | public String getOwnerId(); method getType (line 28) | public String getType(); method getContentHash (line 33) | public int getContentHash(); method getLastUpdatedTimestamp (line 38) | public long getLastUpdatedTimestamp(); method satisfiesParameters (line 48) | public boolean satisfiesParameters(GetParameter params); method lastRepublished (line 53) | public long lastRepublished(); method updateLastRepublished (line 58) | public void updateLastRepublished(); FILE: src/kademlia/dht/StorageEntryMetadata.java class StorageEntryMetadata (line 13) | public class StorageEntryMetadata implements KademliaStorageEntryMetadata method StorageEntryMetadata (line 25) | public StorageEntryMetadata(KadContent content) method getKey (line 36) | @Override method getOwnerId (line 42) | @Override method getType (line 48) | @Override method getContentHash (line 54) | @Override method getLastUpdatedTimestamp (line 60) | @Override method satisfiesParameters (line 74) | @Override method lastRepublished (line 98) | @Override method updateLastRepublished (line 107) | @Override method equals (line 113) | @Override method hashCode (line 124) | @Override method toString (line 134) | @Override FILE: src/kademlia/dht/StoredContentManager.java class StoredContentManager (line 20) | class StoredContentManager method put (line 35) | public KademliaStorageEntryMetadata put(KadContent content) throws Con... method put (line 45) | public KademliaStorageEntryMetadata put(KademliaStorageEntryMetadata e... method contains (line 72) | public synchronized boolean contains(GetParameter param) method contains (line 95) | public synchronized boolean contains(KadContent content) method contains (line 103) | public synchronized boolean contains(KademliaStorageEntryMetadata entry) method get (line 115) | public KademliaStorageEntryMetadata get(GetParameter param) throws NoS... method get (line 138) | public KademliaStorageEntryMetadata get(KademliaStorageEntryMetadata md) method getAllEntries (line 146) | public synchronized List getAllEntries() method remove (line 161) | public void remove(KadContent content) throws ContentNotFoundException method remove (line 166) | public void remove(KademliaStorageEntryMetadata entry) throws ContentN... method toString (line 178) | @Override FILE: src/kademlia/exceptions/ContentExistException.java class ContentExistException (line 9) | public class ContentExistException extends Exception method ContentExistException (line 12) | public ContentExistException() method ContentExistException (line 17) | public ContentExistException(String message) FILE: src/kademlia/exceptions/ContentNotFoundException.java class ContentNotFoundException (line 9) | public class ContentNotFoundException extends Exception method ContentNotFoundException (line 12) | public ContentNotFoundException() method ContentNotFoundException (line 17) | public ContentNotFoundException(String message) FILE: src/kademlia/exceptions/KadServerDownException.java class KadServerDownException (line 9) | public class KadServerDownException extends RoutingException method KadServerDownException (line 12) | public KadServerDownException() method KadServerDownException (line 17) | public KadServerDownException(String message) FILE: src/kademlia/exceptions/RoutingException.java class RoutingException (line 11) | public class RoutingException extends IOException method RoutingException (line 14) | public RoutingException() method RoutingException (line 19) | public RoutingException(String message) FILE: src/kademlia/exceptions/UnknownMessageException.java class UnknownMessageException (line 9) | public class UnknownMessageException extends RuntimeException method UnknownMessageException (line 12) | public UnknownMessageException() method UnknownMessageException (line 17) | public UnknownMessageException(String message) FILE: src/kademlia/message/AcknowledgeMessage.java class AcknowledgeMessage (line 15) | public class AcknowledgeMessage implements Message method AcknowledgeMessage (line 21) | public AcknowledgeMessage(Node origin) method AcknowledgeMessage (line 26) | public AcknowledgeMessage(DataInputStream in) throws IOException method fromStream (line 31) | @Override method toStream (line 37) | @Override method getOrigin (line 43) | public Node getOrigin() method code (line 48) | @Override method toString (line 54) | @Override FILE: src/kademlia/message/ConnectMessage.java class ConnectMessage (line 14) | public class ConnectMessage implements Message method ConnectMessage (line 20) | public ConnectMessage(Node origin) method ConnectMessage (line 25) | public ConnectMessage(DataInputStream in) throws IOException method fromStream (line 30) | @Override method toStream (line 36) | @Override method getOrigin (line 42) | public Node getOrigin() method code (line 47) | @Override method toString (line 53) | @Override FILE: src/kademlia/message/ConnectReceiver.java class ConnectReceiver (line 13) | public class ConnectReceiver implements Receiver method ConnectReceiver (line 19) | public ConnectReceiver(KadServer server, KademliaNode local) method receive (line 32) | @Override method timeout (line 54) | @Override FILE: src/kademlia/message/ContentLookupMessage.java class ContentLookupMessage (line 16) | public class ContentLookupMessage implements Message method ContentLookupMessage (line 28) | public ContentLookupMessage(Node origin, GetParameter params) method ContentLookupMessage (line 34) | public ContentLookupMessage(DataInputStream in) throws IOException method getParameters (line 39) | public GetParameter getParameters() method getOrigin (line 44) | public Node getOrigin() method toStream (line 49) | @Override method fromStream (line 58) | @Override method code (line 74) | @Override FILE: src/kademlia/message/ContentLookupReceiver.java class ContentLookupReceiver (line 17) | public class ContentLookupReceiver implements Receiver method ContentLookupReceiver (line 25) | public ContentLookupReceiver(KadServer server, KademliaNode localNode,... method receive (line 33) | @Override method timeout (line 64) | @Override FILE: src/kademlia/message/ContentMessage.java class ContentMessage (line 17) | public class ContentMessage implements Message method ContentMessage (line 30) | public ContentMessage(Node origin, JKademliaStorageEntry content) method ContentMessage (line 36) | public ContentMessage(DataInputStream in) throws IOException method toStream (line 41) | @Override method fromStream (line 50) | @Override method getOrigin (line 65) | public Node getOrigin() method getContent (line 70) | public JKademliaStorageEntry getContent() method code (line 75) | @Override method toString (line 81) | @Override FILE: src/kademlia/message/KademliaMessageFactory.java type KademliaMessageFactory (line 13) | public interface KademliaMessageFactory method createMessage (line 26) | public Message createMessage(byte code, DataInputStream in) throws IOE... method createReceiver (line 36) | public Receiver createReceiver(byte code, KadServer server); FILE: src/kademlia/message/Message.java type Message (line 3) | public interface Message extends Streamable method code (line 13) | public byte code(); FILE: src/kademlia/message/MessageFactory.java class MessageFactory (line 16) | public class MessageFactory implements KademliaMessageFactory method MessageFactory (line 23) | public MessageFactory(KademliaNode local, KademliaDHT dht, KadConfigur... method createMessage (line 30) | @Override method createReceiver (line 58) | @Override FILE: src/kademlia/message/NodeLookupMessage.java class NodeLookupMessage (line 15) | public class NodeLookupMessage implements Message method NodeLookupMessage (line 29) | public NodeLookupMessage(Node origin, KademliaId lookup) method NodeLookupMessage (line 35) | public NodeLookupMessage(DataInputStream in) throws IOException method fromStream (line 40) | @Override method toStream (line 47) | @Override method getOrigin (line 54) | public Node getOrigin() method getLookupId (line 59) | public KademliaId getLookupId() method code (line 64) | @Override method toString (line 70) | @Override FILE: src/kademlia/message/NodeLookupReceiver.java class NodeLookupReceiver (line 16) | public class NodeLookupReceiver implements Receiver method NodeLookupReceiver (line 23) | public NodeLookupReceiver(KadServer server, KademliaNode local, KadCon... method receive (line 38) | @Override method timeout (line 68) | @Override FILE: src/kademlia/message/NodeReplyMessage.java class NodeReplyMessage (line 17) | public class NodeReplyMessage implements Message method NodeReplyMessage (line 24) | public NodeReplyMessage(Node origin, List nodes) method NodeReplyMessage (line 30) | public NodeReplyMessage(DataInputStream in) throws IOException method fromStream (line 35) | @Override method toStream (line 52) | @Override method getOrigin (line 73) | public Node getOrigin() method code (line 78) | @Override method getNodes (line 84) | public List getNodes() method toString (line 89) | @Override FILE: src/kademlia/message/Receiver.java type Receiver (line 11) | public interface Receiver method receive (line 22) | public void receive(Message incoming, int conversationId) throws IOExc... method timeout (line 32) | public void timeout(int conversationId) throws IOException; FILE: src/kademlia/message/SimpleMessage.java class SimpleMessage (line 13) | public class SimpleMessage implements Message method SimpleMessage (line 21) | public SimpleMessage(String message) method SimpleMessage (line 26) | public SimpleMessage(DataInputStream in) method code (line 31) | @Override method toStream (line 37) | @Override method fromStream (line 51) | @Override method toString (line 67) | @Override FILE: src/kademlia/message/SimpleReceiver.java class SimpleReceiver (line 11) | public class SimpleReceiver implements Receiver method receive (line 14) | @Override method timeout (line 20) | @Override FILE: src/kademlia/message/StoreContentMessage.java class StoreContentMessage (line 17) | public class StoreContentMessage implements Message method StoreContentMessage (line 30) | public StoreContentMessage(Node origin, JKademliaStorageEntry content) method StoreContentMessage (line 36) | public StoreContentMessage(DataInputStream in) throws IOException method toStream (line 41) | @Override method fromStream (line 50) | @Override method getOrigin (line 64) | public Node getOrigin() method getContent (line 69) | public JKademliaStorageEntry getContent() method code (line 74) | @Override method toString (line 80) | @Override FILE: src/kademlia/message/StoreContentReceiver.java class StoreContentReceiver (line 14) | public class StoreContentReceiver implements Receiver method StoreContentReceiver (line 21) | public StoreContentReceiver(KadServer server, KademliaNode localNode, ... method receive (line 28) | @Override method timeout (line 49) | @Override FILE: src/kademlia/message/Streamable.java type Streamable (line 20) | public interface Streamable method toStream (line 32) | public void toStream(DataOutputStream out) throws IOException; method fromStream (line 41) | public void fromStream(DataInputStream out) throws IOException; FILE: src/kademlia/node/KademliaId.java class KademliaId (line 18) | public class KademliaId implements Streamable, Serializable method KademliaId (line 29) | public KademliaId(String data) method KademliaId (line 41) | public KademliaId() method KademliaId (line 52) | public KademliaId(byte[] bytes) method KademliaId (line 68) | public KademliaId(DataInputStream in) throws IOException method getBytes (line 73) | public byte[] getBytes() method getInt (line 81) | public BigInteger getInt() method equals (line 93) | @Override method hashCode (line 104) | @Override method xor (line 119) | public KademliaId xor(KademliaId nid) method generateNodeIdByDistance (line 141) | public KademliaId generateNodeIdByDistance(int distance) method getFirstSetBitIndex (line 181) | public int getFirstSetBitIndex() method getDistance (line 225) | public int getDistance(KademliaId to) method toStream (line 235) | @Override method fromStream (line 242) | @Override method hexRepresentation (line 250) | public String hexRepresentation() method toString (line 257) | @Override FILE: src/kademlia/node/KeyComparator.java class KeyComparator (line 12) | public class KeyComparator implements Comparator method KeyComparator (line 20) | public KeyComparator(KademliaId key) method compare (line 33) | @Override FILE: src/kademlia/node/Node.java class Node (line 18) | public class Node implements Streamable, Serializable method Node (line 26) | public Node(KademliaId nid, InetAddress ip, int port) method Node (line 41) | public Node(DataInputStream in) throws IOException method setInetAddress (line 52) | public void setInetAddress(InetAddress addr) method getNodeId (line 60) | public KademliaId getNodeId() method getSocketAddress (line 70) | public InetSocketAddress getSocketAddress() method toStream (line 75) | @Override method fromStream (line 93) | @Override method equals (line 108) | @Override method hashCode (line 123) | @Override method toString (line 129) | @Override FILE: src/kademlia/operation/BucketRefreshOperation.java class BucketRefreshOperation (line 16) | public class BucketRefreshOperation implements Operation method BucketRefreshOperation (line 23) | public BucketRefreshOperation(KadServer server, KademliaNode localNode... method execute (line 40) | @Override FILE: src/kademlia/operation/ConnectOperation.java class ConnectOperation (line 20) | public class ConnectOperation implements Operation, Receiver method ConnectOperation (line 39) | public ConnectOperation(KadServer server, KademliaNode local, Node boo... method execute (line 47) | @Override method receive (line 103) | @Override method timeout (line 127) | @Override FILE: src/kademlia/operation/ContentLookupOperation.java class ContentLookupOperation (line 36) | public class ContentLookupOperation implements Operation, Receiver method ContentLookupOperation (line 77) | public ContentLookupOperation(KadServer server, JKademliaNode localNod... method execute (line 98) | @Override method addNodes (line 146) | public void addNodes(List list) method askNodesorFinish (line 169) | private boolean askNodesorFinish() throws IOException method closestNodesNotFailed (line 215) | private List closestNodesNotFailed(Byte status) method receive (line 240) | @Override method timeout (line 292) | @Override method isContentFound (line 314) | public boolean isContentFound() method getContentFound (line 324) | public JKademliaStorageEntry getContentFound() throws ContentNotFoundE... method routeLength (line 339) | public int routeLength() FILE: src/kademlia/operation/ContentRefreshOperation.java class ContentRefreshOperation (line 22) | public class ContentRefreshOperation implements Operation method ContentRefreshOperation (line 30) | public ContentRefreshOperation(KadServer server, KademliaNode localNod... method execute (line 46) | @Override FILE: src/kademlia/operation/KadRefreshOperation.java class KadRefreshOperation (line 15) | public class KadRefreshOperation implements Operation method KadRefreshOperation (line 23) | public KadRefreshOperation(KadServer server, KademliaNode localNode, K... method execute (line 31) | @Override FILE: src/kademlia/operation/NodeLookupOperation.java class NodeLookupOperation (line 30) | public class NodeLookupOperation implements Operation, Receiver method NodeLookupOperation (line 63) | public NodeLookupOperation(KadServer server, KademliaNode localNode, K... method execute (line 83) | @Override method getClosestNodes (line 123) | public List getClosestNodes() method addNodes (line 133) | public void addNodes(List list) method askNodesorFinish (line 156) | private boolean askNodesorFinish() throws IOException method closestNodes (line 196) | private List closestNodes(String status) method closestNodesNotFailed (line 225) | private List closestNodesNotFailed(String status) method receive (line 257) | @Override method timeout (line 290) | @Override method getFailedNodes (line 309) | public List getFailedNodes() FILE: src/kademlia/operation/Operation.java type Operation (line 12) | public interface Operation method execute (line 20) | public void execute() throws IOException, RoutingException; FILE: src/kademlia/operation/PingOperation.java class PingOperation (line 15) | public class PingOperation implements Operation method PingOperation (line 27) | public PingOperation(KadServer server, Node local, Node toPing) method execute (line 34) | @Override FILE: src/kademlia/operation/StoreOperation.java class StoreOperation (line 21) | public class StoreOperation implements Operation method StoreOperation (line 37) | public StoreOperation(KadServer server, KademliaNode localNode, JKadem... method execute (line 46) | @Override method numNodesStoredAt (line 80) | public int numNodesStoredAt() FILE: src/kademlia/routing/Contact.java class Contact (line 16) | public class Contact implements Comparable method Contact (line 36) | public Contact(Node n) method getNode (line 42) | public Node getNode() method setSeenNow (line 51) | public void setSeenNow() method lastSeen (line 61) | public long lastSeen() method equals (line 66) | @Override method incrementStaleCount (line 80) | public void incrementStaleCount() method staleCount (line 88) | public int staleCount() method resetStaleCount (line 96) | public void resetStaleCount() method compareTo (line 101) | @Override method hashCode (line 112) | @Override FILE: src/kademlia/routing/ContactLastSeenComparator.java class ContactLastSeenComparator (line 11) | public class ContactLastSeenComparator implements Comparator method compare (line 21) | @Override FILE: src/kademlia/routing/JKademliaBucket.java class JKademliaBucket (line 16) | public class JKademliaBucket implements KademliaBucket method JKademliaBucket (line 40) | public JKademliaBucket(int depth, KadConfiguration config) method insert (line 46) | @Override method insert (line 102) | @Override method containsContact (line 108) | @Override method containsNode (line 114) | @Override method removeContact (line 120) | @Override method getFromContacts (line 147) | private synchronized Contact getFromContacts(Node n) method removeFromContacts (line 161) | private synchronized Contact removeFromContacts(Node n) method removeNode (line 176) | @Override method numContacts (line 182) | @Override method getDepth (line 188) | @Override method getContacts (line 194) | @Override method insertIntoReplacementCache (line 217) | private synchronized void insertIntoReplacementCache(Contact c) method removeFromReplacementCache (line 242) | private synchronized Contact removeFromReplacementCache(Node n) method toString (line 257) | @Override FILE: src/kademlia/routing/JKademliaRoutingTable.java class JKademliaRoutingTable (line 17) | public class JKademliaRoutingTable implements KademliaRoutingTable method JKademliaRoutingTable (line 25) | public JKademliaRoutingTable(Node localNode, KadConfiguration config) method initialize (line 40) | @Override method setConfiguration (line 50) | @Override method insert (line 61) | @Override method insert (line 72) | @Override method getBucketId (line 85) | @Override method findClosest (line 102) | @Override method getAllNodes (line 126) | @Override method getAllContacts (line 145) | @Override method getBuckets (line 161) | @Override method setBuckets (line 172) | public final void setBuckets(KademliaBucket[] buckets) method setUnresponsiveContacts (line 182) | @Override method setUnresponsiveContact (line 200) | @Override method toString (line 209) | @Override FILE: src/kademlia/routing/KademliaBucket.java type KademliaBucket (line 12) | public interface KademliaBucket method insert (line 20) | public void insert(Contact c); method insert (line 27) | public void insert(Node n); method containsContact (line 36) | public boolean containsContact(Contact c); method containsNode (line 45) | public boolean containsNode(Node n); method removeContact (line 60) | public boolean removeContact(Contact c); method removeNode (line 69) | public boolean removeNode(Node n); method numContacts (line 76) | public int numContacts(); method getDepth (line 81) | public int getDepth(); method getContacts (line 86) | public List getContacts(); FILE: src/kademlia/routing/KademliaRoutingTable.java type KademliaRoutingTable (line 14) | public interface KademliaRoutingTable method initialize (line 20) | public void initialize(); method setConfiguration (line 27) | public void setConfiguration(KadConfiguration config); method insert (line 34) | public void insert(Contact c); method insert (line 41) | public void insert(Node n); method getBucketId (line 50) | public int getBucketId(KademliaId nid); method findClosest (line 60) | public List findClosest(KademliaId target, int numNodesRequired); method getAllNodes (line 65) | public List getAllNodes(); method getAllContacts (line 70) | public List getAllContacts(); method getBuckets (line 75) | public KademliaBucket[] getBuckets(); method setUnresponsiveContacts (line 82) | public void setUnresponsiveContacts(List contacts); method setUnresponsiveContact (line 89) | public void setUnresponsiveContact(Node n); FILE: src/kademlia/simulations/AutoRefreshOperation.java class AutoRefreshOperation (line 16) | public class AutoRefreshOperation implements Simulation method runSimulation (line 19) | @Override FILE: src/kademlia/simulations/AutoRefreshOperation2.java class AutoRefreshOperation2 (line 16) | public class AutoRefreshOperation2 implements Simulation method runSimulation (line 19) | @Override FILE: src/kademlia/simulations/ContentSendingTest.java class ContentSendingTest (line 17) | public class ContentSendingTest method main (line 20) | public static void main(String[] args) FILE: src/kademlia/simulations/ContentUpdatingTest.java class ContentUpdatingTest (line 16) | public class ContentUpdatingTest method main (line 19) | public static void main(String[] args) FILE: src/kademlia/simulations/DHTContentImpl.java class DHTContentImpl (line 13) | public class DHTContentImpl implements KadContent method DHTContentImpl (line 29) | public DHTContentImpl() method DHTContentImpl (line 34) | public DHTContentImpl(String ownerId, String data) method DHTContentImpl (line 41) | public DHTContentImpl(KademliaId key, String ownerId) method setData (line 47) | public void setData(String newData) method getKey (line 53) | @Override method getType (line 59) | @Override method getOwnerId (line 65) | @Override method setUpdated (line 74) | public void setUpdated() method getCreatedTimestamp (line 79) | @Override method getLastUpdatedTimestamp (line 85) | @Override method toSerializedForm (line 91) | @Override method fromSerializedForm (line 98) | @Override method toString (line 106) | @Override FILE: src/kademlia/simulations/NodeConnectionTest.java class NodeConnectionTest (line 13) | public class NodeConnectionTest method main (line 16) | public static void main(String[] args) FILE: src/kademlia/simulations/RefreshOperationTest.java class RefreshOperationTest (line 16) | public class RefreshOperationTest method main (line 19) | public static void main(String[] args) FILE: src/kademlia/simulations/RoutingTableSimulation.java class RoutingTableSimulation (line 13) | public class RoutingTableSimulation method RoutingTableSimulation (line 16) | public RoutingTableSimulation() method main (line 53) | public static void main(String[] args) FILE: src/kademlia/simulations/RoutingTableStateTesting.java class RoutingTableStateTesting (line 15) | public class RoutingTableStateTesting method RoutingTableStateTesting (line 22) | public RoutingTableStateTesting() method putContent (line 53) | public KadContent putContent(String content, JKademliaNode owner) method shutdownKad (line 70) | public void shutdownKad(JKademliaNode kad) method printRoutingTable (line 82) | public void printRoutingTable(int kadId) method printRoutingTables (line 87) | public void printRoutingTables() method printStorage (line 95) | public void printStorage(int kadId) method printStorage (line 100) | public void printStorage() method main (line 108) | public static void main(String[] args) FILE: src/kademlia/simulations/SaveStateTest.java class SaveStateTest (line 12) | public class SaveStateTest method SaveStateTest (line 15) | public SaveStateTest() method main (line 92) | public static void main(String[] args) FILE: src/kademlia/simulations/SaveStateTest2.java class SaveStateTest2 (line 15) | public class SaveStateTest2 method SaveStateTest2 (line 18) | public SaveStateTest2() method main (line 66) | public static void main(String[] args) FILE: src/kademlia/simulations/SimpleMessageTest.java class SimpleMessageTest (line 15) | public class SimpleMessageTest method main (line 18) | public static void main(String[] args) FILE: src/kademlia/simulations/Simulation.java type Simulation (line 9) | public interface Simulation method runSimulation (line 15) | public void runSimulation(); FILE: src/kademlia/util/HashCalculator.java class HashCalculator (line 12) | public class HashCalculator method sha1Hash (line 24) | public static byte[] sha1Hash(String toHash) throws NoSuchAlgorithmExc... method sha1Hash (line 46) | public static byte[] sha1Hash(String toHash, String salt) throws NoSuc... method md5Hash (line 67) | public static byte[] md5Hash(String toHash) throws NoSuchAlgorithmExce... method md5Hash (line 89) | public static byte[] md5Hash(String toHash, String salt) throws NoSuch... FILE: src/kademlia/util/RouteLengthChecker.java class RouteLengthChecker (line 19) | public class RouteLengthChecker method addInitialNodes (line 39) | public void addInitialNodes(Collection initialNodes) method addNodes (line 55) | public void addNodes(Collection inputSet, Node sender) method getRouteLength (line 88) | public int getRouteLength() FILE: src/kademlia/util/serializer/JsonDHTSerializer.java class JsonDHTSerializer (line 42) | public class JsonDHTSerializer implements KadSerializer method write (line 57) | @Override method read (line 75) | @Override FILE: src/kademlia/util/serializer/JsonRoutingTableSerializer.java class JsonRoutingTableSerializer (line 43) | public class JsonRoutingTableSerializer implements KadSerializer implements KadSerializer method write (line 31) | @Override method read (line 48) | @Override FILE: src/kademlia/util/serializer/KadSerializer.java type KadSerializer (line 17) | public interface KadSerializer method write (line 28) | public void write(T data, DataOutputStream out) throws IOException; method read (line 40) | public T read(DataInputStream in) throws IOException, ClassNotFoundExc...