Class OpendaylightFlowTableStatisticsServiceImpl
- 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<GetFlowTablesStatisticsInput,GetFlowTablesStatisticsOutput,FlowTableStatisticsUpdate>
-
- org.opendaylight.openflowplugin.impl.statistics.services.OpendaylightFlowTableStatisticsServiceImpl
-
- All Implemented Interfaces:
BackwardCompatibleAtomicService<GetFlowTablesStatisticsInput,GetFlowTablesStatisticsOutput>,OpendaylightFlowTableStatisticsService,org.opendaylight.yangtools.yang.binding.RpcService
public final class OpendaylightFlowTableStatisticsServiceImpl extends AbstractCompatibleStatService<GetFlowTablesStatisticsInput,GetFlowTablesStatisticsOutput,FlowTableStatisticsUpdate> implements OpendaylightFlowTableStatisticsService
-
-
Constructor Summary
Constructors Constructor Description OpendaylightFlowTableStatisticsServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OfHeaderbuildRequest(Xid xid, GetFlowTablesStatisticsInput input)GetFlowTablesStatisticsOutputbuildTxCapableResult(TransactionId emulatedTxId)com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFlowTablesStatisticsOutput>>getFlowTablesStatistics(GetFlowTablesStatisticsInput input)Invokeget-flow-tables-statisticsRPC.FlowTableStatisticsUpdatetransformToNotification(List<MultipartReply> mpReplyList, 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
-
OpendaylightFlowTableStatisticsServiceImpl
public OpendaylightFlowTableStatisticsServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService)
-
-
Method Detail
-
getFlowTablesStatistics
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFlowTablesStatisticsOutput>> getFlowTablesStatistics(GetFlowTablesStatisticsInput input)
Description copied from interface:OpendaylightFlowTableStatisticsServiceInvokeget-flow-tables-statisticsRPC.Fetch statistics of all the flow tables present on the tarnet node- Specified by:
getFlowTablesStatisticsin interfaceOpendaylightFlowTableStatisticsService- Parameters:
input- ofget-flow-tables-statistics- Returns:
- output of
get-flow-tables-statistics
-
buildRequest
protected OfHeader buildRequest(Xid xid, GetFlowTablesStatisticsInput input)
- Specified by:
buildRequestin classAbstractService<GetFlowTablesStatisticsInput,List<MultipartReply>>
-
buildTxCapableResult
public GetFlowTablesStatisticsOutput buildTxCapableResult(TransactionId emulatedTxId)
-
transformToNotification
public FlowTableStatisticsUpdate transformToNotification(List<MultipartReply> mpReplyList, TransactionId emulatedTxId)
-
-