com.epam.cmemdp
Interface InstrumentListener

All Superinterfaces:
ErrorListener, RecoveryInstrumentListener, SecurityDefinitionListener

public interface InstrumentListener
extends SecurityDefinitionListener, ErrorListener, RecoveryInstrumentListener


Method Summary
 void onBookReset(java.lang.String secDesc, long secID)
          Invoked on reset book (35=X and 269=J).
 void onIncrement(java.lang.String secDesc, long secID, long seqNum, FIXFieldList entry)
          Invoked when user should reset book with the new values.
 boolean onNaturalRefresh(java.lang.String secDesc, long secID, java.util.List<FIXFieldList> groupEntries)
          Invoked when user should reset book with the new values and Natural Refresh is used.
 void onSnapshot(java.lang.String secDesc, long secID, FIXFieldList message)
          Invoked when user should reset book with the new values.
 void onSubscribed(java.lang.String secDesc, long secID)
          Invoked when successfully subscribed from security description.
 void onUnsubscribed(java.lang.String secDesc, long secID)
          Invoked when successfully unsubscribed from security description.
 void process(FIXFieldList fixMessage)
          Invoked when information regard to instrument received.
 
Methods inherited from interface com.epam.cmemdp.SecurityDefinitionListener
onSecDefSyncStarted, onSecDefSyncStopped, onSecurityDefinition
 
Methods inherited from interface com.epam.cmemdp.ErrorListener
onError
 
Methods inherited from interface com.epam.cmemdp.RecoveryInstrumentListener
onRecoveryStarted, onRecoveryStopped
 

Method Detail

onSubscribed

void onSubscribed(java.lang.String secDesc,
                  long secID)
Invoked when successfully subscribed from security description.

Parameters:
secDesc - the security description of the instrument
secID - the security ID of the instrument

onUnsubscribed

void onUnsubscribed(java.lang.String secDesc,
                    long secID)
Invoked when successfully unsubscribed from security description.

Parameters:
secDesc - Security Description of the instrument
secID - Security ID of the instrument

process

void process(FIXFieldList fixMessage)
Invoked when information regard to instrument received.

Parameters:
fixMessage - Incoming FIX MessageHolder

onIncrement

void onIncrement(java.lang.String secDesc,
                 long secID,
                 long seqNum,
                 FIXFieldList entry)
Invoked when user should reset book with the new values.

Parameters:
secDesc - the security description of instrument
secID - the security ID of instrument
seqNum - increment message SeqNum(34)
entry - Repeating group entry inside Market Data - Incremental Refresh message assigned to instrument

onNaturalRefresh

boolean onNaturalRefresh(java.lang.String secDesc,
                         long secID,
                         java.util.List<FIXFieldList> groupEntries)
Invoked when user should reset book with the new values and Natural Refresh is used.

Parameters:
secDesc - the security description of the instrument
secID - the security ID of the instrument
groupEntries - the increment container with group entry inside
Market Data - Incremental Refresh message assigned to instrument.
Returns:
true if book is recovered otherwise false

onSnapshot

void onSnapshot(java.lang.String secDesc,
                long secID,
                FIXFieldList message)
Invoked when user should reset book with the new values.

Parameters:
secDesc - the security description of the instrument
secID - the security ID of the instrument
message -

onBookReset

void onBookReset(java.lang.String secDesc,
                 long secID)
Invoked on reset book (35=X and 269=J).

Parameters:
secDesc - the security description of the instrument
secID - the security ID of the instrument


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