com.esf.device.serial.comm.service
Class Parity

java.lang.Object
  extended bycom.esf.device.serial.comm.service.Parity

public class Parity
extends java.lang.Object

This static class provides the available parity settings.

Parity settings listed in this class are used for parameter checking in all methods where the parity may be modified. Not all devices support all 5 parity settings, all acscomm devices do; for other devices refer to the OS documentation for the device driver.

Author:
matt.demaree

Field Summary
static int Clear
          Parity bit is present and always clear.
static int Even
          Parity set to even parity.
static int None
          Parity = no parity applied.
static int Odd
          Parity set to odd parity.
static int Set
          Parity bit is present and always set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

None

public static final int None
Parity = no parity applied.

See Also:
Constant Field Values

Even

public static final int Even
Parity set to even parity.

See Also:
Constant Field Values

Odd

public static final int Odd
Parity set to odd parity.

See Also:
Constant Field Values

Set

public static final int Set
Parity bit is present and always set. This mode is not supported by all hardware devices.

See Also:
Constant Field Values

Clear

public static final int Clear
Parity bit is present and always clear. This mode is not supported by all hardware device.

See Also:
Constant Field Values


Copyright © 2009 Eurotech Inc. All rights reserved.