|
Remote System Explorer DataStore Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.dstore.core.server.Server
public class 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.
| 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 |
| Constructor Detail |
|---|
public Server()
public Server(String port)
port - the number of the socket port to wait on
public Server(String port,
String timeout)
port - the number of the socket port to wait ontimeout - the idle time to wait before shutting down
public 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 DataStore| Method 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 System Explorer DataStore Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||