|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgraphServer.graph.P2PGraph
public class P2PGraph
P2PGraph maintains the P2PNetworkGraph and log events received from the UDP Connection.
Field Summary | |
---|---|
static long |
EPOCH
|
Constructor Summary | |
---|---|
P2PGraph()
Construct the P2PGraph Sets up the graph and lists/tables for storing and handling UDP Messages. |
Method Summary | |
---|---|
java.lang.String |
createCurrentGraphDocument()
Creates a String with the graph information at the current network time. |
java.lang.String |
createLogEventDocument(long time)
Iterates over the list of log events and creates a String containing all the log events after the passed time. |
java.lang.String |
getCurrentGraph()
Creates a String with the graph information at the current network time. |
java.lang.String |
getDebugInfo()
Returns a String with debug information about the P2P Graph. |
java.lang.String |
getDocumentInfo()
Returns a String with information on all the documents that are ever published. |
java.lang.String |
getLogEventsAfter(long time)
Creates a String with all the log events after the passed time. |
java.lang.String |
getPeerInfo()
Returns a String with information on all the peers who ever come online. |
java.lang.String |
getQueryHitInfo()
Returns a String with information on all the query hits. |
java.lang.String |
getQueryInfo()
Returns a String with information on all the queries ever placed. |
java.lang.String |
getQueryOutputInfo()
Returns a String with information on all queryies placed and their Identifers Contains HTML attributes for being displayed in a browser. |
void |
receiveMessage(java.net.DatagramPacket receivePacket)
Receive and handle a packet from the UDP Connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long EPOCH
Constructor Detail |
---|
public P2PGraph()
Method Detail |
---|
public java.lang.String createCurrentGraphDocument()
public java.lang.String createLogEventDocument(long time)
time
- the time for which to get log events after.
public java.lang.String getLogEventsAfter(long time)
public java.lang.String getCurrentGraph()
public java.lang.String getDebugInfo()
public java.lang.String getPeerInfo()
public java.lang.String getQueryOutputInfo()
public java.lang.String getDocumentInfo()
public java.lang.String getQueryInfo()
public java.lang.String getQueryHitInfo()
public void receiveMessage(java.net.DatagramPacket receivePacket)
UDPListener
receiveMessage
in interface UDPListener
receivePacket
- The Packet received through the UDP connection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |