|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread netcom.mds.MDS
Title: MDS
Description: This is the central MDS node which holds all of the 'core' data structures which other threads modify. It also checks all sockets for incoming request and sends them off to be processed
Copyright: Copyright (c) 2002
Company: NETCOM
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
MDS()
Constructor for an MDS Node. |
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()
This is a method used by the Logging Gui to tell what port the MDS is listening for MDSProxies ON |
void |
run()
run() overrides run from Thread; execution starts here. |
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 MDS()
Method Detail |
public int getThePort()
getThePort
in interface LoggerInterface
public int getNodeType()
getNodeType
in interface LoggerInterface
public java.lang.String getIP()
getIP
in interface LoggerInterface
public java.util.Collection getFriends()
getFriends
in interface LoggerInterface
public java.lang.String getNodeName()
getNodeName
in interface LoggerInterface
public int getNumConnections()
getNumConnections
in interface LoggerInterface
public void finalize()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |