Adds the listener described in the provided
TransportInDescription
. Further if the listener represented by the TransportInDescription has already been initialized and started the boolean
started
input parameter has to be provided as
true
.
It is not possible to add a listener which is already initialized but not started to the listener manager, even though the above is a condition that has to be satisfied there is no means of enforcing that, becuase the {@link org.apache.axis2.transport.TransportListener}API doesn't provide a mechanism to test whether it is initialized or started.
If the caller is using an already intialized listener, then it is the responsability of the caller to start the listener before adding it to the listener manager and pass the started
parameter value as true
.
@param trsIn Transport in description (which contains Transport Listener) to be added
@param started whether the transport Listener that is being added is already started or not
@throws AxisFault will throw AxisFault if something goes wrong