org.apache.sandesha.client
Class ClientListener

java.lang.Object
  extended byorg.apache.sandesha.client.ClientListener

public class ClientListener
extends java.lang.Object

This is the client side listener for Apache Sandesha.

This will start with the RMService deployed to accept asynchronous responses or

RM related messages such as Acknowledgements etc..

Author:
Jaliya Ekanayake, Patrick Collins

Field Summary
static int NULL_PORT
           
 
Constructor Summary
ClientListener(int aPort)
           
 
Method Summary
protected  void configureClientService()
           
protected  void configureServerSocket()
           
protected  int getListenerPort()
           
protected  SimpleChain getListenerRequestChain()
           
protected  SimpleChain getListenerResponseChain()
           
protected  SimpleAxisServer getSas()
           
protected  void initSimpleAxisServer()
           
protected  boolean isStarted()
           
protected  void setSas(SimpleAxisServer aSas)
           
 void start()
           
protected  void startSimpleAxisServer()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_PORT

public static final int NULL_PORT
See Also:
Constant Field Values
Constructor Detail

ClientListener

public ClientListener(int aPort)
Method Detail

start

public void start()
           throws java.io.IOException
Throws:
java.io.IOException

stop

public void stop()

initSimpleAxisServer

protected void initSimpleAxisServer()

configureClientService

protected void configureClientService()

configureServerSocket

protected void configureServerSocket()
                              throws java.io.IOException
Throws:
java.io.IOException

startSimpleAxisServer

protected void startSimpleAxisServer()

getListenerRequestChain

protected SimpleChain getListenerRequestChain()

getListenerResponseChain

protected SimpleChain getListenerResponseChain()

getSas

protected SimpleAxisServer getSas()

setSas

protected void setSas(SimpleAxisServer aSas)

getListenerPort

protected int getListenerPort()

isStarted

protected boolean isStarted()