@Beta
public interface OutboundQueueHandler
Modifier and Type | Method and Description |
---|---|
BarrierInput |
createBarrierRequest(Long xid)
Create a new
barrier message. |
void |
onConnectionQueueChanged(OutboundQueue queue)
Invoked whenever the underlying queue is refreshed.
|
@Nonnull BarrierInput createBarrierRequest(@Nonnull Long xid)
barrier
message. This callback is invoked
when the queue is being flushed to the switch. The barrier ensures that any
outstanding requests are detected as either completed or failed.xid
- XID for the barrier messagevoid onConnectionQueueChanged(OutboundQueue queue)
queue
- New queue instance, null indicates a shutdown, e.g. the queue
is no longer available.Copyright © 2020 OpenDaylight. All rights reserved.