public class XMPPListener extends Object implements TransportListener
HOST_ADDRESS, PARAM_PORT
Constructor and Description |
---|
XMPPListener() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
EndpointReference |
getEPRForService(String serviceName,
String ip)
Returns Default EPR for a given Service name & IP
|
EndpointReference[] |
getEPRsForService(String serviceName,
String ip)
Returns all EPRs for a given Service name & IP
|
SessionContext |
getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner.
|
void |
init(ConfigurationContext configurationCtx,
TransportInDescription transportIn)
Initializing the XMPPListener.
|
void |
start()
Start a pool of Workers.
|
void |
stop()
Stop XMPP listener & disconnect from all XMPP Servers
|
public void init(ConfigurationContext configurationCtx, TransportInDescription transportIn) throws AxisFault
init
in interface TransportListener
AxisFault
public void stop()
stop
in interface TransportListener
public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
getEPRForService
in interface TransportListener
serviceName
- ip
- AxisFault
public EndpointReference[] getEPRsForService(String serviceName, String ip) throws AxisFault
getEPRsForService
in interface TransportListener
serviceName
- ip
- AxisFault
public SessionContext getSessionContext(MessageContext messageContext)
TransportListener
getSessionContext
in interface TransportListener
messageContext
- : MessageContext which has all the relavent datapublic void destroy()
destroy
in interface TransportListener
public void start() throws AxisFault
start
in interface TransportListener
AxisFault
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.