|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread netcom.proxy.MDSProxy
Title: MDS Proxy
Description: This is the main MDS proxy class which holds 'core' data structures and hold all threads checking up on ports and processing data
Copyright: Copyright (c) 2002
Company:
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
MDSProxy()
Constructor |
Method Summary | |
void |
finalize()
This is the finalize method, and should be called whenever this object is disappearing This unallocates all references it must and informs the network that this node is no good anymore |
java.util.Collection |
getFriends()
This is a method used by the Logging Gui to figure out who this MDSNode's friends are |
java.lang.String |
getIP()
This is a method used by the Logging Gui to figure out what IP this Node sits on |
java.lang.String |
getNodeName()
This is a method used by the Logging Gui to figure out the "name" of this MDSNode |
int |
getNodeType()
This is a method used by the Logging Gui to see what type of node I am (MDSProxy or MDSNode) |
int |
getNumConnections()
This is a method used by the Logging Gui to know the number of connections |
int |
getThePort()
gets what the port of the mds or proxy node is. |
static void |
main(java.lang.String[] args)
Main method, starts program |
void |
run()
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MDSProxy()
Method Detail |
public int getNodeType()
getNodeType
in interface LoggerInterface
public java.lang.String getIP()
getIP
in interface LoggerInterface
public int getThePort()
LoggerInterface
getThePort
in interface LoggerInterface
public int getNumConnections()
getNumConnections
in interface LoggerInterface
public java.util.Collection getFriends()
getFriends
in interface LoggerInterface
public java.lang.String getNodeName()
getNodeName
in interface LoggerInterface
public void finalize()
public void run()
run
in interface java.lang.Runnable
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |