BUG-3229: Add support for PacketIn filtering
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ConnectionAdapter.java
index 02679f05c7db8a2d3fc4027b8d146e98cc004e37..443dea5780d6d67b47f57f280bb3a55161a57892 100644 (file)
@@ -82,4 +82,11 @@ public interface ConnectionAdapter extends OpenflowProtocolService {
     @Beta
     <T extends OutboundQueueHandler> OutboundQueueHandlerRegistration<T> registerOutboundQueueHandler(T handler,
         int maxQueueDepth, long maxBarrierNanos);
+
+    /**
+     * Set filtering of PacketIn messages. By default these messages are not filtered.
+     * @param enabled True if PacketIn messages should be filtered, false if they should be reported.
+     */
+    @Beta
+    void setPacketInFiltering(boolean enabled);
 }