public interface PacketContext
Modifier and Type | Method and Description |
---|---|
boolean |
block()
Blocks the outbound packet from being sent from this point onward.
|
InboundPacket |
inPacket()
Returns the inbound packet being processed.
|
boolean |
isHandled()
Indicates whether the outbound packet is handled, i.e.
|
OutboundPacket |
outPacket()
Returns the view of the outbound packet.
|
void |
send()
Triggers the outbound packet to be sent.
|
long |
time()
Returns the time when the packet was received.
|
TrafficTreatment.Builder |
treatmentBuilder()
Returns a builder for constructing traffic treatment.
|
long time()
InboundPacket inPacket()
OutboundPacket outPacket()
TrafficTreatment.Builder treatmentBuilder()
void send()
boolean block()
boolean isHandled()