Class AbstractGetNodeConnectorStatistics<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.AbstractGetNodeConnectorStatistics<T>
- All Implemented Interfaces:
GetNodeConnectorStatistics
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.Rpc<GetNodeConnectorStatisticsInput,
,GetNodeConnectorStatisticsOutput>> org.opendaylight.yangtools.yang.binding.Rpc<GetNodeConnectorStatisticsInput,
GetNodeConnectorStatisticsOutput>
- Direct Known Subclasses:
MultiGetNodeConnectorStatistics
,SingleGetNodeConnectorStatistics
public abstract class AbstractGetNodeConnectorStatistics<T extends OfHeader>
extends AbstractMultipartService<I,T>
implements GetNodeConnectorStatistics
The Node connector direct statistics service.
-
Field Summary
Fields inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.GetNodeConnectorStatistics
QNAME
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractGetNodeConnectorStatistics
(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.final com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeConnectorStatisticsOutput>>
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
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.GetNodeConnectorStatistics
implementedInterface
-
Constructor Details
-
AbstractGetNodeConnectorStatistics
protected AbstractGetNodeConnectorStatistics(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider)
-
-
Method Details
-
invoke
public final com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeConnectorStatisticsOutput>> invoke(GetNodeConnectorStatisticsInput input) - Specified by:
invoke
in interfaceGetNodeConnectorStatistics
- Specified by:
invoke
in interfaceorg.opendaylight.yangtools.yang.binding.Rpc<GetNodeConnectorStatisticsInput,
GetNodeConnectorStatisticsOutput>
-
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
-