2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.onewire.internal.owserver;
16 * The {@link OwserverConnectionState} defines the state for connections to owservers
18 * @author Jan N. Klug - Initial contribution
21 public enum OwserverConnectionState {
23 * The {@link OwserverConnection} is being torn down (mostly due to dispose of handler).
24 * No refresh, etc. are possible.
28 * The connection is open.
32 * The connection is closed. On next read / write it will be opened.
36 * The connection is erroneous and was closed by the {@link OwserverConnection}. After due wait time, it
37 * is tried to reopen it by a scheduled task of
38 * {@link org.openhab.binding.onewire.internal.handler.OwserverBridgeHandler#reportConnectionState(OwserverConnectionState)}.