Class MeterDirectStatisticsService
- java.lang.Object
 - 
- org.opendaylight.openflowplugin.impl.services.AbstractService<I,List<T>>
 - 
- org.opendaylight.openflowplugin.impl.services.AbstractMultipartService<I,T>
 - 
- org.opendaylight.openflowplugin.impl.statistics.services.direct.AbstractMeterDirectStatisticsService<MultipartReply>
 - 
- org.opendaylight.openflowplugin.impl.statistics.services.direct.multilayer.MeterDirectStatisticsService
 
 
 
 
 
- 
public class MeterDirectStatisticsService extends AbstractMeterDirectStatisticsService<MultipartReply>
 
- 
- 
Constructor Summary
Constructors Constructor Description MeterDirectStatisticsService(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GetMeterStatisticsOutputbuildReply(List<MultipartReply> input, boolean success)Build output from multipart reply input.protected OfHeaderbuildRequest(Xid xid, GetMeterStatisticsInput input)protected ConvertorExecutorgetConvertorExecutor()Get convertor executor.protected MultipartTypegetMultipartType()Get multipart type.protected OpenflowVersiongetOfVersion()Gets openflow version.- 
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
- 
MeterDirectStatisticsService
public MeterDirectStatisticsService(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider)
 
 - 
 
- 
Method Detail
- 
buildReply
protected GetMeterStatisticsOutput buildReply(List<MultipartReply> input, boolean success)
Build output from multipart reply input.- Parameters:
 input- the input- Returns:
 - the output
 
 
- 
buildRequest
protected OfHeader buildRequest(Xid xid, GetMeterStatisticsInput input)
- Specified by:
 buildRequestin classAbstractService<GetMeterStatisticsInput,List<MultipartReply>>
 
- 
getMultipartType
protected MultipartType getMultipartType()
Get multipart type.- Returns:
 - multipart type
 
 
- 
getConvertorExecutor
protected ConvertorExecutor getConvertorExecutor()
Get convertor executor.- Returns:
 - convertor executor
 
 
- 
getOfVersion
protected OpenflowVersion getOfVersion()
Gets openflow version.- Returns:
 - the openflow version
 
 
 - 
 
 -