Class SalMetersBatchServiceImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.services.sal.SalMetersBatchServiceImpl
- All Implemented Interfaces:
SalMetersBatchService
,org.opendaylight.yangtools.yang.binding.RpcService
Default implementation of
SalMetersBatchService
- delegates work to SalMeterService
.-
Constructor Summary
ConstructorDescriptionSalMetersBatchServiceImpl
(SalMeterService salMeterService, FlowCapableTransactionService transactionService) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddMetersBatchOutput>>
Invokeadd-meters-batch
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMetersBatchOutput>>
Invokeremove-meters-batch
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateMetersBatchOutput>>
Invokeupdate-meters-batch
RPC.
-
Constructor Details
-
SalMetersBatchServiceImpl
public SalMetersBatchServiceImpl(SalMeterService salMeterService, FlowCapableTransactionService transactionService)
-
-
Method Details
-
updateMetersBatch
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateMetersBatchOutput>> updateMetersBatch(UpdateMetersBatchInput input) Description copied from interface:SalMetersBatchService
Invokeupdate-meters-batch
RPC.Updating batch meter on openflow device.
- Specified by:
updateMetersBatch
in interfaceSalMetersBatchService
- Parameters:
input
- ofupdate-meters-batch
- Returns:
- output of
update-meters-batch
-
addMetersBatch
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddMetersBatchOutput>> addMetersBatch(AddMetersBatchInput input) Description copied from interface:SalMetersBatchService
Invokeadd-meters-batch
RPC.Adding batch meters to openflow device.
- Specified by:
addMetersBatch
in interfaceSalMetersBatchService
- Parameters:
input
- ofadd-meters-batch
- Returns:
- output of
add-meters-batch
-
removeMetersBatch
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMetersBatchOutput>> removeMetersBatch(RemoveMetersBatchInput input) Description copied from interface:SalMetersBatchService
Invokeremove-meters-batch
RPC.Removing batch meter from openflow device.
- Specified by:
removeMetersBatch
in interfaceSalMetersBatchService
- Parameters:
input
- ofremove-meters-batch
- Returns:
- output of
remove-meters-batch
-