Switch netconf-server to transport-api
[netconf.git] / protocol / netconf-server / src / main / java / org / opendaylight / netconf / server / api / NetconfServerDispatcher.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.netconf.server.api;
9
10 import io.netty.channel.ChannelFuture;
11 import io.netty.channel.local.LocalAddress;
12 import java.net.InetSocketAddress;
13
14 /**
15  * Basic interface for Netconf server dispatcher.
16  * @deprecated Due to design change. Use {@link NetconfServerFactory} to instantiate Netconf server.
17  */
18 @Deprecated(since = "7.0.0", forRemoval = true)
19 public interface NetconfServerDispatcher {
20
21     ChannelFuture createServer(InetSocketAddress address);
22
23     ChannelFuture createLocalServer(LocalAddress address);
24 }