public interface ITCHClientListener
Modifier and Type | Method and Description |
---|---|
void |
endOfSession(ITCHClient session)
Receive an indication of the end of session (1.2.5).
|
void |
errorNotification(ITCHClient session,
ITCH.ErrorNotification packet)
Receive an Error Notification packet (1.2.6).
|
void |
heartbeatTimeout(ITCHClient session)
Receive an indication of a heartbeat timeout.
|
void |
instrumentDirectory(ITCHClient session,
ITCH.InstrumentDirectory packet)
Receive an Instrument Directory packet (1.2.7).
|
void |
loginAccepted(ITCHClient session,
ITCH.LoginAccepted packet)
Receive a Login Accepted packet (1.2.1).
|
void |
loginRejected(ITCHClient session,
ITCH.LoginRejected packet)
Receive a Login Rejected packet (1.2.2).
|
void |
sequencedData(ITCHClient session,
ITCH.SequencedData header,
ByteBuffer payload)
Receive a Sequenced Data packet (1.2.3).
|
void heartbeatTimeout(ITCHClient session) throws IOException
session
- the sessionIOException
- if an I/O error occursvoid loginAccepted(ITCHClient session, ITCH.LoginAccepted packet) throws IOException
session
- the sessionpacket
- the packetIOException
- if an I/O error occursvoid loginRejected(ITCHClient session, ITCH.LoginRejected packet) throws IOException
session
- the sessionpacket
- the packetIOException
- if an I/O error occursvoid sequencedData(ITCHClient session, ITCH.SequencedData header, ByteBuffer payload) throws IOException
session
- the sessionheader
- the headerpayload
- the payloadIOException
- if an I/O error occursvoid endOfSession(ITCHClient session) throws IOException
session
- the sessionIOException
- if an I/O error occursvoid errorNotification(ITCHClient session, ITCH.ErrorNotification packet) throws IOException
session
- the sessionpacket
- the packetIOException
- if an I/O error occursvoid instrumentDirectory(ITCHClient session, ITCH.InstrumentDirectory packet) throws IOException
session
- the sessionpacket
- the packetIOException
- if an I/O error occursCopyright © 2019. All rights reserved.