public class InstrumentListenerAdaptor extends Object implements InstrumentListener
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG_ENABLED |
Constructor and Description |
---|
InstrumentListenerAdaptor() |
Modifier and Type | Method and Description |
---|---|
void |
onBookReset(String symbol,
String secID)
Invoked on reset book (35=X and 269=J).
|
void |
onIncrement(long msgSeqNum,
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(FIXFieldList entry)
Invoked when instrument received.
|
void |
onInstrumentSyncStarted() |
void |
onInstrumentSyncStopped() |
void |
onRecoveryStarted(String symbol,
String secID)
Invoked when recovery is started.
|
void |
onRecoveryStopped(String symbol,
String secID)
Invoked when recovery is ended.
|
void |
onSnapshot(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 onSubscribed(String symbol, String secID)
InstrumentListener
onSubscribed
in interface InstrumentListener
symbol
- the security description of the instrumentsecID
- the security ID of the instrumentpublic void onBookReset(String symbol, String secID)
InstrumentListener
onBookReset
in interface InstrumentListener
symbol
- the security description of the instrumentsecID
- the security ID of the instrumentpublic void onUnsubscribed(String symbol, String secID)
InstrumentListener
onUnsubscribed
in interface InstrumentListener
symbol
- Security Description of the instrumentsecID
- Security ID of the instrumentpublic void onIncrement(long msgSeqNum, FIXFieldList entry)
IncrementListener
onIncrement
in interface IncrementListener
msgSeqNum
- seq num of the processing increment messageentry
- Repeating group entry inside Market Data - Incremental Refresh message assigned to instrumentpublic void onIncrementMsgEnd(String symbol, String secID, long seqNum)
IncrementMessageListener
onIncrementMsgEnd
in interface IncrementMessageListener
seqNum
- seq num of the processing increment message
Note: not implemented for CME yet.public void onRecoveryStarted(String symbol, String secID)
RecoveryListener
onRecoveryStarted
in interface RecoveryListener
symbol
- the symbolsecID
- the security idpublic void onRecoveryStopped(String symbol, String secID)
RecoveryListener
onRecoveryStopped
in interface RecoveryListener
symbol
- the symbolsecID
- the security idpublic void onInstrument(FIXFieldList entry)
SecurityDefinitionListener
onInstrument
in interface SecurityDefinitionListener
entry
- the entrypublic void onSnapshot(FIXFieldList message)
SnapshotListener
onSnapshot
in interface SnapshotListener
message
- the messagepublic void onInstrumentSyncStarted()
onInstrumentSyncStarted
in interface SecurityDefinitionListener
public void onInstrumentSyncStopped()
onInstrumentSyncStopped
in interface SecurityDefinitionListener
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.