2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.openflowplugin.impl.connection;
10 import java.util.concurrent.ThreadPoolExecutor;
12 import org.opendaylight.openflowplugin.api.openflow.connection.HandshakeContext;
13 import org.opendaylight.openflowplugin.api.openflow.md.core.HandshakeManager;
18 public class HandshakeContextImpl implements HandshakeContext {
20 private ThreadPoolExecutor handshakePool;
21 private HandshakeManager handshakeManager;
24 * @param handshakePool
25 * @param handshakeManager
27 public HandshakeContextImpl(ThreadPoolExecutor handshakePool, HandshakeManager handshakeManager) {
28 this.handshakePool = handshakePool;
29 this.handshakeManager = handshakeManager;
33 public HandshakeManager getHandshakeManager() {
34 return handshakeManager;
38 public ThreadPoolExecutor getHandshakePool() {