
package uk.co.wingpath.modbus;

import java.io.*;

/**
* Interface used by {@link ModbusMaster} for notifiying that a Modbus command
* has finished.
*/
public interface ModbusWaiter
{
    /**
    * Called when a Modbus command has finished.
    * @param exception null if the command succeeded, otherwise an exception
    * describing the cause of the failure.
    */
    public void inform (ModbusException exception);
}

