Package org.apache.axis2.client.async
Interface AxisCallback
public interface AxisCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis is called at the end of the MEP no matter what happens, quite like a finally block.voidThis 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 Details
-
onMessage
This is called when we receive a message.- Parameters:
msgContext- the (response) MessageContext
-
onFault
This gets called when a fault message is received.- Parameters:
msgContext- the MessageContext containing the fault.
-
onError
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.
-