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

io.stepfunc.dnp3.CommandTaskCallback Maven / Gradle / Ivy

There is a newer version: 1.6.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/dnp3/blob/master/LICENSE.txt
// 
// Please contact Step Function I/O if you are interested in commercial license:
// 
// [email protected]
package io.stepfunc.dnp3;

import org.joou.*;

/**
 * Handler for command tasks
 */
public interface CommandTaskCallback
{
    /**
     * Invoked when the asynchronous operation completes successfully
     * 
     * @param result Result of the command task
     */
    void onComplete(Nothing result);
    
    /**
     * Invoked when the asynchronous operation fails
     * 
     * @param error Enumeration indicating which error occurred
     */
    void onFailure(CommandError error);
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy