public abstract class InternalFixPConnection
extends java.lang.Object
implements uk.co.real_logic.artio.fixp.FixPConnection
Modifier and Type | Field and Description |
---|---|
protected org.agrona.concurrent.EpochNanoClock |
clock |
protected long |
connectionId |
protected FixPMessageDissector |
dissector |
protected uk.co.real_logic.artio.fixp.FixPConnectionHandler |
handler |
protected GatewayPublication |
inboundPublication |
protected uk.co.real_logic.artio.library.LibraryReply<InternalFixPConnection> |
initiateReply |
protected int |
libraryId |
protected long |
nextReceiveMessageTimeInMs |
protected long |
nextRecvSeqNo |
protected long |
nextSendMessageTimeInMs |
protected long |
nextSentSeqNo |
protected GatewayPublication |
outboundPublication |
protected FixPSessionOwner |
owner |
protected AbstractFixPProxy |
proxy |
protected long |
requestedKeepAliveIntervalInMs |
protected long |
retransmitFillTimeoutInMs |
protected uk.co.real_logic.artio.fixp.FixPConnection.State |
state |
Modifier | Constructor and Description |
---|---|
protected |
InternalFixPConnection(long connectionId,
GatewayPublication outboundPublication,
GatewayPublication inboundPublication,
int libraryId,
org.agrona.concurrent.EpochNanoClock clock,
FixPSessionOwner owner,
AbstractFixPProxy proxy,
FixPMessageDissector dissector) |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
boolean |
canSendMessage() |
void |
commit() |
protected int |
commonPoll(uk.co.real_logic.artio.fixp.FixPConnection.State state,
long timeInMs) |
long |
connectionId() |
protected io.aeron.logbuffer.ControlledFragmentHandler.Action |
fullyUnbind() |
protected io.aeron.logbuffer.ControlledFragmentHandler.Action |
fullyUnbind(uk.co.real_logic.artio.messages.DisconnectReason reason) |
void |
handler(uk.co.real_logic.artio.fixp.FixPConnectionHandler handler) |
protected void |
initiateReply(uk.co.real_logic.artio.library.LibraryReply<?> initiateReply) |
protected abstract void |
keepAliveExpiredTerminate() |
long |
nextRecvSeqNo() |
void |
nextRecvSeqNo(long nextRecvSeqNo) |
long |
nextSentSeqNo() |
void |
nextSentSeqNo(long nextSentSeqNo) |
protected long |
nextTimeoutInMs() |
protected void |
onAttemptedToSendMessage() |
protected void |
onEstablishFailure() |
protected void |
onNegotiateFailure() |
protected abstract void |
onOfflineReconnect(long connectionId,
uk.co.real_logic.artio.fixp.FixPContext context) |
protected void |
onReceivedMessage() |
protected abstract void |
onReplayComplete() |
protected void |
onReplyError(java.lang.Exception error) |
protected boolean |
onThrottleNotification(long refMsgType,
org.agrona.DirectBuffer businessRejectRefIDBuffer,
int businessRejectRefIDOffset,
int businessRejectRefIDLength) |
protected abstract int |
poll(long timeInMs) |
protected int |
pollAwaitingKeepAlive(long timeInMs) |
protected int |
pollEstablished(long timeInMs) |
protected abstract int |
pollExtraEstablished(long timeInMs) |
protected int |
pollUnbinding(long timeInMs) |
long |
requestDisconnect(uk.co.real_logic.artio.messages.DisconnectReason reason) |
protected long |
requestTimestampInNs() |
protected abstract long |
sendSequence(boolean lapsed) |
abstract long |
startEndOfDay()
Start the end of day operation for a given connection.
|
uk.co.real_logic.artio.fixp.FixPConnection.State |
state() |
protected void |
state(uk.co.real_logic.artio.fixp.FixPConnection.State state) |
long |
tryClaim(org.agrona.sbe.MessageEncoderFlyweight message) |
long |
tryClaim(org.agrona.sbe.MessageEncoderFlyweight message,
int variableLength) |
protected io.aeron.logbuffer.ControlledFragmentHandler.Action |
unbindState(uk.co.real_logic.artio.messages.DisconnectReason reason) |
protected void |
validateCanSend() |
protected final GatewayPublication outboundPublication
protected final GatewayPublication inboundPublication
protected final int libraryId
protected final org.agrona.concurrent.EpochNanoClock clock
protected final FixPSessionOwner owner
protected final AbstractFixPProxy proxy
protected final FixPMessageDissector dissector
protected uk.co.real_logic.artio.fixp.FixPConnection.State state
protected uk.co.real_logic.artio.fixp.FixPConnectionHandler handler
protected uk.co.real_logic.artio.library.LibraryReply<InternalFixPConnection> initiateReply
protected long connectionId
protected long requestedKeepAliveIntervalInMs
protected long nextSentSeqNo
protected long nextRecvSeqNo
protected long retransmitFillTimeoutInMs
protected long nextReceiveMessageTimeInMs
protected long nextSendMessageTimeInMs
protected InternalFixPConnection(long connectionId, GatewayPublication outboundPublication, GatewayPublication inboundPublication, int libraryId, org.agrona.concurrent.EpochNanoClock clock, FixPSessionOwner owner, AbstractFixPProxy proxy, FixPMessageDissector dissector)
public long connectionId()
connectionId
in interface uk.co.real_logic.artio.fixp.FixPConnection
public long nextSentSeqNo()
nextSentSeqNo
in interface uk.co.real_logic.artio.fixp.FixPConnection
public void nextSentSeqNo(long nextSentSeqNo)
nextSentSeqNo
in interface uk.co.real_logic.artio.fixp.FixPConnection
public long nextRecvSeqNo()
nextRecvSeqNo
in interface uk.co.real_logic.artio.fixp.FixPConnection
public void nextRecvSeqNo(long nextRecvSeqNo)
nextRecvSeqNo
in interface uk.co.real_logic.artio.fixp.FixPConnection
public long requestDisconnect(uk.co.real_logic.artio.messages.DisconnectReason reason)
requestDisconnect
in interface uk.co.real_logic.artio.fixp.FixPConnection
public boolean canSendMessage()
canSendMessage
in interface uk.co.real_logic.artio.fixp.FixPConnection
public uk.co.real_logic.artio.fixp.FixPConnection.State state()
state
in interface uk.co.real_logic.artio.fixp.FixPConnection
public long tryClaim(org.agrona.sbe.MessageEncoderFlyweight message)
tryClaim
in interface uk.co.real_logic.artio.fixp.FixPConnection
public long tryClaim(org.agrona.sbe.MessageEncoderFlyweight message, int variableLength)
tryClaim
in interface uk.co.real_logic.artio.fixp.FixPConnection
public void commit()
commit
in interface uk.co.real_logic.artio.fixp.FixPConnection
public void abort()
abort
in interface uk.co.real_logic.artio.fixp.FixPConnection
protected void onReceivedMessage()
protected long nextTimeoutInMs()
protected void onAttemptedToSendMessage()
protected long requestTimestampInNs()
protected void validateCanSend()
protected void initiateReply(uk.co.real_logic.artio.library.LibraryReply<?> initiateReply)
protected void onNegotiateFailure()
protected void onEstablishFailure()
protected void onReplyError(java.lang.Exception error)
protected int commonPoll(uk.co.real_logic.artio.fixp.FixPConnection.State state, long timeInMs)
protected int pollAwaitingKeepAlive(long timeInMs)
protected abstract void keepAliveExpiredTerminate()
protected int pollUnbinding(long timeInMs)
protected int pollEstablished(long timeInMs)
protected abstract int pollExtraEstablished(long timeInMs)
protected abstract long sendSequence(boolean lapsed)
protected io.aeron.logbuffer.ControlledFragmentHandler.Action fullyUnbind()
protected io.aeron.logbuffer.ControlledFragmentHandler.Action fullyUnbind(uk.co.real_logic.artio.messages.DisconnectReason reason)
protected io.aeron.logbuffer.ControlledFragmentHandler.Action unbindState(uk.co.real_logic.artio.messages.DisconnectReason reason)
protected void state(uk.co.real_logic.artio.fixp.FixPConnection.State state)
public void handler(uk.co.real_logic.artio.fixp.FixPConnectionHandler handler)
protected abstract int poll(long timeInMs)
protected abstract void onReplayComplete()
protected abstract void onOfflineReconnect(long connectionId, uk.co.real_logic.artio.fixp.FixPContext context)
protected boolean onThrottleNotification(long refMsgType, org.agrona.DirectBuffer businessRejectRefIDBuffer, int businessRejectRefIDOffset, int businessRejectRefIDLength)
public abstract long startEndOfDay()
Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.