public interface DOMRpcProviderService extends DOMService
DOMService which allows registration of RPC implementations with a conceptual
router. The client counterpart of this service is DOMRpcService.| Modifier and Type | Method and Description |
|---|---|
<T extends DOMRpcImplementation> |
registerRpcImplementation(T implementation,
DOMRpcIdentifier... rpcs)
Register an
DOMRpcImplementation object with this service. |
<T extends DOMRpcImplementation> |
registerRpcImplementation(T implementation,
Set<DOMRpcIdentifier> rpcs)
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.