Class OnClose

  • All Implemented Interfaces:
    OnClose

    public class OnClose
    extends java.lang.Object
    implements OnClose
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(org.java_websocket.WebSocket ws, int code, java.lang.String reason, boolean remote)
      Handles a websocket OnClose event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public void run​(org.java_websocket.WebSocket ws,
                        int code,
                        java.lang.String reason,
                        boolean remote)
                 throws OpenemsException
        Description copied from interface: OnClose
        Handles a websocket OnClose event.
        Specified by:
        run in interface OnClose
        Throws:
        OpenemsException