Class ProxyWsClient

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

public class ProxyWsClient 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
    onWebSocketBinary(ByteBuffer payload, org.eclipse.jetty.websocket.api.Callback callback)
     
    void
    onWebSocketClose(int statusCode, String reason, org.eclipse.jetty.websocket.api.Callback callback)
     
    void
    onWebSocketOpen(org.eclipse.jetty.websocket.api.Session session)
     
    void
     
    void
     

    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

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

    • ProxyWsClient

      public ProxyWsClient()
  • Method Details

    • setTarget

      public void setTarget(ProxyWsClient target)
    • 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
    • onWebSocketBinary

      public void onWebSocketBinary(ByteBuffer payload, org.eclipse.jetty.websocket.api.Callback callback)
      Specified by:
      onWebSocketBinary in interface org.eclipse.jetty.websocket.api.Session.Listener
    • onWebSocketText

      public void onWebSocketText(String text)
      Specified by:
      onWebSocketText in interface org.eclipse.jetty.websocket.api.Session.Listener