Package org.apache.axis2.client.async
Interface AxisCallback
-
- All Known Implementing Classes:
CallbackFuture,PollingFuture
public interface AxisCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonComplete()This is called at the end of the MEP no matter what happens, quite like a finally block.voidonError(Exception e)This gets called ONLY when an internal processing exception occurs.voidonFault(MessageContext msgContext)This gets called when a fault message is received.voidonMessage(MessageContext msgContext)This is called when we receive a message.
-
-
-
Method Detail
-
onMessage
void onMessage(MessageContext msgContext)
This is called when we receive a message.- Parameters:
msgContext- the (response) MessageContext
-
onFault
void onFault(MessageContext msgContext)
This gets called when a fault message is received.- Parameters:
msgContext- the MessageContext containing the fault.
-
onError
void onError(Exception e)
This gets called ONLY when an internal processing exception occurs.- Parameters:
e- the Exception which caused the problem
-
onComplete
void onComplete()
This is called at the end of the MEP no matter what happens, quite like a finally block.
-
-