Class SalMeterServiceImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.services.sal.SalMeterServiceImpl
- All Implemented Interfaces:
SalMeterService
,org.opendaylight.yangtools.yang.binding.RpcService
-
Constructor Summary
ConstructorDescriptionSalMeterServiceImpl
(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddMeterOutput>>
addMeter
(AddMeterInput input) Invokeadd-meter
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMeterOutput>>
removeMeter
(RemoveMeterInput input) Invokeremove-meter
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateMeterOutput>>
updateMeter
(UpdateMeterInput input) Invokeupdate-meter
RPC.
-
Constructor Details
-
SalMeterServiceImpl
public SalMeterServiceImpl(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor)
-
-
Method Details
-
addMeter
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddMeterOutput>> addMeter(AddMeterInput input) Description copied from interface:SalMeterService
Invokeadd-meter
RPC.Adding meter to openflow device.
- Specified by:
addMeter
in interfaceSalMeterService
- Parameters:
input
- ofadd-meter
- Returns:
- output of
add-meter
-
updateMeter
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateMeterOutput>> updateMeter(UpdateMeterInput input) Description copied from interface:SalMeterService
Invokeupdate-meter
RPC.Updating meter on openflow device.
- Specified by:
updateMeter
in interfaceSalMeterService
- Parameters:
input
- ofupdate-meter
- Returns:
- output of
update-meter
-
removeMeter
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMeterOutput>> removeMeter(RemoveMeterInput input) Description copied from interface:SalMeterService
Invokeremove-meter
RPC.Removing metere from openflow device.
- Specified by:
removeMeter
in interfaceSalMeterService
- Parameters:
input
- ofremove-meter
- Returns:
- output of
remove-meter
-