Interface ConnectionObserver<SRC>
- Type Parameters:
SRC- The type of the source in question.
- All Superinterfaces:
Observer<ConnectionEvent<?,SRC>>
- All Known Subinterfaces:
ConnectionObserver.ConnectionRequestObserver<SRC>
An observer for listening to
ConnectionEvent instances.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn observer for listening toConnectionRequestEventinstances. -
Method Summary
Modifier and TypeMethodDescriptionvoidonClosedEvent(ClosedEvent<SRC> aEvent) Signaled in case a device is being closed.voidonOpendEvent(OpenedEvent<SRC> aEvent) Signaled in case a device is being opened.
-
Method Details
-
onOpendEvent
Signaled in case a device is being opened.- Parameters:
aEvent- TheOpenedEventsignaling a device-open.
-
onClosedEvent
Signaled in case a device is being closed.- Parameters:
aEvent- TheClosedEventsignaling a device-close.
-