HTTP transport implementation
[netconf.git] / transport / transport-http / src / main / java / org / opendaylight / netconf / transport / http / HttpChannelInitializer.java
diff --git a/transport/transport-http/src/main/java/org/opendaylight/netconf/transport/http/HttpChannelInitializer.java b/transport/transport-http/src/main/java/org/opendaylight/netconf/transport/http/HttpChannelInitializer.java
new file mode 100644 (file)
index 0000000..5e53505
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2024 PANTHEON.tech s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * 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.netconf.transport.http;
+
+import com.google.common.util.concurrent.ListenableFuture;
+import io.netty.channel.ChannelHandler;
+
+/**
+ * HTTP Channel initializer interface.
+ */
+interface HttpChannelInitializer extends ChannelHandler {
+
+    /**
+     * Returns future indicating channel initialization completion.
+     *
+     * @return listenable future associated with this channel initializer.
+     */
+    ListenableFuture<Void> completeFuture();
+
+}