Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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(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(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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.