ConnectionObserver, org.refcodes.observer.Observer<org.refcodes.observer.MetaDataEvent>public static interface ConnectionObserver.ConnectionRequestObserver extends ConnectionObserver
ConnectionRequestEvent instances.ConnectionObserver.ConnectionRequestObserver| Modifier and Type | Method | Description |
|---|---|---|
void |
onCloseEvent(CloseEvent aEvent) |
In case a device is to be closed, then the
CloseEvent event
is fired. |
void |
onOpenEvent(OpenEvent aEvent) |
In case a device is to be opened, then the
OpenEvent event is
fired. |
onClosedEvent, onOpendEventvoid onOpenEvent(OpenEvent aEvent) throws org.refcodes.exception.VetoException
OpenEvent event is
fired.aEvent - The according OpenEvent.org.refcodes.exception.VetoException - the veto exceptionvoid onCloseEvent(CloseEvent aEvent) throws org.refcodes.exception.VetoException
CloseEvent event
is fired.aEvent - The according CloseEvent.org.refcodes.exception.VetoException - the veto exceptionCopyright © 2018. All rights reserved.