Class SalFlowServiceImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.services.sal.SalFlowServiceImpl
-
- All Implemented Interfaces:
SalFlowService,org.opendaylight.yangtools.yang.binding.RpcService
public class SalFlowServiceImpl extends Object implements SalFlowService
-
-
Constructor Summary
Constructors Constructor Description SalFlowServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>>addFlow(AddFlowInput input)Invokeadd-flowRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>>removeFlow(RemoveFlowInput input)Invokeremove-flowRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>>updateFlow(UpdateFlowInput input)Invokeupdate-flowRPC.
-
-
-
Constructor Detail
-
SalFlowServiceImpl
public SalFlowServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
-
Method Detail
-
addFlow
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> addFlow(AddFlowInput input)
Description copied from interface:SalFlowServiceInvokeadd-flowRPC.Adding flow to openflow device.- Specified by:
addFlowin interfaceSalFlowService- Parameters:
input- ofadd-flow- Returns:
- output of
add-flow
-
removeFlow
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> removeFlow(RemoveFlowInput input)
Description copied from interface:SalFlowServiceInvokeremove-flowRPC.Removing flow from openflow device.- Specified by:
removeFlowin interfaceSalFlowService- Parameters:
input- ofremove-flow- Returns:
- output of
remove-flow
-
updateFlow
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> updateFlow(UpdateFlowInput input)
Description copied from interface:SalFlowServiceInvokeupdate-flowRPC.Updating flow on openflow device.- Specified by:
updateFlowin interfaceSalFlowService- Parameters:
input- ofupdate-flow- Returns:
- output of
update-flow
-
-