com.ionetrics.lib.annotatorcomm.ftd2xx
Enum FTD2XXFlowControl

java.lang.Object
  extended by java.lang.Enum<FTD2XXFlowControl>
      extended by com.ionetrics.lib.annotatorcomm.ftd2xx.FTD2XXFlowControl
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FTD2XXFlowControl>

public enum FTD2XXFlowControl
extends java.lang.Enum<FTD2XXFlowControl>

FTD2XX Flow Control Modes


Enum Constant Summary
FLOW_CONTROL_DTS_DSR
          DTS/DSR Flow Control
FLOW_CONTROL_NONE
          No Flow Control
FLOW_CONTROL_RTS_CTS
          RTS/CTS Flow Control
FLOW_CONTROL_XON_XOFF
          Xon/Xoff Flow Control
 
Method Summary
 int getFlowControl()
          Get the flow control mode.
static FTD2XXFlowControl valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FTD2XXFlowControl[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FLOW_CONTROL_NONE

public static final FTD2XXFlowControl FLOW_CONTROL_NONE
No Flow Control

See Also:
FTD2XX.setFlowControl(FTD2XXFlowControl)

FLOW_CONTROL_RTS_CTS

public static final FTD2XXFlowControl FLOW_CONTROL_RTS_CTS
RTS/CTS Flow Control

See Also:
FTD2XX.setFlowControl(FTD2XXFlowControl)

FLOW_CONTROL_DTS_DSR

public static final FTD2XXFlowControl FLOW_CONTROL_DTS_DSR
DTS/DSR Flow Control

See Also:
FTD2XX.setFlowControl(FTD2XXFlowControl)

FLOW_CONTROL_XON_XOFF

public static final FTD2XXFlowControl FLOW_CONTROL_XON_XOFF
Xon/Xoff Flow Control

See Also:
FTD2XX.setFlowControl(FTD2XXFlowControl, char, char)
Method Detail

values

public static final FTD2XXFlowControl[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(FTD2XXFlowControl c : FTD2XXFlowControl.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static FTD2XXFlowControl valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getFlowControl

public int getFlowControl()
Get the flow control mode.

Returns:
flow control mode


Copyright © 2006 Ionetrics Corp. All Rights Reserved.