Class CodeWsEndpoint

java.lang.Object
org.teavm.devserver.CodeWsEndpoint
All Implemented Interfaces:
org.eclipse.jetty.websocket.api.Session.Listener, org.eclipse.jetty.websocket.api.Session.Listener.AutoDemanding

public class CodeWsEndpoint extends Object implements org.eclipse.jetty.websocket.api.Session.Listener.AutoDemanding
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.api.Session.Listener

    org.eclipse.jetty.websocket.api.Session.Listener.Abstract, org.eclipse.jetty.websocket.api.Session.Listener.AbstractAutoDemanding, org.eclipse.jetty.websocket.api.Session.Listener.AutoDemanding
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onWebSocketClose(int statusCode, String reason, org.eclipse.jetty.websocket.api.Callback callback)
     
    void
    onWebSocketOpen(org.eclipse.jetty.websocket.api.Session session)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.websocket.api.Session.Listener

    onWebSocketBinary, onWebSocketClose, onWebSocketError, onWebSocketFrame, onWebSocketPartialBinary, onWebSocketPartialText, onWebSocketPing, onWebSocketPong, onWebSocketText
  • Constructor Details

    • CodeWsEndpoint

      public CodeWsEndpoint(CodeServlet servlet)
  • Method Details

    • onWebSocketOpen

      public void onWebSocketOpen(org.eclipse.jetty.websocket.api.Session session)
      Specified by:
      onWebSocketOpen in interface org.eclipse.jetty.websocket.api.Session.Listener
    • onWebSocketClose

      public void onWebSocketClose(int statusCode, String reason, org.eclipse.jetty.websocket.api.Callback callback)
      Specified by:
      onWebSocketClose in interface org.eclipse.jetty.websocket.api.Session.Listener