Class NetDebugReader

    • Method Detail

      • getConnectionListener

        public org.bidib.jbidibc.messages.ConnectionListener getConnectionListener()
        Returns:
        the connectionListener
      • setConnectionListener

        public void setConnectionListener​(org.bidib.jbidibc.messages.ConnectionListener connectionListener)
        Parameters:
        connectionListener - the connectionListener to set
      • open

        public void open​(String portName,
                         int baudRate,
                         org.bidib.jbidibc.messages.ConnectionListener connectionListener,
                         org.bidib.jbidibc.messages.helpers.Context context)
                  throws org.bidib.jbidibc.messages.exception.PortNotFoundException,
                         org.bidib.jbidibc.messages.exception.PortNotOpenedException
        Specified by:
        open in interface DebugInterface
        Throws:
        org.bidib.jbidibc.messages.exception.PortNotFoundException
        org.bidib.jbidibc.messages.exception.PortNotOpenedException
      • send

        public void send​(String message,
                         LineEndingEnum lineEnding)
        Send the bytes of the message to the outputstream and add <CR>+<LF>.
        Specified by:
        send in interface DebugInterface
        Parameters:
        bytes - the bytes to send
      • send

        public void send​(byte[] content)
        Specified by:
        send in interface DebugInterface