Class AsyncModbusFailure<R>


  • @NonNullByDefault
    public class AsyncModbusFailure<R>
    extends Object
    Encapsulates result of modbus read operations
    Author:
    Nagy Attila Gabor - Initial contribution
    • Constructor Detail

      • AsyncModbusFailure

        public AsyncModbusFailure​(R request,
                                  Exception cause)
    • Method Detail

      • getRequest

        public R getRequest()
        Get request matching this response
        Returns:
        request object
      • getCause

        public Exception getCause()
        Get cause of error
        Returns:
        exception representing error