Interface ConnectionObserver.ConnectionRequestObserver

    • Method Detail

      • onOpenEvent

        void onOpenEvent​(OpenEvent aEvent)
                  throws org.refcodes.exception.VetoException
        In case a device is to be opened, then the OpenEvent event is fired.
        Parameters:
        aEvent - The according OpenEvent.
        Throws:
        org.refcodes.exception.VetoException - the veto exception
      • onCloseEvent

        void onCloseEvent​(CloseEvent aEvent)
                   throws org.refcodes.exception.VetoException
        In case a device is to be closed, then the CloseEvent event is fired.
        Parameters:
        aEvent - The according CloseEvent.
        Throws:
        org.refcodes.exception.VetoException - the veto exception