Skip to content

Commit

Permalink
added handler for onEstablishmentAck()
Browse files Browse the repository at this point in the history
  • Loading branch information
chrjohn committed Feb 25, 2025
1 parent 3b89e38 commit b2ede48
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@ default Action onRetransmitRequest(
return Action.CONTINUE;
}

default Action onEstablishmentAck(
final FixPConnection connection, long previousUuid, long previousSeqNo, long uuid, long lastuuid,
long nextSeqNo)
{
// default for backwards compatibility.
return Action.CONTINUE;
}

/**
* Callback triggered by a timeout on a retransmit request. See
* {@link Builder#retransmitNotificationTimeoutInMs(int)} for details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,8 @@ public Action onEstablishmentAck(
initiateReply = null;
nextReceiveMessageTimeInMs = nextRecvTimeoutInMs();

handler.onEstablishmentAck(this, previousUUID, previousSeqNo, uUID, lastUuid, nextSeqNo);

if (previousUUID == lastUuid)
{
if (previousSeqNo > lastConnectionLastReceivedSequenceNumber)
Expand Down

0 comments on commit b2ede48

Please sign in to comment.