Merge "Fix issues related to checkstyle enforcement"
[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.ExecutorService;
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      * Getter.
20      * @return handshakeManager
21      */
22     HandshakeManager getHandshakeManager();
23
24     /**
25      * Getter.
26      * @return handshake pool
27      */
28     ExecutorService getHandshakePool();
29
30     @Override
31     void close();
32 }