|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.ibm.etools.systems.dstore.core.server.ServerLauncher.ConnectionListener
An instances of this class get loaded whenever a client requests access to a DataStore server. The ConnectionListener attempts to launch a server under the client user's ID, communicating back information to the client so that if may connect to the launched server. If the authentification and connection to the server are successful, ConnectionListener continues to monitor the server connection until it is terminated.
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ServerLauncher.ConnectionListener(Socket socket)
Constructor |
Method Summary | |
---|---|
void |
finalize()
Called when shutdown |
String |
getServerPort()
Returns the DataStore server port used |
void |
handshakeCompleted(HandshakeCompletedEvent event)
|
boolean |
isDone()
Indicates whether the connection has terminated or not |
boolean |
listen()
Attempt to start a new DataStore server. |
void |
run()
Listens to the connection and prints any output while the connection is active |
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 ServerLauncher.ConnectionListener(Socket socket)
socket
- a socket to the daemonMethod Detail |
public void finalize() throws Throwable
Throwable
public void run()
run
in interface Runnable
public boolean isDone()
public String getServerPort()
public boolean listen()
public void handshakeCompleted(HandshakeCompletedEvent event)
handshakeCompleted
in interface HandshakeCompletedListener
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |