org.marketcetera.client
Interface ReportListener

All Known Implementing Classes:
AutoOrderHistoryManager

public interface ReportListener

A receiver of trading reports. Classes that need to be able to receive execution reports can implement this interface and register themselves to receive execution reports via Client.addReportListener(ReportListener).

It's not expected that report listeners will take too much time to return. Currently all report listeners are invoked sequentially. If a report listener takes too much time to process the report, it will delay the delivery of report to other registered listeners.

Since:
1.0.0
Version:
$Id: ReportListener.java 16154 2012-07-14 16:34:05Z colin $
Author:
anshul@marketcetera.com

Method Summary
 void receiveCancelReject(OrderCancelReject inReport)
          Invoked to supply an order cancel reject report instance to the report listener.
 void receiveExecutionReport(ExecutionReport inReport)
          Invoked to supply an execution report instance to the report listener.
 

Method Detail

receiveExecutionReport

void receiveExecutionReport(ExecutionReport inReport)
Invoked to supply an execution report instance to the report listener.

Parameters:
inReport - The received execution report.

receiveCancelReject

void receiveCancelReject(OrderCancelReject inReport)
Invoked to supply an order cancel reject report instance to the report listener.

Parameters:
inReport - The received order cancel rejection report.


Copyright © 2012. All Rights Reserved.