Bug 5596 - restart devices management improvement
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / connection / ConnectionStatus.java
1 /**
2  * Copyright (c) 2016 Pantheon Technologies s.r.o. 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
9 package org.opendaylight.openflowplugin.api.openflow.connection;
10
11 /**
12  * Define all possible states of connection after handshake
13  */
14 public enum ConnectionStatus {
15
16     // this flag should be return if no connection on this node exists
17     MAY_CONTINUE,
18
19     // this flag should be return if node still connected but not in termination state
20     ALREADY_CONNECTED,
21
22     // this flag should be return if node still connected but already in termination state
23     CLOSING
24 }