Merge "BUG-6118: making the OFentityListener aware of the InJeopardy() flag"
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / connection / HandshakeContext.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.openflowplugin.api.openflow.connection;
9
10 import java.util.concurrent.ThreadPoolExecutor;
11 import org.opendaylight.openflowplugin.api.openflow.md.core.HandshakeManager;
12
13 /**
14  * OF handshake context holder
15  */
16 public interface HandshakeContext extends AutoCloseable {
17
18     /**
19      * @return handshakeManager
20      */
21     HandshakeManager getHandshakeManager();
22
23     /**
24      * @return handshake pool
25      */
26     ThreadPoolExecutor getHandshakePool();
27
28     @Override
29     void close();
30 }