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

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

/**
 * Callback methods received from asynchronous write operations
 */
public interface WriteCallback
{
    /**
     * Invoked when the asynchronous operation completes successfully
     * 
     * @param result response
     */
    void onComplete(Nothing result);
    /**
     * Invoked when the asynchronous operation fails
     * 
     * @param error Enumeration indicating which error occurred
     */
    void onFailure(RequestError error);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy