public class DropTestRpcSender extends Object
SalFlowService
strategy.Modifier and Type | Field and Description |
---|---|
protected static Long |
BUFFER_ID |
protected int |
ftrFailed |
protected int |
ftrSuccess |
protected static Integer |
HARD_TIMEOUT |
protected static Integer |
IDLE_TIMEOUT |
protected static Integer |
PRIORITY |
protected static AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> |
RPC_FUTURE_FAIL_UPDATER |
protected static AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> |
RPC_FUTURE_SUCCESS_UPDATER |
protected static AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> |
RUNABLES_EXECUTED |
protected static AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> |
RUNABLES_REJECTED |
protected int |
runablesExecuted |
protected int |
runablesRejected |
protected static short |
TABLE_ID |
Constructor and Description |
---|
DropTestRpcSender() |
Modifier and Type | Method and Description |
---|---|
void |
clearStats() |
void |
close() |
void |
countFutureError() |
void |
countFutureSuccess() |
DropTestStats |
getStats() |
void |
onPacketReceived(PacketReceived notification)
Delivery of incoming packet wrapped in openflow structure.
|
protected void |
processPacket(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> node,
Match match,
Instructions instructions) |
void |
setFlowService(SalFlowService flowService) |
void |
setNotificationService(org.opendaylight.mdsal.binding.api.NotificationService notificationService) |
void |
start()
Start listening on packetIn.
|
protected static final Integer PRIORITY
protected static final Long BUFFER_ID
protected static final Integer HARD_TIMEOUT
protected static final Integer IDLE_TIMEOUT
protected static final short TABLE_ID
protected static final AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> RPC_FUTURE_SUCCESS_UPDATER
protected volatile int ftrSuccess
protected static final AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> RPC_FUTURE_FAIL_UPDATER
protected volatile int ftrFailed
protected static final AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> RUNABLES_EXECUTED
protected volatile int runablesExecuted
protected static final AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> RUNABLES_REJECTED
protected volatile int runablesRejected
public void setFlowService(SalFlowService flowService)
public void start()
protected void processPacket(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> node, Match match, Instructions instructions)
public void setNotificationService(org.opendaylight.mdsal.binding.api.NotificationService notificationService)
public void close()
close
in interface AutoCloseable
public final DropTestStats getStats()
public final void clearStats()
public final void onPacketReceived(PacketReceived notification)
PacketProcessingListener
onPacketReceived
in interface PacketProcessingListener
public void countFutureSuccess()
public void countFutureError()
Copyright © 2020 OpenDaylight. All rights reserved.