Class XMPPConnectionFactory
- java.lang.Object
-
- org.apache.axis2.transport.xmpp.util.XMPPConnectionFactory
-
public class XMPPConnectionFactory extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classXMPPConnectionFactory.XMPPConnectionDetails
-
Constructor Summary
Constructors Constructor Description XMPPConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jivesoftware.smack.XMPPConnectionconnect(XMPPServerCredentials serverCredentials)Connects to a XMPP server based on the details available in serverCredentials objectorg.jivesoftware.smack.XMPPConnectiongetXmppConnection()voidlisten(XMPPPacketListener packetListener)voidstop()
-
-
-
Method Detail
-
connect
public org.jivesoftware.smack.XMPPConnection connect(XMPPServerCredentials serverCredentials) throws AxisFault
Connects to a XMPP server based on the details available in serverCredentials object- Parameters:
serverCredentials-- Throws:
org.jivesoftware.smack.XMPPExceptionAxisFault
-
getXmppConnection
public org.jivesoftware.smack.XMPPConnection getXmppConnection()
-
listen
public void listen(XMPPPacketListener packetListener)
-
stop
public void stop()
-
-