public interface InternalFixPContext extends FixPContext
FixPContext should also implement this interface. It contains methods
that are called by the FIXP implementation within Artio but not to be used by API users.| Modifier and Type | Method and Description |
|---|---|
FixPFirstMessageResponse |
checkAccept(FixPContext oldContext,
boolean ignoreFromNegotiate)
Invoked when an acceptor reconnects.
|
boolean |
hasUnsentMessagesAtNegotiate() |
void |
initiatorReconnect(boolean reestablishConnection)
Invoked when an initiator reconnects.
|
void |
onEndSequence()
Invoked when a sequence is ended.
|
void |
onInitiatorDisconnect() |
boolean |
onInitiatorNegotiateResponse()
Invoked when an initiator receives a response to its negotiate.
|
long |
surrogateSessionId() |
void |
validate(java.lang.Enum<?> rejectCode)
Validate the passed reject code is valid for the given context.
|
compareVersion, fromNegotiate, key, protocolTypeFixPFirstMessageResponse checkAccept(FixPContext oldContext, boolean ignoreFromNegotiate)
oldContext - the FixPContext from the previous connectignoreFromNegotiate - do not perform validation about whether this is a negotiate or establish messagevoid onEndSequence()
FixEngine.resetSequenceNumber(sessionId) method is invoked.void initiatorReconnect(boolean reestablishConnection)
reestablishConnection - true if the initiator's configuration for reestablishing the connection has set
this value to true.java.lang.UnsupportedOperationException - if protocol not implemented as an initiatorboolean onInitiatorNegotiateResponse()
void onInitiatorDisconnect()
long surrogateSessionId()
boolean hasUnsentMessagesAtNegotiate()
void validate(java.lang.Enum<?> rejectCode)
rejectCode - the reject code to validatejava.lang.IllegalArgumentException - if the reject code is invalid.Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.