Class SingleGetMeterStatistics
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractService<GetMeterStatisticsInput,List<MultipartReply>>
org.opendaylight.openflowplugin.impl.services.AbstractMultipartService<GetMeterStatisticsInput,MultipartReply>
org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractGetMeterStatistics<MultipartReply>
org.opendaylight.openflowplugin.impl.statistics.services.direct.singlelayer.SingleGetMeterStatistics
- All Implemented Interfaces:
GetMeterStatistics
,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.Rpc<GetMeterStatisticsInput,
,GetMeterStatisticsOutput>> org.opendaylight.yangtools.binding.Rpc<GetMeterStatisticsInput,
GetMeterStatisticsOutput>
-
Field Summary
Fields inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.GetMeterStatistics
QNAME
-
Constructor Summary
ConstructorDescriptionSingleGetMeterStatistics
(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected GetMeterStatisticsOutput
buildReply
(List<MultipartReply> input, boolean success) Build output from multipart reply input.protected OfHeader
buildRequest
(Xid xid, GetMeterStatisticsInput input) protected ConvertorExecutor
Get convertor executor.protected MultipartType
Get multipart type.protected OpenflowVersion
Gets openflow version.Methods inherited from class org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractGetMeterStatistics
invoke
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.GetMeterStatistics
implementedInterface
-
Constructor Details
-
SingleGetMeterStatistics
public SingleGetMeterStatistics(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider)
-
-
Method Details
-
buildReply
Build output from multipart reply input.- Parameters:
input
- the input- Returns:
- the output
-
buildRequest
- Specified by:
buildRequest
in classAbstractService<GetMeterStatisticsInput,
List<MultipartReply>>
-
getMultipartType
Get multipart type.- Returns:
- multipart type
-
getConvertorExecutor
Get convertor executor.- Returns:
- convertor executor
-
getOfVersion
Gets openflow version.- Returns:
- the openflow version
-