Skip to content

Commit d64295e

Browse files
committed
Apply requested changes
1 parent 5cbe530 commit d64295e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/main/java/org/java_websocket/WebSocketAdapter.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ public void onWebsocketPong( WebSocket conn, Framedata f ) {
9090

9191
/**
9292
* Default implementation for onPreparePing, returns a (cached) PingFrame that has no application data.
93-
*
9493
* @see org.java_websocket.WebSocketListener#onPreparePing(WebSocket)
94+
*
95+
* @param conn The <tt>WebSocket</tt> connection from which the ping frame will be sent.
9596
* @return PingFrame to be sent.
9697
*/
9798
@Override

‎src/main/java/org/java_websocket/WebSocketListener.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ public interface WebSocketListener {
173173
/**
174174
* Called just before a ping frame is sent, in order to allow users to customize their ping frame data.
175175
*
176+
* @param conn The <tt>WebSocket</tt> connection from which the ping frame will be sent.
176177
* @return PingFrame to be sent.
177178
*/
178179
PingFrame onPreparePing(WebSocket conn );

0 commit comments

Comments
 (0)