public abstract class AbstractCompatibleStatService<I extends org.opendaylight.yangtools.yang.binding.DataContainer,O,N extends org.opendaylight.yangtools.yang.binding.Notification> extends AbstractMultipartService<I,MultipartReply> implements BackwardCompatibleAtomicService<I,O>
Constructor and Description |
---|
AbstractCompatibleStatService(RequestContextStack requestContextStack,
DeviceContext deviceContext,
AtomicLong compatibilityXidSeed) |
Modifier and Type | Method and Description |
---|---|
abstract O |
buildTxCapableResult(TransactionId emulatedTxId) |
OpenflowVersion |
getOfVersion() |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>> |
handleAndNotify(I input,
org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService)
process rpc request and publish corresponding notification upon success.
|
abstract N |
transformToNotification(List<MultipartReply> result,
TransactionId emulatedTxId) |
createCallback, handleServiceCall
buildRequest, canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, setEventIdentifier
public AbstractCompatibleStatService(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed)
public OpenflowVersion getOfVersion()
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>> handleAndNotify(I input, org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService)
BackwardCompatibleAtomicService
handleAndNotify
in interface BackwardCompatibleAtomicService<I extends org.opendaylight.yangtools.yang.binding.DataContainer,O>
input
- rpc inputnotificationPublishService
- publisher handlepublic abstract O buildTxCapableResult(TransactionId emulatedTxId)
public abstract N transformToNotification(List<MultipartReply> result, TransactionId emulatedTxId)
Copyright © 2019 OpenDaylight. All rights reserved.