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-flow
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>>
removeFlow(RemoveFlowInput input)
Invokeremove-flow
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>>
updateFlow(UpdateFlowInput input)
Invokeupdate-flow
RPC.
-
-
-
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:SalFlowService
Invokeadd-flow
RPC.Adding flow to openflow device.
- Specified by:
addFlow
in 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:SalFlowService
Invokeremove-flow
RPC.Removing flow from openflow device.
- Specified by:
removeFlow
in 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:SalFlowService
Invokeupdate-flow
RPC.Updating flow on openflow device.
- Specified by:
updateFlow
in interfaceSalFlowService
- Parameters:
input
- ofupdate-flow
- Returns:
- output of
update-flow
-
-