Class SalPortServiceImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
org.opendaylight.openflowplugin.impl.services.AbstractSimpleService<UpdatePortInput,UpdatePortOutput>
org.opendaylight.openflowplugin.impl.services.sal.SalPortServiceImpl
- All Implemented Interfaces:
SalPortService
,org.opendaylight.yangtools.yang.binding.RpcService
public final class SalPortServiceImpl
extends AbstractSimpleService<UpdatePortInput,UpdatePortOutput>
implements SalPortService
-
Constructor Summary
ConstructorDescriptionSalPortServiceImpl
(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeader
buildRequest
(Xid xid, UpdatePortInput input) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdatePortOutput>>
updatePort
(UpdatePortInput input) Invokeupdate-port
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 Details
-
SalPortServiceImpl
public SalPortServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
-
Method Details
-
updatePort
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdatePortOutput>> updatePort(UpdatePortInput input) Description copied from interface:SalPortService
Invokeupdate-port
RPC.Updating port on openflow device.
- Specified by:
updatePort
in interfaceSalPortService
- Parameters:
input
- ofupdate-port
- Returns:
- output of
update-port
-
buildRequest
- Specified by:
buildRequest
in classAbstractService<UpdatePortInput,
UpdatePortOutput>
-