|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.providers.AbstractConnector
org.mule.providers.xmpp.XmppConnector
public class XmppConnector
XmppConnector
TODO
Field Summary | |
---|---|
static String |
XMPP_FROM
|
static String |
XMPP_GROUP_CHAT
|
static String |
XMPP_NICKNAME
|
static String |
XMPP_PROPERTY_PREFIX
|
static String |
XMPP_SUBJECT
|
static String |
XMPP_THREAD
|
static String |
XMPP_TO
|
Fields inherited from interface org.mule.umo.provider.UMOConnector |
---|
INT_VALUE_NOT_SET |
Constructor Summary | |
---|---|
XmppConnector()
|
Method Summary | |
---|---|
org.jivesoftware.smack.XMPPConnection |
createXmppConnection(UMOEndpointURI endpointURI)
|
protected void |
doConnect()
Template method where any connections should be made for the connector |
protected org.jivesoftware.smack.XMPPConnection |
doCreateXmppConnection(UMOEndpointURI endpointURI)
This method creates and returns the XMPPConnection object that's uses to talk to
the Jabber server. |
protected void |
doDisconnect()
Template method where any connected resources used by the connector should be disconnected |
protected void |
doDispose()
Template method to perform any work when destroying the connectoe |
protected void |
doInitialise()
|
protected void |
doStart()
Template method to perform any work when starting the connectoe |
protected void |
doStop()
Template method to perform any work when stopping the connectoe |
String |
getProtocol()
|
boolean |
isRemoteSyncEnabled()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String XMPP_PROPERTY_PREFIX
public static final String XMPP_SUBJECT
public static final String XMPP_THREAD
public static final String XMPP_TO
public static final String XMPP_FROM
public static final String XMPP_GROUP_CHAT
public static final String XMPP_NICKNAME
Constructor Detail |
---|
public XmppConnector()
Method Detail |
---|
protected void doInitialise() throws InitialisationException
doInitialise
in class AbstractConnector
InitialisationException
protected void doDispose()
AbstractConnector
doDispose
in class AbstractConnector
protected void doConnect() throws Exception
AbstractConnector
doConnect
in class AbstractConnector
Exception
protected void doDisconnect() throws Exception
AbstractConnector
doDisconnect
in class AbstractConnector
Exception
protected void doStart() throws UMOException
AbstractConnector
doStart
in class AbstractConnector
UMOException
- if the method failsprotected void doStop() throws UMOException
AbstractConnector
doStop
in class AbstractConnector
UMOException
- if the method failspublic String getProtocol()
public org.jivesoftware.smack.XMPPConnection createXmppConnection(UMOEndpointURI endpointURI) throws org.jivesoftware.smack.XMPPException
org.jivesoftware.smack.XMPPException
protected org.jivesoftware.smack.XMPPConnection doCreateXmppConnection(UMOEndpointURI endpointURI) throws org.jivesoftware.smack.XMPPException
XMPPConnection
object that's uses to talk to
the Jabber server.
Subclasses can override this method to create a more specialized XMPPConnection
.
endpointURI
-
org.jivesoftware.smack.XMPPException
public boolean isRemoteSyncEnabled()
AbstractConnector
isRemoteSyncEnabled
in interface UMOConnector
isRemoteSyncEnabled
in class AbstractConnector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |