com.oanda.fxtrade.api
Interface FXAccountEventInfo

All Superinterfaces:
FXEventInfo

public interface FXAccountEventInfo
extends FXEventInfo

An FXAccountEventInfo object encapsulates a new transaction received from the FXServer.

Author:
Chris MacGreogr

Method Summary
 int compareTo(java.lang.Object o)
          Comparable implementation
 boolean equals(java.lang.Object other)
          Checks if this object is equal to another object.
 FXEventKey getKey()
          Accessor method used by the API
 long getTimestamp()
          Gets the server timestamp that the data in the event info was generated
 Transaction getTransaction()
          Gets the transaction whose occurrence created this FXEventInfo
 

Method Detail

getKey

FXEventKey getKey()
Accessor method used by the API

Specified by:
getKey in interface FXEventInfo
Returns:
The FXeventKey

getTimestamp

long getTimestamp()
Gets the server timestamp that the data in the event info was generated

Specified by:
getTimestamp in interface FXEventInfo
Returns:
The server timestamp that the data was genearated

getTransaction

Transaction getTransaction()
Gets the transaction whose occurrence created this FXEventInfo

Returns:
The firing transaction

equals

boolean equals(java.lang.Object other)
Checks if this object is equal to another object.

Overrides:
equals in class java.lang.Object

compareTo

int compareTo(java.lang.Object o)
Comparable implementation

Specified by:
compareTo in interface FXEventInfo


Copyright © 2005 OANDA Corporation. All Rights Reserved.