|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
org.xmlBlaster.contrib.socketgetter.SocketConnectorThread
The socket thread which handles a single request from a client.
The socket-thread answers one get request and closes the connection
right after the request has been answered.
The request must start with get otherwise no message will be delivered.
| Field Summary | |
private I_XmlBlasterAccess |
connection
The connection to the xmlBlaster server. |
private Global |
glob
The user global. |
private static java.util.logging.Logger |
log
Holds the logger for this class. |
private java.net.Socket |
socket
The actual socket. |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
SocketConnectorThread(Global glob,
I_XmlBlasterAccess connection,
java.net.Socket socket)
Creates the thread. |
|
| Method Summary | |
private static java.lang.String |
getOID(java.net.Socket socket)
Extract the oid from the given request out of the clients socket input stream. |
void |
run()
Starts the actual 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 |
private static java.util.logging.Logger log
private java.net.Socket socket
private Global glob
private I_XmlBlasterAccess connection
| Constructor Detail |
public SocketConnectorThread(Global glob,
I_XmlBlasterAccess connection,
java.net.Socket socket)
glob - the user globalconnection - the connection to the xmlBlaster server.socket - the accepted socket for tha actual (telnet) client.| Method Detail |
public void run()
private static final java.lang.String getOID(java.net.Socket socket)
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||