io.stepfunc.rodbus.Authorization Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rodbus Show documentation
Show all versions of rodbus Show documentation
Safe and fast Modbus library
// 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.*;
/**
* Authorization result used by {@link AuthorizationHandler}
*/
public enum Authorization
{
/**
* Client is authorized to perform the operation
*/
ALLOW(0),
/**
* Client is NOT authorized to perform the operation
*/
DENY(1),;
final private int value;
private Authorization(int value)
{
this.value = value;
}
}