Hi,

RemoteEndPoint class has sendPing and sendPong methods.

If the server or client sends a ping, how is the other end expected to handle 
the message and send a pong. In other words ,
Which method gets called on receipt of a ping.

If you have used WebSocketListener or WebSocketAdapter, is it the 
OnWebSocketBinary method that gets called ?

If you have the @WebSocket annotation, Will it be the method annotated with 
@WebSocketFrame or the one annotated with @WebSocketMessage.

Since clients could use other APIs or languages that do not expose ping/pong, 
is there a recommendation on the best way to do a
Heartbeat to keep connections alive.

regards
This e-mail and any attached files are intended solely for the use of the 
individual or entity to which this mail is addressed and may contain 
information that is privileged, confidential and exempt from disclosure under 
applicable law. Any use, disclosure, copying or distribution of this e-mail or 
the attached files by anyone other than the intended recipient is strictly 
prohibited. If you have received this e-mail in error, please notify the sender 
by reply e-mail or collect call to (650) 388-4111 and delete this e-mail and 
attached files from your system. Thank you.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to