org.eclipse.ecf.server.generic.app
Class Connector
java.lang.Object
org.eclipse.ecf.server.generic.app.Connector
public class Connector
- extends java.lang.Object
Constructor Summary |
Connector(java.lang.String protocol,
java.lang.String host,
int port,
int timeout)
|
Connector(java.lang.String protocol,
java.lang.String host,
int port,
int timeout,
boolean discovery)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PORT
public static final int DEFAULT_PORT
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
DEFAULT_HOSTNAME
public static final java.lang.String DEFAULT_HOSTNAME
DEFAULT_SERVERNAME
public static final java.lang.String DEFAULT_SERVERNAME
DEFAULT_PROTOCOL
public static final java.lang.String DEFAULT_PROTOCOL
- See Also:
- Constant Field Values
Connector
public Connector(java.lang.String protocol,
java.lang.String host,
int port,
int timeout,
boolean discovery)
Connector
public Connector(java.lang.String protocol,
java.lang.String host,
int port,
int timeout)
shouldRegisterForDiscovery
public boolean shouldRegisterForDiscovery()
addGroup
public boolean addGroup(NamedGroup grp)
getProtocol
public java.lang.String getProtocol()
getHostname
public java.lang.String getHostname()
getPort
public int getPort()
getTimeout
public int getTimeout()
getGroups
public java.util.List getGroups()
getID
public java.lang.String getID()