Remote Systems
v6.4.1

com.ibm.etools.systems.dstore.core.server
Class Server

java.lang.Object
  extended bycom.ibm.etools.systems.dstore.core.server.Server

public class Server
extends Object

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

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

Server

public Server()
Creates a new Server with default DataStore and connection attributes.


Server

public Server(String port)
Creates a new Server that waits on the specified socket port.

Parameters:
port - the number of the socket port to wait on

Server

public Server(String port,
              String timeout)
Creates a new Server that waits on the specified socket port for the specified time interval before shutting down.

Parameters:
port - the number of the socket port to wait on
timeout - the idle time to wait before shutting down

Server

public 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.

Parameters:
port - the number of the socket port to wait on
timeout - the idle time to wait before shutting down
ticket - the ticket that the client needs to interact with the DataStore
Method Detail

main

public static void main(String[] args)
The startup interface to run the Server.

Parameters:
args - a list of arguments for running the server. These consist of the socket port to wait on, the timeout value, and the the ticket

run

public void run()
Runs the server by starting the ConnectionEstablisher


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.