2 * Copyright (c) 2013 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
9 package org.opendaylight.openflowplugin.openflow.md.core;
19 public interface ConnectionConductor {
21 /** distinguished connection states */
22 public enum CONDUCTOR_STATE {
23 /** initial phase of talking to switch */
25 /** standard phase - interacting with switch */
27 /** connection is idle, waiting for echo reply from switch */
29 /** talking to switch is over - resting in pieces */
34 * initialize wiring around {@link #connectionAdapter}
39 * @return the negotiated version
41 public Short getVersion();
44 * @return the state of conductor
46 public CONDUCTOR_STATE getConductorState();
49 * @param conductorState
51 public void setConductorState(CONDUCTOR_STATE conductorState);