|
Remote System Explorer DataStore Release 3.3 |
|||||||||
| 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.
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ServerLauncher.ConnectionListener(java.net.Socket socket)
Constructor |
|
| Method Summary | |
|---|---|
void |
finalize()
Called when shutdown |
java.lang.String |
getServerPort()
Returns the DataStore server port used |
void |
handshakeCompleted(javax.net.ssl.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(java.net.Socket socket)
socket - a socket to the daemon| Method Detail |
|---|
public void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic boolean isDone()
public java.lang.String getServerPort()
public boolean listen()
public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent event)
handshakeCompleted in interface javax.net.ssl.HandshakeCompletedListener
|
Remote System Explorer DataStore Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||