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.