Package gnu.io

Class CommPort

  • Direct Known Subclasses:
    SerialPort

    public abstract class CommPort
    extends java.lang.Object
    CommPort
    • Field Detail

      • name

        protected java.lang.String name
    • Constructor Detail

      • CommPort

        public CommPort()
    • Method Detail

      • disableReceiveFraming

        public abstract void disableReceiveFraming()
      • isReceiveFramingEnabled

        public abstract boolean isReceiveFramingEnabled()
      • getReceiveFramingByte

        public abstract int getReceiveFramingByte()
      • disableReceiveTimeout

        public abstract void disableReceiveTimeout()
      • isReceiveTimeoutEnabled

        public abstract boolean isReceiveTimeoutEnabled()
      • getReceiveTimeout

        public abstract int getReceiveTimeout()
      • disableReceiveThreshold

        public abstract void disableReceiveThreshold()
      • getReceiveThreshold

        public abstract int getReceiveThreshold()
      • isReceiveThresholdEnabled

        public abstract boolean isReceiveThresholdEnabled()
      • setInputBufferSize

        public abstract void setInputBufferSize​(int size)
      • getInputBufferSize

        public abstract int getInputBufferSize()
      • setOutputBufferSize

        public abstract void setOutputBufferSize​(int size)
      • getOutputBufferSize

        public abstract int getOutputBufferSize()
      • close

        public void close()
      • getInputStream

        public abstract java.io.InputStream getInputStream()
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getOutputStream

        public abstract java.io.OutputStream getOutputStream()
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object