|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.dstore.core.server.Server
Server is the standard way of instantiating and controlling a remote DataStore. The server runs a ConnectionEstablisher which manages client connections to the DataStore.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
Server()
Creates a new Server with default DataStore and connection attributes. |
|
Server(String port)
Creates a new Server that waits on the specified socket port. |
|
Server(String port,
String timeout)
Creates a new Server that waits on the specified socket port for the specified time interval before shutting down. |
|
Server(String port,
String timeout,
String ticket)
Creates a new Server that waits on the specified socket port for the specified time interval before shutting down. |
Method Summary | |
---|---|
static void |
main(String[] args)
The startup interface to run the Server. |
void |
run()
Runs the server by starting the ConnectionEstablisher |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public Server()
public Server(String port)
port
- the number of the socket port to wait onpublic Server(String port, String timeout)
port
- the number of the socket port to wait ontimeout
- the idle time to wait before shutting downpublic Server(String port, String timeout, String ticket)
port
- the number of the socket port to wait ontimeout
- the idle time to wait before shutting downticket
- the ticket that the client needs to interact with the DataStoreMethod Detail |
public static void main(String[] args)
args
- a list of arguments for running the server. These consist of
the socket port to wait on, the timeout value, and the the ticketpublic void run()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |