public interface DOMRpcAvailabilityListener extends EventListener
EventListener
used to track RPC implementations becoming (un)available
to a DOMRpcService
.Modifier and Type | Method and Description |
---|---|
default boolean |
acceptsImplementation(DOMRpcImplementation impl)
Implementation filtering method.
|
void |
onRpcAvailable(@NonNull Collection<DOMRpcIdentifier> rpcs)
Method invoked whenever an RPC type becomes available.
|
void |
onRpcUnavailable(@NonNull Collection<DOMRpcIdentifier> rpcs)
Method invoked whenever an RPC type becomes unavailable.
|
void onRpcAvailable(@NonNull Collection<DOMRpcIdentifier> rpcs)
rpcs
- RPC types newly availablevoid onRpcUnavailable(@NonNull Collection<DOMRpcIdentifier> rpcs)
rpcs
- RPC types which became unavailabledefault boolean acceptsImplementation(DOMRpcImplementation impl)
impl
- RPC implementation being registeredCopyright © 2019 OpenDaylight. All rights reserved.