@Beta public interface MountPointService extends BindingService
BindingService
providing access to mount point.Modifier and Type | Method and Description |
---|---|
Optional<MountPoint> |
getMountPoint(InstanceIdentifier<?> mountPoint)
Returns optional of mount point at given path represented by instance identifier.
|
<T extends MountPointListener> |
registerListener(InstanceIdentifier<?> path,
T listener)
Register a
MountPointListener instance. |
Optional<MountPoint> getMountPoint(InstanceIdentifier<?> mountPoint)
mountPoint
- mount point instance identifier<T extends MountPointListener> org.opendaylight.yangtools.concepts.ListenerRegistration<T> registerListener(InstanceIdentifier<?> path, T listener)
MountPointListener
instance. Once registered, the listener will start
receiving changes on the selected path.T
- listener typepath
- given path to listen to changeslistener
- MountPointListener
that is being registeredListenerRegistration.close()
to stop
delivery of mount point change events.Copyright © 2019 OpenDaylight. All rights reserved.