org.apache.axis2.transport.xmpp.util
Class XMPPConnectionFactory

java.lang.Object
  extended by org.apache.axis2.transport.xmpp.util.XMPPConnectionFactory

public class XMPPConnectionFactory
extends java.lang.Object


Constructor Summary
XMPPConnectionFactory()
           
 
Method Summary
 void connect(XMPPServerCredentials serverCredentials)
          Connects to a XMPP server based on the details available in serverCredentials object
 org.jivesoftware.smack.XMPPConnection getConnection(java.lang.String connectionIdentifier)
           
 org.jivesoftware.smack.XMPPConnection getXmppConnection()
           
 void listen(XMPPPacketListener packetListener)
           
 void setXmppConnection(org.jivesoftware.smack.XMPPConnection xmppConnection)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMPPConnectionFactory

public XMPPConnectionFactory()
Method Detail

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.