Class JdkWebSocketTransport

java.lang.Object
org.cloudburstmc.netty.signaling.control.JdkWebSocketTransport
All Implemented Interfaces:
AutoCloseable

public final class JdkWebSocketTransport extends Object implements AutoCloseable
One bounded text WebSocket connection. Authentication, endpoint trust, application acknowledgments, reconnect and session authority belong to the caller. A successful send means local send completion, not acknowledgment that the remote application received or accepted the message. The client, executor and scheduler are borrowed and must outlive this connection; none is shut down here. The receiver executor must dispatch asynchronously and its handler must return promptly. Only one complete message is delivered at a time, and the next receive is requested after its stage completes. Cancelling a returned stage does not cancel the connection; use abort() to do that.