code: public void onOpen(ServerHandshake var1) {
      gLogger.d("onOpen status=" + var1.getHttpStatus() + ", statusMsg=" + var1.getHttpStatusMessage());
      this.heartBeatPolicy.start();
      if (null != this.socketClientMonitor) {
        this.socketClientMonitor.onOpen();
      }
    }
docs: WebSocketClient interfaces.