|
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.Objectorg.eclipse.dstore.core.server.ConnectionEstablisher
public class ConnectionEstablisher
ConnectionEstablisher is responsible for managing the server DataStore and facilitating the communication between client and server DataStores.
Constructor Summary | |
---|---|
ConnectionEstablisher()
Creates the default ConnectionEstablisher. |
|
ConnectionEstablisher(String port)
Creates a ConnectionEstablisher. |
|
ConnectionEstablisher(String port,
int backlog,
InetAddress bindAddr,
String timeout,
String ticket)
Creates a ConnectionEstablisher. |
|
ConnectionEstablisher(String port,
String timeout)
Creates a ConnectionEstablisher. |
|
ConnectionEstablisher(String port,
String timeout,
String ticket)
Creates a ConnectionEstablisher. |
Method Summary | |
---|---|
void |
finished(ServerReceiver receiver)
Tells the connection establisher to clean up and shutdown |
DataStore |
getDataStore()
Returns the DataStore. |
int |
getServerPort()
Return the Server port opened for this client |
String |
getStatus()
Return the connection status for this client * @return the connection status for this client |
void |
start()
Starts the run loop for the ConnectionEstablisher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionEstablisher()
public ConnectionEstablisher(String port)
port
- the number of the socket portpublic ConnectionEstablisher(String port, String timeout)
port
- the number of the socket porttimeout
- the idle duration to wait before shutting downpublic ConnectionEstablisher(String port, String timeout, String ticket)
port
- the number of the socket porttimeout
- the idle duration to wait before shutting downticket
- validation id required by the client to access the DataStorepublic ConnectionEstablisher(String port, int backlog, InetAddress bindAddr, String timeout, String ticket)
port
- the number of the socket portbacklog
- listen backlogbindAddr
- the local IP address to bind totimeout
- the idle duration to wait before shutting downticket
- validation id required by the client to access the DataStoreMethod Detail |
---|
public void start()
public DataStore getDataStore()
public int getServerPort()
public String getStatus()
public void finished(ServerReceiver receiver)
|
Remote System Explorer DataStore Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |