+ /**
+ * notify listener about connection ready-to-use event
+ */
+ void fireConnectionReadyNotification();
+
+ /**
+ * set listener for connection became ready-to-use event
+ * @param connectionReadyListener listens to connection ready event
+ */
+ void setConnectionReadyListener(ConnectionReadyListener connectionReadyListener);
+
+ /**
+ * sets option for automatic channel reading;
+ * if set to false, incoming messages won't be read
+ *
+ * @param autoRead target value to be switched to
+ */
+ void setAutoRead(boolean autoRead);
+
+ /**
+ * @return true, if channel is configured to autoread
+ */
+ boolean isAutoRead();
+
+ /**
+ * Registers a new bypass outbound queue
+ * @param <T> handler type
+ * @param handler queue handler
+ * @param maxQueueDepth max amount of not confirmed messaged in queue (i.e. edge for barrier message)
+ * @param maxBarrierNanos regular base for barrier message
+ * @return An {@link OutboundQueueHandlerRegistration}
+ */
+ @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);