* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
-
package org.opendaylight.openflowjava.protocol.api.connection;
+import com.google.common.annotations.Beta;
import java.net.InetSocketAddress;
import java.util.concurrent.Future;
-
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OpenflowProtocolListener;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OpenflowProtocolService;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927.SystemNotificationsListener;
* @return true, if channel is configured to autoread
*/
boolean isAutoRead();
+
+ /**
+ * Registers a new bypass outbound queue
+ * @param handler
+ * @param maxQueueDepth
+ * @param maxBarrierNanos
+ * @return An {@link OutboundQueueHandlerRegistration}
+ */
+ @Beta
+ <T extends OutboundQueueHandler> OutboundQueueHandlerRegistration<T> registerOutboundQueueHandler(T handler,
+ int maxQueueDepth, long maxBarrierNanos);
}