Klasse WinBase.DCB.DCBControllBits

Alle implementierten Schnittstellen:
NativeMapped, Serializable, Comparable<WinDef.DWORD>
Umschließende Klasse:
WinBase.DCB

public static class WinBase.DCB.DCBControllBits extends WinDef.DWORD
Type is used to handle the bitfield of the DBC structure.
Siehe auch:
  • Feldübersicht

    Von Klasse geerbte Felder com.sun.jna.platform.win32.WinDef.DWORD

    SIZE
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
     
    boolean
     
    boolean
     
    int
     
    int
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    int
     
    boolean
     
    void
    setfAbortOnError(boolean fAbortOnError)
    If this member is TRUE, the driver terminates all read and write operations with an error status if an error occurs.
    The driver will not accept any further communications operations until the application has acknowledged the error by calling the ClearCommError function.
    void
    setfBinary(boolean fBinary)
    If this member is TRUE, binary mode is enabled.
    Windows does not support nonbinary mode transfers, so this member must be TRUE.
    void
    setfDsrSensitivity(boolean fDsrSensitivity)
    If this member is TRUE, the communications driver is sensitive to the state of the DSR signal.
    The driver ignores any bytes received, unless the DSR modem input line is high.
    void
    setfDtrControl(int fOutxDsrFlow)
    The DTR (data-terminal-ready) flow control.
    void
    setfErrorChar(boolean fErrorChar)
    Indicates whether bytes received with parity errors are replaced with the character specified by the ErrorChar member.
    If this member is TRUE and the fParity member is TRUE, replacement occurs.
    void
    setfInX(boolean fInX)
    Indicates whether XON/XOFF flow control is used during reception.
    If this member is TRUE, the XoffChar character is sent when the input buffer comes within XoffLim bytes of being full, and the XonChar character is sent when the input buffer comes within XonLim bytes of being empty.
    void
    setfNull(boolean fNull)
    If this member is TRUE, null bytes are discarded when received.
    void
    setfOutX(boolean fOutX)
    Indicates whether XON/XOFF flow control is used during transmission.
    void
    setfOutxCtsFlow(boolean fOutxCtsFlow)
    If this member is TRUE, the CTS (clear-to-send) signal is monitored for output flow control.
    If this member is TRUE and CTS is turned off, output is suspended until CTS is sent again.
    void
    setfOutxDsrFlow(boolean fOutxDsrFlow)
    If this member is TRUE, the DSR (data-set-ready) signal is monitored for output flow control.
    If this member is TRUE and DSR is turned off, output is suspended until DSR is sent again.
    void
    setfParity(boolean fParity)
    If this member is TRUE, parity checking is performed and errors are reported.
    void
    setfRtsControl(int fRtsControl)
    The RTS (request-to-send) flow control.
    void
    setfTXContinueOnXoff(boolean fTXContinueOnXoff)
    If this member is TRUE, transmission continues after the input buffer has come within XoffLim bytes of being full and the driver has transmitted the XoffChar character to stop receiving bytes.
    If this member is FALSE, transmission does not continue until the input buffer is within XonLim bytes of being empty and the driver has transmitted the XonChar character to resume reception.
     

    Von Klasse geerbte Methoden com.sun.jna.platform.win32.WinDef.DWORD

    compareTo, getHigh, getLow

    Von Klasse geerbte Methoden java.lang.Number

    byteValue, shortValue

    Von Klasse geerbte Methoden java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Konstruktordetails

    • DCBControllBits

      public DCBControllBits()
  • Methodendetails

    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse IntegerType
    • getfAbortOnError

      public boolean getfAbortOnError()
    • getfBinary

      public boolean getfBinary()
    • getfDsrSensitivity

      public boolean getfDsrSensitivity()
    • getfDtrControl

      public int getfDtrControl()
    • getfErrorChar

      public boolean getfErrorChar()
    • getfInX

      public boolean getfInX()
    • getfNull

      public boolean getfNull()
    • getfOutX

      public boolean getfOutX()
    • getfOutxCtsFlow

      public boolean getfOutxCtsFlow()
    • getfOutxDsrFlow

      public boolean getfOutxDsrFlow()
    • getfParity

      public boolean getfParity()
    • getfRtsControl

      public int getfRtsControl()
    • getfDummy2

      public int getfDummy2()
    • getfTXContinueOnXoff

      public boolean getfTXContinueOnXoff()
    • setfAbortOnError

      public void setfAbortOnError(boolean fAbortOnError)
      If this member is TRUE, the driver terminates all read and write operations with an error status if an error occurs.
      The driver will not accept any further communications operations until the application has acknowledged the error by calling the ClearCommError function.
      Parameter:
      fAbortOnError -
    • setfBinary

      public void setfBinary(boolean fBinary)
      If this member is TRUE, binary mode is enabled.
      Windows does not support nonbinary mode transfers, so this member must be TRUE.
      Parameter:
      fBinary -
    • setfDsrSensitivity

      public void setfDsrSensitivity(boolean fDsrSensitivity)
      If this member is TRUE, the communications driver is sensitive to the state of the DSR signal.
      The driver ignores any bytes received, unless the DSR modem input line is high.
      Parameter:
      fDsrSensitivity -
    • setfDtrControl

      public void setfDtrControl(int fOutxDsrFlow)
      The DTR (data-terminal-ready) flow control. This member can be one of the following values.
    • WinBase.DTR_CONTROL_DISABLE
    • WinBase.DTR_CONTROL_ENABLE
    • WinBase.DTR_CONTROL_HANDSHAKE
    • Parameter:
      fOutxDsrFlow - value to set
    • setfErrorChar

      public void setfErrorChar(boolean fErrorChar)
      Indicates whether bytes received with parity errors are replaced with the character specified by the ErrorChar member.
      If this member is TRUE and the fParity member is TRUE, replacement occurs.
      Parameter:
      fErrorChar -
    • setfInX

      public void setfInX(boolean fInX)
      Indicates whether XON/XOFF flow control is used during reception.
      If this member is TRUE, the XoffChar character is sent when the input buffer comes within XoffLim bytes of being full, and the XonChar character is sent when the input buffer comes within XonLim bytes of being empty.
      Parameter:
      fInX -
    • setfNull

      public void setfNull(boolean fNull)
      If this member is TRUE, null bytes are discarded when received.
      Parameter:
      fNull -
    • setfOutX

      public void setfOutX(boolean fOutX)
      Indicates whether XON/XOFF flow control is used during transmission.
      If this member is TRUE, transmission stops when the XoffChar character is received and starts again when the XonChar character is received.
      Parameter:
      fOutX -
    • setfOutxCtsFlow

      public void setfOutxCtsFlow(boolean fOutxCtsFlow)
      If this member is TRUE, the CTS (clear-to-send) signal is monitored for output flow control.
      If this member is TRUE and CTS is turned off, output is suspended until CTS is sent again.
      Parameter:
      fOutxCtsFlow -
    • setfOutxDsrFlow

      public void setfOutxDsrFlow(boolean fOutxDsrFlow)
      If this member is TRUE, the DSR (data-set-ready) signal is monitored for output flow control.
      If this member is TRUE and DSR is turned off, output is suspended until DSR is sent again.
      Parameter:
      fOutxDsrFlow -
    • setfParity

      public void setfParity(boolean fParity)
      If this member is TRUE, parity checking is performed and errors are reported.
      Parameter:
      fParity -
    • setfRtsControl

      public void setfRtsControl(int fRtsControl)
      The RTS (request-to-send) flow control. This member can be one of the following values.
    • WinBase.RTS_CONTROL_DISABLE
    • WinBase.RTS_CONTROL_ENABLE
    • WinBase.RTS_CONTROL_HANDSHAKE
    • WinBase.RTS_CONTROL_TOGGLE
    • Parameter:
      fRtsControl -
    • setfTXContinueOnXoff

      public void setfTXContinueOnXoff(boolean fTXContinueOnXoff)
      If this member is TRUE, transmission continues after the input buffer has come within XoffLim bytes of being full and the driver has transmitted the XoffChar character to stop receiving bytes.
      If this member is FALSE, transmission does not continue until the input buffer is within XonLim bytes of being empty and the driver has transmitted the XonChar character to resume reception.
      Parameter:
      fTXContinueOnXoff -