|
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
This class is the DataStore daemon. It is used for authenticating users, launching DataStore servers under particular user IDs, and providing a client with enough information to conntect to a launched server.
Nested Class Summary | |
---|---|
class |
ServerLauncher.ConnectionListener
An instances of this class get loaded whenever a client requests access to a DataStore server. |
Field Summary | |
---|---|
static String |
Copyright
|
static int |
DEFAULT_DAEMON_PORT
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ServerLauncher()
Constructor |
|
ServerLauncher(String portStr)
Constructor |
Method Summary | |
---|---|
protected ServerLauncher.ConnectionListener |
getListenerForPort(String port)
Return the connection listener for the specified port if there is one |
void |
init(int port)
initializes the DataStore daemon |
static void |
main(String[] args)
Entry point into the DataStore daemon |
void |
run()
Run the daemon |
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 static final String Copyright
public static int DEFAULT_DAEMON_PORT
Constructor Detail |
public ServerLauncher()
public ServerLauncher(String portStr)
portStr
- the port for the daemon socket to run onMethod Detail |
public void init(int port)
port
- the daemon portprotected ServerLauncher.ConnectionListener getListenerForPort(String port)
port
- the port
public void run()
public static void main(String[] args)
args
- the port for the daemon to run on (default is 4035). Optionally, the second arg specifies whether to use SSL or not.
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |