Class PollingFuture
- java.lang.Object
-
- org.apache.axis2.jaxws.client.async.PollingFuture
-
- All Implemented Interfaces:
AxisCallback
public class PollingFuture extends Object implements AxisCallback
-
-
Constructor Summary
Constructors Constructor Description PollingFuture(InvocationContext ic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete()
This is called at the end of the MEP no matter what happens, quite like a finally block.void
onComplete(MessageContext msgContext)
void
onError(Exception e)
This gets called ONLY when an internal processing exception occurs.void
onFault(MessageContext msgContext)
This gets called when a fault message is received.void
onMessage(MessageContext msgContext)
This is called when we receive a message.
-
-
-
Constructor Detail
-
PollingFuture
public PollingFuture(InvocationContext ic)
-
-
Method Detail
-
onComplete
public void onComplete(MessageContext msgContext)
-
onError
public void onError(Exception e)
Description copied from interface:AxisCallback
This gets called ONLY when an internal processing exception occurs.- Specified by:
onError
in interfaceAxisCallback
- Parameters:
e
- the Exception which caused the problem
-
onMessage
public void onMessage(MessageContext msgContext)
Description copied from interface:AxisCallback
This is called when we receive a message.- Specified by:
onMessage
in interfaceAxisCallback
- Parameters:
msgContext
- the (response) MessageContext
-
onFault
public void onFault(MessageContext msgContext)
Description copied from interface:AxisCallback
This gets called when a fault message is received.- Specified by:
onFault
in interfaceAxisCallback
- Parameters:
msgContext
- the MessageContext containing the fault.
-
onComplete
public void onComplete()
Description copied from interface:AxisCallback
This is called at the end of the MEP no matter what happens, quite like a finally block.- Specified by:
onComplete
in interfaceAxisCallback
-
-