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

## messenger
Interface FXTradingListener

All Known Implementing Classes:
  ExampleTrader

    public interface FXTradingListener

Contains call backs for trading with the server.

Method Summary
`void` | `onConnect()` Callback for connection.
`void` | `onDisconnect()` Callback for disconnect.
`void` | `onTradeReport(FXTradeReport fxTradeReport)` Callback for when a trade is executed.

Method Detail

### onTradeReport

    void onTradeReport(FXTradeReport fxTradeReport)

  Callback for when a trade is executed.

  Parameters:
    `status` - either FXTradingMessager.ORDER_FILLED or FXTradingMessager.ORDER_REJECTED

### onConnect

    void onConnect()

  Callback for connection.

### onDisconnect

    void onDisconnect()

  Callback for disconnect.

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