Skip to content

Commit

Permalink
[Java] Comments and cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeb01 committed Aug 29, 2024
1 parent a7d866f commit 55e8be6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions aeron-client/src/main/java/io/aeron/Aeron.java
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,7 @@ public ThreadFactory threadFactory()
*
* @param publicationErrorFrameHandler to be called back when an error frame is received.
* @return this for a fluent API.
* @since 1.47.0
*/
public Context publicationErrorFrameHandler(
final PublicationErrorFrameHandler publicationErrorFrameHandler)
Expand All @@ -1749,6 +1750,7 @@ public Context publicationErrorFrameHandler(
* this client.
*
* @return the {@link PublicationErrorFrameHandler} to call back on to.
* @since 1.47.0
*/
public PublicationErrorFrameHandler publicationErrorFrameHandler()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

/**
* Interface for handling various error frame messages for publications.
* @since 1.47.0
*/
public interface PublicationErrorFrameHandler
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ public class ControlProtocolEvents

/**
* Inform clients of error frame received by publication
* @since 1.47.0
*/
public static final int ON_PUBLICATION_ERROR = 0x0F0C;
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
* ... |
* +---------------------------------------------------------------+
* </pre>
* @since 1.47.0
*/
public class PublicationErrorFrameFlyweight
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
* ... |
* +---------------------------------------------------------------+
* </pre>
* @since 1.47.0
*/
public class ErrorFlyweight extends HeaderFlyweight
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,6 @@ int insertPacket(

if (null != rejectionReason)
{
if (isEndOfStream)
{
System.out.println("Invalidated end of stream");
}
return 0;
}

Expand Down

0 comments on commit 55e8be6

Please sign in to comment.