|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread netcom.proxy.HandleMDSConnections
Title: Handle MDS Connections
Description: This class handles any new connections coming from the MDSCloud, which should only ever be Search returns
Copyright: Copyright (c) 2002
Company:
Field Summary | |
java.util.Collection |
socket_collection_ptr
Reference/pointer to incoming_out_sockets List in MDSProxy |
ThreadPool |
thread_pool_ptr
Reference/pointer to parse_pool in MDSProxy |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
HandleMDSConnections(int server_port,
java.util.Collection incoming_sockets,
ThreadPool thread_pool,
java.util.Map return_streams,
Logger log)
|
Method Summary | |
void |
run()
This Method is where this thread begins execution This thread just loops, waiting for a new socket connection |
void |
waitForConnection()
Method to wait for connections and then process them |
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.util.Collection socket_collection_ptr
public ThreadPool thread_pool_ptr
Constructor Detail |
public HandleMDSConnections(int server_port, java.util.Collection incoming_sockets, ThreadPool thread_pool, java.util.Map return_streams, Logger log)
server_port
- the port to bind toincoming_sockets
- the collection to add Sockets tothread_pool
- HandleXMLTasks are put in this threadpoolMethod Detail |
public void run()
public void waitForConnection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |