public interface InstrumentListener extends SecurityDefinitionListener, ErrorListener, RecoveryInstrumentListener
Modifier and Type | Method and Description |
---|---|
void |
onBookReset(String secDesc,
long secID)
Invoked on reset book (35=X and 269=J).
|
void |
onIncrement(String secDesc,
long secID,
long seqNum,
FIXFieldList entry)
Invoked when user should reset book with the new values.
|
boolean |
onNaturalRefresh(String secDesc,
long secID,
List<FIXFieldList> groupEntries)
Invoked when user should reset book with the new values and Natural Refresh is used.
|
void |
onSnapshot(String secDesc,
long secID,
FIXFieldList message)
Invoked when user should reset book with the new values.
|
void |
onSubscribed(String secDesc,
long secID)
Invoked when successfully subscribed from security description.
|
void |
onUnsubscribed(String secDesc,
long secID)
Invoked when successfully unsubscribed from security description.
|
void |
process(FIXFieldList fixMessage)
Invoked when information regard to instrument received.
|
onSecDefSyncStarted, onSecDefSyncStopped, onSecurityDefinition
onError
onRecoveryStarted, onRecoveryStopped
void onSubscribed(String secDesc, long secID)
secDesc
- the security description of the instrumentsecID
- the security ID of the instrumentvoid onUnsubscribed(String secDesc, long secID)
secDesc
- Security Description of the instrumentsecID
- Security ID of the instrumentvoid process(FIXFieldList fixMessage)
fixMessage
- Incoming FIX MessageHoldervoid onIncrement(String secDesc, long secID, long seqNum, FIXFieldList entry)
secDesc
- the security description of instrumentsecID
- the security ID of instrumentseqNum
- increment message SeqNum(34)entry
- Repeating group entry inside Market Data - Incremental Refresh message assigned to instrumentboolean onNaturalRefresh(String secDesc, long secID, List<FIXFieldList> groupEntries)
secDesc
- the security description of the instrumentsecID
- the security ID of the instrumentgroupEntries
- the increment container with group entry inside void onSnapshot(String secDesc, long secID, FIXFieldList message)
secDesc
- the security description of the instrumentsecID
- the security ID of the instrumentmessage
- void onBookReset(String secDesc, long secID)
secDesc
- the security description of the instrumentsecID
- the security ID of the instrumentCopyright © 2000-2017 EPAM Systems. All Rights Reserved.