Class SalExperimenterMessageServiceImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
-
- org.opendaylight.openflowplugin.impl.services.AbstractSimpleService<SendExperimenterInput,SendExperimenterOutput>
-
- org.opendaylight.openflowplugin.impl.services.sal.SalExperimenterMessageServiceImpl
-
- All Implemented Interfaces:
SalExperimenterMessageService
,org.opendaylight.yangtools.yang.binding.RpcService
public class SalExperimenterMessageServiceImpl extends AbstractSimpleService<SendExperimenterInput,SendExperimenterOutput> implements SalExperimenterMessageService
-
-
Constructor Summary
Constructors Constructor Description SalExperimenterMessageServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ExtensionConverterProvider extensionConverterProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OfHeader
buildRequest(Xid xid, SendExperimenterInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendExperimenterOutput>>
sendExperimenter(SendExperimenterInput input)
Invokesend-experimenter
RPC.-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractSimpleService
createCallback
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractService
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, handleServiceCall, setEventIdentifier
-
-
-
-
Constructor Detail
-
SalExperimenterMessageServiceImpl
public SalExperimenterMessageServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ExtensionConverterProvider extensionConverterProvider)
-
-
Method Detail
-
buildRequest
protected OfHeader buildRequest(Xid xid, SendExperimenterInput input) throws ServiceException
- Specified by:
buildRequest
in classAbstractService<SendExperimenterInput,SendExperimenterOutput>
- Throws:
ServiceException
-
sendExperimenter
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendExperimenterOutput>> sendExperimenter(SendExperimenterInput input)
Description copied from interface:SalExperimenterMessageService
Invokesend-experimenter
RPC.Send experimenter request to device, expecting reply.
- Specified by:
sendExperimenter
in interfaceSalExperimenterMessageService
- Parameters:
input
- ofsend-experimenter
- Returns:
- output of
send-experimenter
-
-