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
ConstructorsConstructorDescriptionSalMetersBatchServiceImpl(SalMeterService salMeterService, FlowCapableTransactionService transactionService) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddMetersBatchOutput>>Invokeadd-meters-batchRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMetersBatchOutput>>Invokeremove-meters-batchRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateMetersBatchOutput>>Invokeupdate-meters-batchRPC.
-
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:SalMetersBatchServiceInvokeupdate-meters-batchRPC.Updating batch meter on openflow device.- Specified by:
updateMetersBatchin 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:SalMetersBatchServiceInvokeadd-meters-batchRPC.Adding batch meters to openflow device.- Specified by:
addMetersBatchin 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:SalMetersBatchServiceInvokeremove-meters-batchRPC.Removing batch meter from openflow device.- Specified by:
removeMetersBatchin interfaceSalMetersBatchService- Parameters:
input- ofremove-meters-batch- Returns:
- output of
remove-meters-batch
-