public static interface ConnectionObserver.ConnectionRequestObserver extends ConnectionObserver
ConnectionEvent.DeviceRequestEvent
instances.ConnectionObserver.ConnectionRequestObserver
Modifier and Type | Method and 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, onOpendEvent
void 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 © 2017. All rights reserved.