Class AggregateFlowsInTableService
- 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<GetAggregateFlowStatisticsFromFlowTableForAllFlowsInput,GetAggregateFlowStatisticsFromFlowTableForAllFlowsOutput,AggregateFlowStatisticsUpdate>
-
- org.opendaylight.openflowplugin.impl.statistics.services.AggregateFlowsInTableService
-
- All Implemented Interfaces:
BackwardCompatibleAtomicService<GetAggregateFlowStatisticsFromFlowTableForAllFlowsInput,GetAggregateFlowStatisticsFromFlowTableForAllFlowsOutput>
public final class AggregateFlowsInTableService extends AbstractCompatibleStatService<GetAggregateFlowStatisticsFromFlowTableForAllFlowsInput,GetAggregateFlowStatisticsFromFlowTableForAllFlowsOutput,AggregateFlowStatisticsUpdate>
-
-
Constructor Summary
Constructors Constructor Description AggregateFlowsInTableService(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, TranslatorLibrary translatorLibrary)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OfHeader
buildRequest(Xid xid, GetAggregateFlowStatisticsFromFlowTableForAllFlowsInput input)
GetAggregateFlowStatisticsFromFlowTableForAllFlowsOutput
buildTxCapableResult(TransactionId emulatedTxId)
static AggregateFlowsInTableService
createWithOook(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed)
AggregateFlowStatisticsUpdate
transformToNotification(List<MultipartReply> result, TransactionId emulatedTxId)
-
Methods inherited from class org.opendaylight.openflowplugin.impl.statistics.services.compatibility.AbstractCompatibleStatService
getOfVersion, handleAndNotify
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractMultipartService
createCallback, handleServiceCall
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractService
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, setEventIdentifier
-
-
-
-
Constructor Detail
-
AggregateFlowsInTableService
public AggregateFlowsInTableService(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, TranslatorLibrary translatorLibrary)
-
-
Method Detail
-
createWithOook
public static AggregateFlowsInTableService createWithOook(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed)
-
buildRequest
protected OfHeader buildRequest(Xid xid, GetAggregateFlowStatisticsFromFlowTableForAllFlowsInput input)
- Specified by:
buildRequest
in classAbstractService<GetAggregateFlowStatisticsFromFlowTableForAllFlowsInput,List<MultipartReply>>
-
buildTxCapableResult
public GetAggregateFlowStatisticsFromFlowTableForAllFlowsOutput buildTxCapableResult(TransactionId emulatedTxId)
-
transformToNotification
public AggregateFlowStatisticsUpdate transformToNotification(List<MultipartReply> result, TransactionId emulatedTxId)
-
-