|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread netcom.proxy.HandleOutsideSockets
Title: Handle Outside Sockets
Description: This class loops through and handles and data coming in on the sockets facing away from the MDSCloud (PClients and PServers) and processes that data into Tasks
Copyright: Copyright (c) 2002
Company:
Field Summary | |
java.util.Map |
incoming_names_ptr
Reference/pointer to MDSProxy names |
java.util.Collection |
incoming_sockets_ptr
Reference/pointer to the MDSProxy incoming_out_sockets Collection |
java.util.Map |
object_streams
Reference/pointer to MDSProxy object_streams to MDS from PServer |
java.util.Map |
outgoing_sockets_ptr
Reference/pointer to the MDSProxy outgoing_ps_sockets Map |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
HandleOutsideSockets(java.util.Map outgoing_sockets,
java.util.Collection incoming_sockets,
ThreadPool thread_pool,
java.util.Map incoming_names,
LDAPCommunicator ldap_communicator,
Logger log,
java.util.Map object_streams,
java.util.Map return_streams)
Constructor, This is created with all of the data structures located in the MDSProxy It will pass these structures to HandleXMLTask |
Method Summary | |
void |
readSockets()
Loops through, polling all sockets for data, processes data into a task |
void |
run()
begins the execution of this thread |
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 incoming_sockets_ptr
public java.util.Map outgoing_sockets_ptr
public java.util.Map object_streams
public java.util.Map incoming_names_ptr
Constructor Detail |
public HandleOutsideSockets(java.util.Map outgoing_sockets, java.util.Collection incoming_sockets, ThreadPool thread_pool, java.util.Map incoming_names, LDAPCommunicator ldap_communicator, Logger log, java.util.Map object_streams, java.util.Map return_streams)
outgoing_sockets
- the map of PServer to MDSincoming_sockets
- the collection to add Sockets tothread_pool
- HandleXMLTasks are put in this threadpoolldap_communicator
- Handles communcation with the LDAP serverlog
- Logs eventsMethod Detail |
public void run()
public void readSockets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |