reads a given number of input registers from the slave . note that the number of input registers returned i.e. array length will be according to the number received in the slave response . concode_field_sep WriteSingleRegisterRequest m_WriteSingleRegisterRequest concode_elem_sep ReadInputDiscretesRequest m_ReadInputDiscretesRequest concode_elem_sep WriteMultipleCoilsRequest m_WriteMultipleCoilsRequest concode_elem_sep ReadInputRegistersRequest m_ReadInputRegistersRequest concode_elem_sep WriteCoilRequest m_WriteCoilRequest concode_elem_sep InetAddress m_SlaveAddress concode_elem_sep UDPMasterConnection m_Connection concode_elem_sep ReadMultipleRegistersRequest m_ReadMultipleRegistersRequest concode_elem_sep ModbusUDPTransaction m_Transaction concode_elem_sep WriteMultipleRegistersRequest m_WriteMultipleRegistersRequest concode_elem_sep ReadCoilsRequest m_ReadCoilsRequest concode_field_sep void writeMultipleCoils concode_elem_sep void disconnect concode_elem_sep Register[] readMultipleRegisters concode_elem_sep void writeMultipleRegisters concode_elem_sep BitVector readInputDiscretes concode_elem_sep void writeSingleRegister concode_elem_sep BitVector readCoils concode_elem_sep boolean writeCoil concode_elem_sep void connect
InputRegister [ ] function ( int arg0 , int arg1 ) { m_ReadInputRegistersRequest . setReference ( arg0 ) ; m_ReadInputRegistersRequest . setWordCount ( arg1 ) ; m_Transaction . setRequest ( m_ReadInputRegistersRequest ) ; m_Transaction . execute ( ) ; return ( ( ReadInputRegistersResponse ) m_Transaction . getResponse ( ) ) . getRegisters ( ) ; }