org.apache.axis2.client.async
Interface AxisCallback


public interface AxisCallback


Method Summary
 void onComplete()
          This is called at the end of the MEP no matter what happens, quite like a finally block.
 void onError(java.lang.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.
 

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(java.lang.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.



Copyright © 2007 Apache Web Services Project. All Rights Reserved.