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;
11 import org.opendaylight.openflowplugin.api.openflow.connection.HandshakeContext;
12 import org.opendaylight.openflowplugin.api.openflow.md.core.HandshakeManager;
17 public class HandshakeContextImpl implements HandshakeContext {
18 private ThreadPoolExecutor handshakePool;
19 private HandshakeManager handshakeManager;
22 * @param handshakePool
23 * @param handshakeManager
25 public HandshakeContextImpl(ThreadPoolExecutor handshakePool, HandshakeManager handshakeManager) {
26 this.handshakePool = handshakePool;
27 this.handshakeManager = handshakeManager;
31 public HandshakeManager getHandshakeManager() {
32 return handshakeManager;
36 public ThreadPoolExecutor getHandshakePool() {