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
ConstructorDescriptionAggregateFlowsInTableService
(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, TranslatorLibrary translatorLibrary) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeader
buildTxCapableResult
(TransactionId emulatedTxId) static AggregateFlowsInTableService
createWithOook
(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed) 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 Details
-
AggregateFlowsInTableService
public AggregateFlowsInTableService(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, TranslatorLibrary translatorLibrary)
-
-
Method Details
-
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)
-