com.epam.cmemdp.marketdata.impl
Class Statistics

java.lang.Object
  extended by com.epam.cmemdp.marketdata.impl.Statistics
All Implemented Interfaces:
IncrementMsgListener, SecDefListener, SnapshotMsgListener

public class Statistics
extends java.lang.Object
implements IncrementMsgListener, SecDefListener, SnapshotMsgListener


Constructor Summary
Statistics(Securities securities, Subscriptions subscriptions)
           
 
Method Summary
 void clear(java.lang.Long securityId)
           
 UpdatableTradeStatistic getSecurityStatistics(java.lang.Long securityId)
           
 void onIncrementMessage(FIXFieldList message)
           
 void onRecoveryStarted(java.lang.String securityDescription, long secDesc)
           
 void onRecoveryStopped(java.lang.String securityDescription, long secDesc, RecoveryReason recoveryReason)
           
 void onSecurityDefinition(java.lang.String secDesc, long securityId, FIXFieldList message, java.lang.String chanelId)
           
 void onSnapshotMessage(FIXFieldList message)
           
 void onSubscribed(java.lang.String securityDescription, long secDesc)
           
 void onUnsubscribed(java.lang.String securityDescription, long securityID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistics

public Statistics(Securities securities,
                  Subscriptions subscriptions)
Method Detail

clear

public void clear(java.lang.Long securityId)

onSecurityDefinition

public void onSecurityDefinition(java.lang.String secDesc,
                                 long securityId,
                                 FIXFieldList message,
                                 java.lang.String chanelId)
Specified by:
onSecurityDefinition in interface SecDefListener

getSecurityStatistics

public UpdatableTradeStatistic getSecurityStatistics(java.lang.Long securityId)

onIncrementMessage

public void onIncrementMessage(FIXFieldList message)
Specified by:
onIncrementMessage in interface IncrementMsgListener

onSnapshotMessage

public void onSnapshotMessage(FIXFieldList message)
Specified by:
onSnapshotMessage in interface SnapshotMsgListener

onSubscribed

public void onSubscribed(java.lang.String securityDescription,
                         long secDesc)
Specified by:
onSubscribed in interface SecDefListener

onUnsubscribed

public void onUnsubscribed(java.lang.String securityDescription,
                           long securityID)
Specified by:
onUnsubscribed in interface SecDefListener

onRecoveryStarted

public void onRecoveryStarted(java.lang.String securityDescription,
                              long secDesc)
Specified by:
onRecoveryStarted in interface SecDefListener

onRecoveryStopped

public void onRecoveryStopped(java.lang.String securityDescription,
                              long secDesc,
                              RecoveryReason recoveryReason)
Specified by:
onRecoveryStopped in interface SecDefListener


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.