|
||||||||||
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.xmpp.XMPPContainer org.eclipse.ecf.provider.xmpp.XMPPSContainer
public class XMPPSContainer
Field Summary |
---|
Fields inherited from class org.eclipse.ecf.provider.xmpp.XMPPContainer |
---|
CONNECT_NAMESPACE, CONTAINER_HELPER_ID, DEFAULT_KEEPALIVE, GOOGLE_SERVICENAME, keepAlive, presenceHelperID, XMPP_GOOGLE_OVERRIDE_PROP_NAME |
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 | |
---|---|
XMPPSContainer()
|
|
XMPPSContainer(int ka)
|
|
XMPPSContainer(java.lang.String userhost,
int ka)
|
Method Summary | |
---|---|
protected ISynchAsynchConnection |
createConnection(ID remoteSpace,
java.lang.Object data)
Create connection instance. |
Namespace |
getConnectNamespace()
Get the Namespace for creating a targetID suitable for use as the first parameter in subsequent calls to IContainer.connect(ID, IConnectContext) . |
Methods inherited from class org.eclipse.ecf.provider.xmpp.XMPPContainer |
---|
connect, createAuthorizationCallbacks, createConnectData, createSharedObjectContext, deliverEvent, disconnect, dispose, getAccountManager, getAdapter, getChatManager, getChatRoomManager, getConnectData, getConnectTimeout, getECFConnection, getRoster, getRosterManager, getUserSearchManager, getXMPPConnection, handleAsExtension, handleConnectResponse, handleXMPPMessage, isGoogle, log, processAsynch, sendMessage, verifySharedObjectMessageTarget |
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 |
Constructor Detail |
---|
public XMPPSContainer() throws java.lang.Exception
java.lang.Exception
public XMPPSContainer(int ka) throws java.lang.Exception
ka
-
java.lang.Exception
public XMPPSContainer(java.lang.String userhost, int ka) throws java.lang.Exception
userhost
- ka
-
java.lang.Exception
Method Detail |
---|
public Namespace getConnectNamespace()
IContainer
IContainer.connect(ID, IConnectContext)
.
If this method returns null
, then it means that
null
is expected as a valid parameter in subsequent calls
to IContainer.connect(ID, IConnectContext)
. If this method returns a non-null
Namespace, then the targetID
parameter in
IContainer.connect(ID, IConnectContext)
must be non-null
instance created of the returned Namespace.
getConnectNamespace
in interface IContainer
getConnectNamespace
in class XMPPContainer
IContainer.connect(ID, IConnectContext)
. If null
,
then the targetID
instances passed to
IContainer.connect(ID, IConnectContext)
may be null
.
If not null
, then targetID
instances passed to IContainer.connect(ID, IConnectContext)
must be
instances of the returned Namespace.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 XMPPContainer
remoteSpace
- the targetID to connect to. The value is the same as that passed into ClientSOContainer.connect(ID, IConnectContext)
.data
- and data provided to the connection via the IConnectContext passed into the ClientSOContainer.connect(ID, IConnectContext)
call.
ISynchAsynchConnection
a connection instance. Will not be null
.
ConnectionCreateException
- thrown if the connection cannot be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |