io.stepfunc.dnp3.CommandTaskCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dnp3 Show documentation
Show all versions of dnp3 Show documentation
Safe and fast DNP3 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/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);
}