Uses of Class
com.moxa.mxuportapi.MxException

Uses of MxException in com.moxa.mxuportapi
 

Methods in com.moxa.mxuportapi that throw MxException
 void MxUPort.close()
          Closes the serial port.
 void MxUPort.flush(int mode)
          Flushes any data in the driver's input/output buffer.
 int MxUPort.getBaud()
          Get the serial port baud rate setting.
 MxUPort.FlowCtrl MxUPort.getFlowCtrl()
          Get the serial port's hardware and software flow control settings.
 int MxUPort.getInterface()
          Gets the interface for products that support multiple interface.
 MxUPort.IoctlMode MxUPort.getIoctlMode()
          Gets the serial port's mode settings, such as data bits, parity, and stop bits.
 MxUPort.LineError MxUPort.getLineStatus()
          Checks if errors occurred when receiving data; returns and cleans the error during the transaction.
 MxUPort.ModemStatus MxUPort.getModemStatus()
          Gets the line status, such as CTS, DSR, DCD, or RI.
 int MxUPort.getOQueue()
          Gets the length (in bytes) remaining in the output buffer.
 java.lang.String MxUPort.getPortName()
          Gets the name of the serial port; returns customized friendly name if it is available.
 java.lang.String MxUPort.getUsbDeviceName()
          Gets the device name from the USB descriptor.
 int MxUPort.getUsbReadTimeout()
          Gets the read timeout value for a USB read request.
 int MxUPort.getUsbWriteTimeout()
          Gets the write timeout value for a USB write request.
 boolean MxUPort.hasUsbPermission()
          Indicates whether the parent USB has permission to be accessed.
 void MxUPort.open()
          Opens the serial port.
 int MxUPort.read(byte[] buffer)
          Reads data from the port; returns the data if the buffer is full.
 int MxUPort.read(byte[] buffer, int length)
          Reads data from a port; returns the data if the given length of data has been received.
 int MxUPort.read(byte[] buffer, int length, int timeout)
          Reads data from the port; returns the data if the given length of data has been received.
 void MxUPort.setBaud(int speed)
          Sets the baud rate using the actual speed value.
 void MxUPort.setBreak(int time)
          Sends out a break signal.
 void MxUPort.setDTR(int mode)
          Sets the DTR state for a serial port.
 void MxUPort.setFlowCtrl(MxUPort.FlowCtrl flow)
          Sets the hardware and/or software flow control.
 void MxUPort.setInterface(int intf)
          Sets the interface for products that support multiple interface.
 void MxUPort.setIoctlMode(MxUPort.IoctlMode mode)
          Configures communication parameters, such as baud rate, parity, data bits and stop bits.
 void MxUPort.setPortName(java.lang.String name)
          Sets the port name on the device.
 void MxUPort.setRTS(int mode)
          Sets the RTS state for a serial port.
 void MxUPort.setUsbReadTimeout(int time)
          Sets the read timeout value for a USB read request.
 void MxUPort.setUsbWriteTimeout(int time)
          Sets the write timeout value for a USB write request.
 int MxUPort.write(byte[] buffer)
          Puts a block of data to the driver's output buffer.
 int MxUPort.write(byte[] buffer, int length)
          Puts a block of data to the driver's output buffer.
 int MxUPort.write(byte[] buffer, int length, int timeout)
          Puts a block of data to the driver's output buffer.