Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-adaptive committed Jul 30, 2024
1 parent 09b8b13 commit ea2a87d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface SessionHandler
* @param libraryId the id of library which has received this message.
* @param session the session which has received this message.
* @param sequenceIndex the sequence index of this message.
* @param messageType the FIX msgType field, encoded as an int.
* @param messageType the FIX msgType field, encoded as a long.
* @param timestampInNs the time of the message in nanoseconds.
* @param position the position in the Aeron stream at the end of the message.
* @param messageInfo additional information about the message.
Expand All @@ -56,7 +56,8 @@ Action onMessage(
/**
* This session has timed out on this library. It is still connected, but will
* be managed by the gateway.
* @param libraryId the id of library which the session used to owned by.
*
* @param libraryId the id of library which the session used to owned by.
* @param session the session that has timed out.
*/
void onTimeout(int libraryId, Session session);
Expand All @@ -67,7 +68,7 @@ Action onMessage(
* <a href="https://github.com/real-logic/artio/wiki/Performance-and-Fairness#slow-consumer-support">the wiki</a>
* for details on what a slow consumer is.
*
* @param libraryId the id of library which the session used to owned by.
* @param libraryId the id of library which the session used to owned by.
* @param session the session that has become slow.
* @param hasBecomeSlow true iff the session has been detected as slow, false if it is no longer slow.
*/
Expand All @@ -84,7 +85,7 @@ Action onMessage(
Action onDisconnect(int libraryId, Session session, DisconnectReason reason);

/**
* Invoked When a client resets a session to the initial sequence number via a logon whilst still connected.
* Invoked when a client resets a session to the initial sequence number via a logon whilst still connected.
*
* @param session The session that has just started.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void sequenceIndex(final int sequenceIndex)
}

/**
* Sets the current sequence index.
* Gets the current sequence index.
*
* @return the current sequence index
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,4 +368,3 @@ private void setup(final int senderMaxBytesInBuffer, final MessageTimingCaptor m
library = testSystem.connect(libraryConfiguration);
}
}

0 comments on commit ea2a87d

Please sign in to comment.