Class WebSocketTransport.WebSocketDelegate.WebSocketEndpoint

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

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

    Constructors
    Constructor Description
    WebSocketEndpoint()  
  • Method Summary

    Modifier and Type Method Description
    void onClose​(javax.websocket.Session session, javax.websocket.CloseReason closeReason)  
    void onError​(javax.websocket.Session session, java.lang.Throwable failure)  
    void onOpen​(javax.websocket.Session session, javax.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​(javax.websocket.Session session, javax.websocket.EndpointConfig config)
      Specified by:
      onOpen in class javax.websocket.Endpoint
    • onClose

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

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