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
Constructors Constructor Description SalPortServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
SalPortServiceImpl
public SalPortServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
-
Method Detail
-
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
protected OfHeader buildRequest(Xid xid, UpdatePortInput input)
- Specified by:
buildRequest
in classAbstractService<UpdatePortInput,UpdatePortOutput>
-
-