|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgraphServer.graph.RawPeer
public class RawPeer
RawPeer is created when a new peer comes online, the peer is given a key value as a way of indexing all peers that ever come online. The Peer's unique Identifier is their P2P traffic information ("IP:Gnutella Port")
Constructor Summary | |
---|---|
RawPeer(java.lang.String identifier)
Keys the peer. |
Method Summary | |
---|---|
java.lang.String |
getIdentifier()
Gets the unique identifier of this peer ("IP:Gnutella Port") |
int |
getKey()
Gets the key value (index) of this Peer |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RawPeer(java.lang.String identifier)
identifier
- the peer's unique Identifier is their P2P traffic information ("IP:Gnutella Port")Method Detail |
---|
public java.lang.String getIdentifier()
public int getKey()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |