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

io.stepfunc.rodbus.Authorization 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.*;

/**
 * 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy