4e1d1d121fc321b878dcbc36dc5b17614a91f1d3
[bgpcep.git] / framework / src / main / java / org / opendaylight / protocol / framework / ProtocolConnectionFactory.java
1 /*
2  * Copyright (c) 2013 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.protocol.framework;
9
10 import java.net.InetSocketAddress;
11
12 /**
13  * Factory creating Protocol connections.
14  */
15 public interface ProtocolConnectionFactory {
16
17         /**
18          * Returns new Protocol Connection object. The rest of the attributes are
19          * protocol specific.
20          * @param address to be bind
21          * @return new Protocol Connection.
22          */
23         ProtocolConnection createProtocolConnection(final InetSocketAddress address);
24 }