public class DefaultInstrumentListener extends Object implements InstrumentListener
| Modifier and Type | Field and Description |
|---|---|
protected com.epam.common.logging.Log |
log |
| Constructor and Description |
|---|
DefaultInstrumentListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onBookReset(String symbol,
String secID)
Invoked on reset book (35=X and 269=J).
|
void |
onIncrement(long seqNum,
com.epam.fix.message.FIXFieldList entry)
Invoked when user should reset book with the new values.
|
void |
onIncrementMsgEnd(String symbol,
String secId,
long seqNum)
Invoked when processed the whole increment message for instrument.
|
void |
onInstrument(com.epam.fix.message.FIXFieldList entry)
Invoked when instrument received.
|
void |
onInstrumentSyncStarted() |
void |
onInstrumentSyncStopped() |
void |
onMessage(com.epam.fix.message.FIXFieldList message) |
void |
onRecoveryStarted(String symbol,
String secId)
Invoked when recovery is started.
|
void |
onRecoveryStopped(String symbol,
String secId)
Invoked when recovery is ended.
|
void |
onSnapshot(com.epam.fix.message.FIXFieldList message)
Invoked when snapshot received.
|
void |
onSubscribed(String symbol,
String secID)
Invoked when successfully subscribed to security description.
|
void |
onUnsubscribed(String symbol,
String secID)
Invoked when successfully unsubscribed from security description.
|
public void onIncrement(long seqNum,
com.epam.fix.message.FIXFieldList entry)
IncrementListeneronIncrement in interface IncrementListenerseqNum - seq num of the processing increment messageentry - Repeating group entry inside Market Data - Incremental Refresh message assigned to instrumentpublic void onInstrument(com.epam.fix.message.FIXFieldList entry)
SecurityDefinitionListeneronInstrument in interface SecurityDefinitionListenerentry - the entrypublic void onSnapshot(com.epam.fix.message.FIXFieldList message)
SnapshotListeneronSnapshot in interface SnapshotListenermessage - the messagepublic void onMessage(com.epam.fix.message.FIXFieldList message)
public void onSubscribed(String symbol, String secID)
InstrumentListeneronSubscribed in interface InstrumentListenersymbol - the security description of the instrumentsecID - the security ID of the instrumentpublic void onBookReset(String symbol, String secID)
InstrumentListeneronBookReset in interface InstrumentListenersymbol - the security description of the instrumentsecID - the security ID of the instrumentpublic void onUnsubscribed(String symbol, String secID)
InstrumentListeneronUnsubscribed in interface InstrumentListenersymbol - Security Description of the instrumentsecID - Security ID of the instrumentpublic void onRecoveryStarted(String symbol, String secId)
RecoveryListeneronRecoveryStarted in interface RecoveryListenersymbol - the symbolsecId - the security idpublic void onRecoveryStopped(String symbol, String secId)
RecoveryListeneronRecoveryStopped in interface RecoveryListenersymbol - the symbolsecId - the security idpublic void onIncrementMsgEnd(String symbol, String secId, long seqNum)
IncrementMessageListeneronIncrementMsgEnd in interface IncrementMessageListenerseqNum - seq num of the processing increment message
Note: not implemented for CME yet.public void onInstrumentSyncStarted()
onInstrumentSyncStarted in interface SecurityDefinitionListenerpublic void onInstrumentSyncStopped()
onInstrumentSyncStopped in interface SecurityDefinitionListenerCopyright © 2000–2025 EPAM Systems. All rights reserved.