Class WattpilotClient.FroniusWebsocketListener

java.lang.Object
dev.digiried.wattpilot.WattpilotClient.FroniusWebsocketListener
All Implemented Interfaces:
org.eclipse.jetty.websocket.api.Session.Listener, org.eclipse.jetty.websocket.api.Session.Listener.AutoDemanding
Enclosing class:
WattpilotClient

@NonNullByDefault({}) public class WattpilotClient.FroniusWebsocketListener extends Object implements org.eclipse.jetty.websocket.api.Session.Listener.AutoDemanding
Handles incoming WebSocket messages from the wallbox.
  • 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
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onWebSocketBinary(ByteBuffer data, org.eclipse.jetty.websocket.api.Callback callback)
     
    void
    onWebSocketClose(int code, String reason)
     
    void
     
    void
    onWebSocketOpen(org.eclipse.jetty.websocket.api.Session wsSession)
     
    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

    onWebSocketFrame, onWebSocketPartialBinary, onWebSocketPartialText, onWebSocketPing, onWebSocketPong
  • Method Details

    • onWebSocketClose

      public void onWebSocketClose(int code, String reason)
      Specified by:
      onWebSocketClose in interface org.eclipse.jetty.websocket.api.Session.Listener
    • onWebSocketOpen

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

      public void onWebSocketError(Throwable error)
      Specified by:
      onWebSocketError in interface org.eclipse.jetty.websocket.api.Session.Listener
    • onWebSocketBinary

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

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