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 class
XMPPConnectionFactory.XMPPConnectionDetails
-
Constructor Summary
Constructors Constructor Description XMPPConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jivesoftware.smack.XMPPConnection
connect(XMPPServerCredentials serverCredentials)
Connects to a XMPP server based on the details available in serverCredentials objectorg.jivesoftware.smack.XMPPConnection
getXmppConnection()
void
listen(XMPPPacketListener packetListener)
void
stop()
-
-
-
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.XMPPException
AxisFault
-
getXmppConnection
public org.jivesoftware.smack.XMPPConnection getXmppConnection()
-
listen
public void listen(XMPPPacketListener packetListener)
-
stop
public void stop()
-
-