Class AbstractCompatibleStatService<I extends org.opendaylight.yangtools.yang.binding.DataContainer,O,N extends org.opendaylight.yangtools.yang.binding.Notification>
- java.lang.Object
- 
- org.opendaylight.openflowplugin.impl.services.AbstractService<I,List<T>>
- 
- org.opendaylight.openflowplugin.impl.services.AbstractMultipartService<I,MultipartReply>
- 
- org.opendaylight.openflowplugin.impl.statistics.services.compatibility.AbstractCompatibleStatService<I,O,N>
 
 
 
- 
- All Implemented Interfaces:
- BackwardCompatibleAtomicService<I,O>
 - Direct Known Subclasses:
- AggregateFlowsInTableService,- AllFlowsInAllTablesService,- AllFlowsInTableService,- FlowsInTableService,- OpendaylightFlowTableStatisticsServiceImpl
 
 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> Pulled up common functionality of notification emitting stats services (backward compatibility relic).
- 
- 
Constructor SummaryConstructors Constructor Description AbstractCompatibleStatService(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ObuildTxCapableResult(TransactionId emulatedTxId)OpenflowVersiongetOfVersion()com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>>handleAndNotify(I input, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService)process rpc request and publish corresponding notification upon success.abstract NtransformToNotification(List<MultipartReply> result, TransactionId emulatedTxId)- 
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractMultipartServicecreateCallback, handleServiceCall
 - 
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractServicebuildRequest, canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, setEventIdentifier
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractCompatibleStatServicepublic AbstractCompatibleStatService(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed) 
 
- 
 - 
Method Detail- 
getOfVersionpublic OpenflowVersion getOfVersion() 
 - 
handleAndNotifypublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>> handleAndNotify(I input, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService) Description copied from interface:BackwardCompatibleAtomicServiceprocess rpc request and publish corresponding notification upon success.- Specified by:
- handleAndNotifyin interface- BackwardCompatibleAtomicService<I extends org.opendaylight.yangtools.yang.binding.DataContainer,O>
- Parameters:
- input- rpc input
- notificationPublishService- publisher handle
 
 - 
buildTxCapableResultpublic abstract O buildTxCapableResult(TransactionId emulatedTxId) 
 - 
transformToNotificationpublic abstract N transformToNotification(List<MultipartReply> result, TransactionId emulatedTxId) 
 
- 
 
-