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.ExecutorService;
11 import org.opendaylight.openflowplugin.api.openflow.connection.HandshakeContext;
12 import org.opendaylight.openflowplugin.api.openflow.md.core.HandshakeManager;
14 public class HandshakeContextImpl implements HandshakeContext {
15 private ExecutorService handshakePool;
16 private HandshakeManager handshakeManager;
21 * @param handshakePool - pool
22 * @param handshakeManager - manager
24 public HandshakeContextImpl(ExecutorService handshakePool, HandshakeManager handshakeManager) {
25 this.handshakePool = handshakePool;
26 this.handshakeManager = handshakeManager;
30 public HandshakeManager getHandshakeManager() {
31 return handshakeManager;
35 public ExecutorService getHandshakePool() {