Class QueueDirectStatisticsService
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.AbstractQueueDirectStatisticsService<MultipartReply>
org.opendaylight.openflowplugin.impl.statistics.services.direct.singlelayer.QueueDirectStatisticsService
public class QueueDirectStatisticsService
extends AbstractQueueDirectStatisticsService<MultipartReply>
-
Constructor Summary
ConstructorsConstructorDescriptionQueueDirectStatisticsService(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected GetQueueStatisticsOutputbuildReply(List<MultipartReply> input, boolean success) Build output from multipart reply input.protected OfHeaderbuildRequest(Xid xid, GetQueueStatisticsInput input) protected ConvertorExecutorGet convertor executor.protected MultipartTypeGet multipart type.protected OpenflowVersionGets openflow version.Methods 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
-
QueueDirectStatisticsService
public QueueDirectStatisticsService(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:
buildRequestin classAbstractService<GetQueueStatisticsInput,List<MultipartReply>>
-
getMultipartType
Get multipart type.- Returns:
- multipart type
-
getConvertorExecutor
Get convertor executor.- Returns:
- convertor executor
-
getOfVersion
Gets openflow version.- Returns:
- the openflow version
-