|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.core.AbstractContainer org.eclipse.ecf.provider.generic.SOContainer org.eclipse.ecf.provider.generic.ClientSOContainer org.eclipse.ecf.provider.generic.TCPClientSOContainer
public class TCPClientSOContainer
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_COMM_NAME
|
static int |
DEFAULT_TCP_CONNECT_TIMEOUT
|
Fields inherited from class org.eclipse.ecf.provider.generic.ClientSOContainer |
---|
CONNECTED, CONNECTING, connection, connectionState, connectLock, connectPolicy, DEFAULT_CONNECT_TIMEOUT, DISCONNECTED, remoteServerID |
Fields inherited from class org.eclipse.ecf.provider.generic.SOContainer |
---|
config, DEFAULT_OBJECT_ARG_KEY, DEFAULT_OBJECT_ARGTYPES_KEY, groupManager, isClosing, loadingThreadGroup, policy, receiver, sharedObjectManager, sharedObjectMessageSerializer, sharedObjectThreadGroup |
Constructor Summary | |
---|---|
TCPClientSOContainer(ISharedObjectContainerConfig config)
|
|
TCPClientSOContainer(ISharedObjectContainerConfig config,
int ka)
|
Method Summary | |
---|---|
protected ISynchAsynchConnection |
createConnection(ID remoteSpace,
java.lang.Object data)
Create connection instance. |
protected int |
getConnectTimeout()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class org.eclipse.ecf.core.AbstractContainer |
---|
addListener, fireContainerEvent, getPasswordFromConnectContext, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ecf.core.IContainer |
---|
addListener, removeListener |
Field Detail |
---|
public static final int DEFAULT_TCP_CONNECT_TIMEOUT
public static final java.lang.String DEFAULT_COMM_NAME
Constructor Detail |
---|
public TCPClientSOContainer(ISharedObjectContainerConfig config)
public TCPClientSOContainer(ISharedObjectContainerConfig config, int ka)
Method Detail |
---|
protected int getConnectTimeout()
getConnectTimeout
in class ClientSOContainer
protected ISynchAsynchConnection createConnection(ID remoteSpace, java.lang.Object data) throws ConnectionCreateException
ClientSOContainer
ClientSOContainer.connect(ID, IConnectContext)
. Following
a return from this method, the new ISynchAsynchConnection instance's IConnection.connect(ID, Object, int)
method is subsequently
called.
createConnection
in class ClientSOContainer
remoteSpace
- data
-
null
instance.
ConnectionCreateException
- not thrown by this implementation.public static final void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |