Move NetconfServerDispatcher to netconf.server.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 public interface NetconfServerDispatcher {
15
16     ChannelFuture createServer(InetSocketAddress address);
17
18     ChannelFuture createLocalServer(LocalAddress address);
19 }