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
ConstructorsConstructorDescriptionOpendaylightFlowTableStatisticsServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeaderbuildRequest(Xid xid, GetFlowTablesStatisticsInput input) buildTxCapableResult(TransactionId emulatedTxId) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFlowTablesStatisticsOutput>>Invokeget-flow-tables-statisticsRPC.transformToNotification(List<MultipartReply> mpReplyList, TransactionId emulatedTxId) Methods inherited from class org.opendaylight.openflowplugin.impl.statistics.services.compatibility.AbstractCompatibleStatService
getOfVersion, handleAndNotifyMethods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractMultipartService
createCallback, handleServiceCallMethods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractService
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, setEventIdentifier
-
Constructor Details
-
OpendaylightFlowTableStatisticsServiceImpl
public OpendaylightFlowTableStatisticsServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService)
-
-
Method Details
-
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
- Specified by:
buildRequestin classAbstractService<GetFlowTablesStatisticsInput,List<MultipartReply>>
-
buildTxCapableResult
-
transformToNotification
public FlowTableStatisticsUpdate transformToNotification(List<MultipartReply> mpReplyList, TransactionId emulatedTxId)
-