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)
Updating port on openflow device.-
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
Updating port on openflow device.- Specified by:
updatePort
in interfaceSalPortService
-
buildRequest
protected OfHeader buildRequest(Xid xid, UpdatePortInput input)
- Specified by:
buildRequest
in classAbstractService<UpdatePortInput,UpdatePortOutput>
-
-