Class XMPPConnectionFactory
java.lang.Object
org.apache.axis2.transport.xmpp.util.XMPPConnectionFactory
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jivesoftware.smack.XMPPConnectionconnect(XMPPServerCredentials serverCredentials) Connects to a XMPP server based on the details available in serverCredentials objectorg.jivesoftware.smack.XMPPConnectionvoidlisten(XMPPPacketListener packetListener) voidstop()
-
Constructor Details
-
XMPPConnectionFactory
public XMPPConnectionFactory()
-
-
Method Details
-
connect
public org.jivesoftware.smack.XMPPConnection connect(XMPPServerCredentials serverCredentials) throws org.apache.axis2.AxisFault Connects to a XMPP server based on the details available in serverCredentials object- Parameters:
serverCredentials-- Throws:
org.jivesoftware.smack.XMPPExceptionorg.apache.axis2.AxisFault
-
getXmppConnection
public org.jivesoftware.smack.XMPPConnection getXmppConnection() -
listen
-
stop
public void stop()
-