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
ConstructorsConstructorDescriptionSalPortServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected OfHeaderbuildRequest(Xid xid, UpdatePortInput input) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdatePortOutput>>updatePort(UpdatePortInput input) Invokeupdate-portRPC.Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractSimpleService
createCallbackMethods 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:SalPortServiceInvokeupdate-portRPC.Updating port on openflow device.- Specified by:
updatePortin interfaceSalPortService- Parameters:
input- ofupdate-port- Returns:
- output of
update-port
-
buildRequest
- Specified by:
buildRequestin classAbstractService<UpdatePortInput,UpdatePortOutput>
-