|
Remote System Explorer DataStore Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.eclipse.dstore.core.server.ServerLauncher.ConnectionListener
public class 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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
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, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
finalize
in class Object
Throwable
public void run()
run
in interface Runnable
run
in class Thread
public boolean isDone()
public String getServerPort()
public boolean listen()
public void handshakeCompleted(HandshakeCompletedEvent event)
|
Remote System Explorer DataStore Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |