public final class RemoveFlowRpcList extends Object
RemoveFlowRpcList describes a list of RPC calls that remove flow
entries in a single transaction.
This class is not synchronized.
| Constructor and Description |
|---|
RemoveFlowRpcList(FlowRpcWatcher watcher,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
RemoveFlowRpcList |
flush()
Flush ongoing remove-flow RPC requests.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService |
getFlowService()
Return the MD-SAL flow service.
|
List<RemoveFlowRpc> |
getRpcs()
Return an unmodifable list of RPC invocations.
|
void |
invoke(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.RemoveFlowInputBuilder builder)
Invoke a remove-flow RPC.
|
int |
size()
Return the number of RPC invocations in this instance.
|
void |
verify(org.slf4j.Logger logger,
long timeout,
TimeUnit unit)
Verify the result of remove-flow RPC.
|
public RemoveFlowRpcList(FlowRpcWatcher watcher, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs)
watcher - The flow RPC watcher.sfs - MD-SAL flow service.public org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService getFlowService()
public List<RemoveFlowRpc> getRpcs()
public int size()
public void invoke(@Nonnull org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.RemoveFlowInputBuilder builder)
builder - A RemoveFlowInputBuilder instance.public RemoveFlowRpcList flush()
public void verify(org.slf4j.Logger logger,
long timeout,
TimeUnit unit)
throws VTNException
logger - A logger instance.timeout - The number of time units to wait for completion of
RPC invocations.unit - The time unit for timeout.VTNException - An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.