Class AbstractPortDirectStatisticsService<T extends OfHeader>
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.AbstractPortDirectStatisticsService<T>
- Direct Known Subclasses:
PortDirectStatisticsService
,PortDirectStatisticsService
public abstract class AbstractPortDirectStatisticsService<T extends OfHeader>
extends AbstractMultipartService<I,T>
The Node connector direct statistics service.
-
Constructor Summary
ConstructorDescriptionAbstractPortDirectStatisticsService
(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract GetNodeConnectorStatisticsOutput
buildReply
(List<T> input, boolean success) Build output from multipart reply input.protected ConvertorExecutor
Get convertor executor.protected MultipartType
Get multipart type.protected OpenflowVersion
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
buildRequest, canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, setEventIdentifier
-
Constructor Details
-
AbstractPortDirectStatisticsService
public AbstractPortDirectStatisticsService(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider)
-
-
Method Details
-
getMultipartType
Get multipart type.- Returns:
- multipart type
-
getConvertorExecutor
Get convertor executor.- Returns:
- convertor executor
-
getOfVersion
Gets openflow version.- Returns:
- the openflow version
-
buildReply
Build output from multipart reply input.- Parameters:
input
- the input- Returns:
- the output
-