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 FXPricingListener

All Known Implementing Classes:
  ExampleSubscriber

    public interface FXPricingListener

Contains call backs for subscriptions with the server.

Method Summary
`void` | `onConnect()` Callback for connection.
`void` | `onDisconnect()` Callback for disconnect.
`void` | `onPriceUpdate(FXQuote fxQuote)` Callback for on price updates.
`void` | `onSubscriptionError(java.lang.String currencyPair, java.lang.String message)` Callback for when the server rejects a request.

Method Detail

### onPriceUpdate

    void onPriceUpdate(FXQuote fxQuote)

  Callback for on price updates.

  Parameters:
    `fxQuote` - the FXQuote object containing the currency pair quotation.

### onSubscriptionError

    void onSubscriptionError(java.lang.String currencyPair,
                             java.lang.String message)

  Callback for when the server rejects a request.

  Parameters:
    `message` - the error message.

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