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
ConstructorDescriptionOpendaylightFlowTableStatisticsServiceImpl
(RequestContextStack requestContextStack, DeviceContext deviceContext, AtomicLong compatibilityXidSeed, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeader
buildRequest
(Xid xid, GetFlowTablesStatisticsInput input) buildTxCapableResult
(TransactionId emulatedTxId) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetFlowTablesStatisticsOutput>>
Invokeget-flow-tables-statistics
RPC.transformToNotification
(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 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:OpendaylightFlowTableStatisticsService
Invokeget-flow-tables-statistics
RPC.Fetch statistics of all the flow tables present on the tarnet node
- Specified by:
getFlowTablesStatistics
in interfaceOpendaylightFlowTableStatisticsService
- Parameters:
input
- ofget-flow-tables-statistics
- Returns:
- output of
get-flow-tables-statistics
-
buildRequest
- Specified by:
buildRequest
in classAbstractService<GetFlowTablesStatisticsInput,
List<MultipartReply>>
-
buildTxCapableResult
-
transformToNotification
public FlowTableStatisticsUpdate transformToNotification(List<MultipartReply> mpReplyList, TransactionId emulatedTxId)
-