Class WebSocketTransport.WebSocketDelegate.WebSocketEndpoint

java.lang.Object
jakarta.websocket.Endpoint
org.cometd.client.websocket.javax.WebSocketTransport.WebSocketDelegate.WebSocketEndpoint
Enclosing class:
WebSocketTransport.WebSocketDelegate

public class WebSocketTransport.WebSocketDelegate.WebSocketEndpoint
extends jakarta.websocket.Endpoint
  • Constructor Summary

    Constructors
    Constructor Description
    WebSocketEndpoint()  
  • Method Summary

    Modifier and Type Method Description
    void onClose​(jakarta.websocket.Session session, jakarta.websocket.CloseReason closeReason)  
    void onError​(jakarta.websocket.Session session, java.lang.Throwable failure)  
    void onOpen​(jakarta.websocket.Session session, jakarta.websocket.EndpointConfig config)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebSocketEndpoint

      public WebSocketEndpoint()
  • Method Details

    • onOpen

      public void onOpen​(jakarta.websocket.Session session, jakarta.websocket.EndpointConfig config)
      Specified by:
      onOpen in class jakarta.websocket.Endpoint
    • onClose

      public void onClose​(jakarta.websocket.Session session, jakarta.websocket.CloseReason closeReason)
      Overrides:
      onClose in class jakarta.websocket.Endpoint
    • onError

      public void onError​(jakarta.websocket.Session session, java.lang.Throwable failure)
      Overrides:
      onError in class jakarta.websocket.Endpoint