public final class AddMdFlowTask extends RunnableVTNFuture<Void>
AddMdFlowTask describes the task that installs an MD-SAL flow entry
into the specified switch.| Constructor and Description |
|---|
AddMdFlowTask(VTNManagerProvider provider,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.AddFlowInput flow,
boolean discon)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNodeRemoved()
Determine whether the add-flow RPC invocation was canceled due to
removal of the target node.
|
void |
run()
Install the specified flow entry.
|
cancel, get, get, isCancelled, isDone, maskCancel, onFutureFailed, onFutureSucceeded, set, setException, setThread, unmaskCanceladdListener, done, getCause, getExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckedGet, checkedGetpublic AddMdFlowTask(VTNManagerProvider provider, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.AddFlowInput flow, boolean discon)
provider - VTN Manager provider service.sfs - A SalFlowService instance.flow - An AddFlowInput instance that specifies the
flow entry.discon - Determine whether an error caused by disconnection of
OpenFlow secure channel should be logged or not.public boolean isNodeRemoved()
true if the add-flow RPC invocation was canceled
due to removal of the target node. false otherwise.public void run()
Copyright © 2018 OpenDaylight. All rights reserved.