DOMRpcProviderService instead@Deprecated public interface DOMRpcProviderService extends DOMService
DOMService which allows registration of RPC implementations with a conceptual router. The client
counterpart of this service is DOMRpcService.
This interface supports both RFC6020 RPCs and RFC7950 actions (formerly known as 'Routed RPCs'. Invocation for RFC6020 RPCs is always based on an empty context reference. Invocation of actions requires a non-empty context reference and is matched against registered implementations as follows:
DOMRpcImplementationNotAvailableException
All implementations are required to perform these steps as specified above.
| Modifier and Type | Method and Description |
|---|---|
<T extends DOMRpcImplementation> |
registerRpcImplementation(T implementation,
DOMRpcIdentifier... rpcs)
Deprecated.
Register an
DOMRpcImplementation object with this service. |
<T extends DOMRpcImplementation> |
registerRpcImplementation(T implementation,
Set<DOMRpcIdentifier> rpcs)
Deprecated.
Register an
DOMRpcImplementation object with this service. |
@Nonnull <T extends DOMRpcImplementation> DOMRpcImplementationRegistration<T> registerRpcImplementation(@Nonnull T implementation, @Nonnull DOMRpcIdentifier... rpcs)
DOMRpcImplementation object with this service.implementation - RPC implementation, must not be nullrpcs - Array of supported RPC identifiers. Must not be null, empty, or contain a null element.
Each identifier is added exactly once, no matter how many times it occurs.DOMRpcImplementationRegistration object, guaranteed to be non-null.NullPointerException - if implementation or types is nullIllegalArgumentException - if types is empty or contains a null element.@Nonnull <T extends DOMRpcImplementation> DOMRpcImplementationRegistration<T> registerRpcImplementation(@Nonnull T implementation, @Nonnull Set<DOMRpcIdentifier> rpcs)
DOMRpcImplementation object with this service.implementation - RPC implementation, must not be nullrpcs - Set of supported RPC identifiers. Must not be null, empty, or contain a null element.DOMRpcImplementationRegistration object, guaranteed to be non-null.NullPointerException - if implementation or types is nullIllegalArgumentException - if types is empty or contains a null element.Copyright © 2019 OpenDaylight. All rights reserved.