com.oanda.fxtrade.api
Interface FXEventInfo

All Known Subinterfaces:
FXAccountEventInfo, FXRateEventInfo

public interface FXEventInfo

Interface for data passed to an FXEvent

Author:
Chris MacGregor

Method Summary
 int compareTo(java.lang.Object other)
          Comparable implementation
 FXEventKey getKey()
          Gets the event key for this event info.
 long getTimestamp()
          Gets the server timestamp that the data in the event info was generated
 

Method Detail

getTimestamp

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

Returns:
The server timestamp that the data was generated

getKey

FXEventKey getKey()
Gets the event key for this event info. Used by event managers to filter unwanted event info from events

Returns:
The FXeventKey

compareTo

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



Copyright © 2005 OANDA Corporation. All Rights Reserved.