All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.stepfunc.rodbus.ClientState Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
// This library is provided under the terms of a non-commercial license.
// 
// Please refer to the source repository for details:
// 
// https://github.com/stepfunc/rodbus/blob/master/LICENSE.txt
// 
// Please contact Step Function I/O if you are interested in commercial license:
// 
// [email protected]
package io.stepfunc.rodbus;

import org.joou.*;

/**
 * State of the client connection.
 * 
 * 

Used by the {@link ClientStateListener}.

*/ public enum ClientState { /** * Client is disabled and idle until enabled */ DISABLED(0), /** * Client is trying to establish a connection to the remote device */ CONNECTING(1), /** * Client is connected to the remote device */ CONNECTED(2), /** * Failed to establish a connection, waiting before retrying */ WAIT_AFTER_FAILED_CONNECT(3), /** * Client was disconnected, waiting before retrying */ WAIT_AFTER_DISCONNECT(4), /** * Client is shutting down */ SHUTDOWN(5),; final private int value; private ClientState(int value) { this.value = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy