Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

B E F G H M O S T U

## B

BUY - Static variable in class messenger.FXTradeReport
  Integer used to specify the buy side of a trade.
BUY - Static variable in class messenger.FXTradingMessenger
  Integer used to specify the buy side of a trade.

## E

equals(Object) - Method in class messenger.FXQuote
  Compares quotes and returns true if the bid IDs and offerIDs are the same.
equals(Object) - Method in class messenger.FXTradeReport
  Compares fx trade reports and returns true if the client order IDs and order IDs are the same.
ExampleSubscriber - Class in <Unnamed>
ExampleSubscriber() - Constructor for class ExampleSubscriber
ExampleTrader - Class in <Unnamed>
ExampleTrader() - Constructor for class ExampleTrader
executeTrade(String, String, String, double, char, double) - Method in class messenger.FXTradingMessenger
  Executes message to the server to execute a trade.

## F

FXPricingListener - Interface in messenger
  Contains call backs for subscriptions with the server.
FXPricingMessenger - Class in messenger
  Contains methods to subscribe and unsubscribe to prices from the server.
FXPricingMessenger(FXPricingListener) - Constructor for class messenger.FXPricingMessenger
  Constructor which configures the messager for connecting to the server.
FXPricingMessenger(FXPricingListener, String, int) - Constructor for class messenger.FXPricingMessenger
  Constructor which configures the messager specifying session ID and port number.
FXQuote - Class in messenger
  Contains fields and getter methods for a FX Quote.
FXQuote(Date, String, String, double, double, String, double, double) - Constructor for class messenger.FXQuote
  Creates the FXQuote.
FXTradeReport - Class in messenger
  Contains fields and getter methods for a FX trade report.
FXTradeReport(String, String, String, double, char, String, double, char) - Constructor for class messenger.FXTradeReport
FXTradingListener - Interface in messenger
  Contains call backs for trading with the server.
FXTradingMessenger - Class in messenger
  Contains methods to execute trades using the server.
FXTradingMessenger(FXTradingListener) - Constructor for class messenger.FXTradingMessenger
  Constructor which configures the messager for connecting to the server.
FXTradingMessenger(FXTradingListener, String, int) - Constructor for class messenger.FXTradingMessenger
  Constructor which configures the messager specifying session ID and port number.

## G

getAmount() - Method in class messenger.FXTradeReport
  Returns amount requested to trade.
getBidID() - Method in class messenger.FXQuote
  Return string bidID.
getBidPrice() - Method in class messenger.FXQuote
  Returns double bidPrice.
getBidSize() - Method in class messenger.FXQuote
  Returns double bidSize.
getClientOrderID() - Method in class messenger.FXTradeReport
  Returns clientID.
getCurrencyPair() - Method in class messenger.FXQuote
  Returns String currencyPair.
getCurrencyPair() - Method in class messenger.FXTradeReport
  Returns currency pair.
getOfferID() - Method in class messenger.FXQuote
  Returns String offerID.
getOfferPrice() - Method in class messenger.FXQuote
  Return double offerPrice.
getOfferSize() - Method in class messenger.FXQuote
  Returns double offerSize.
getOrderID() - Method in class messenger.FXTradeReport
  Returns order ID.
getPrice() - Method in class messenger.FXTradeReport
  Returns price of currency pair
getSide() - Method in class messenger.FXTradeReport
  Returns the side of order.
getStatus() - Method in class messenger.FXTradeReport
  Return status of FX trade.
getTimeStamp() - Method in class messenger.FXQuote
  Returns timestamp of when FXQuote is generated.
getUsername() - Method in class messenger.FXTradeReport
  Return trader username.

## H

hashCode() - Method in class messenger.FXQuote
  Override hashcode of objects to allow comparing of the objects.

## M

main(String[]) - Static method in class ExampleSubscriber
main(String[]) - Static method in class ExampleTrader
messenger - package messenger

## O

onConnect() - Method in class ExampleSubscriber
onConnect() - Method in class ExampleTrader
onDisconnect() - Method in class ExampleSubscriber
onDisconnect() - Method in class ExampleTrader
onPriceUpdate(FXQuote) - Method in class ExampleSubscriber
onPriceUpdate(FXQuote) - Method in interface messenger.FXPricingListener
  Callback for on price updates.
onSubscriptionError(String, String) - Method in class ExampleSubscriber
onSubscriptionError(String, String) - Method in interface messenger.FXPricingListener
  Callback for when the server rejects a request.
onTradeReport(FXTradeReport) - Method in class ExampleTrader
onTradeReport(FXTradeReport) - Method in interface messenger.FXTradingListener
  Callback for when a trade is executed.
ORDER_FILLED - Static variable in class messenger.FXTradeReport
  Integer used to specify that a trade request has been filled.
ORDER_REJECTED - Static variable in class messenger.FXTradeReport
  Integer used to specify that a trade request has been rejected.

## S

SELL - Static variable in class messenger.FXTradeReport
  Integer used to specify the sell side of a trade.
SELL - Static variable in class messenger.FXTradingMessenger
  Integer used to specify the sell side of a trade.
subscribe(String) - Method in class messenger.FXPricingMessenger
  Subscribes to a currency pair.

## T

toString() - Method in class messenger.FXQuote
  Pretty print of FXQuote.
toString() - Method in class messenger.FXTradeReport
  Pretty print for FX Trade Report.

## U

unsubscribe(String) - Method in class messenger.FXPricingMessenger
  Unsubscribes to a currency pair.

B E F G H M O S T U

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES