org.apache.axis2.transport.xmpp.util
Class XMPPConnectionFactory
java.lang.Object
org.apache.axis2.transport.xmpp.util.XMPPConnectionFactory
public class XMPPConnectionFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPPConnectionFactory
public XMPPConnectionFactory()
connect
public void 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
getConnection
public org.jivesoftware.smack.XMPPConnection getConnection(java.lang.String connectionIdentifier)
getXmppConnection
public org.jivesoftware.smack.XMPPConnection getXmppConnection()
setXmppConnection
public void setXmppConnection(org.jivesoftware.smack.XMPPConnection xmppConnection)
listen
public void listen(XMPPPacketListener packetListener)
stop
public void stop()
Copyright © 2007 Apache Web Services Project. All Rights Reserved.