gnu.io

Class RS485PortEvent


public class RS485PortEvent
extends EventObject

Since:
JDK1.0

Field Summary

static int
BI
static int
CD
static int
CTS
static int
DATA_AVAILABLE
static int
DSR
static int
FE
static int
OE
static int
OUTPUT_BUFFER_EMPTY
static int
PE
static int
RI

Constructor Summary

RS485PortEvent(RS485Port srcport, int eventtype, boolean oldvalue, boolean newvalue)

Method Summary

int
getEventType()
boolean
getNewValue()
boolean
getOldValue()

Field Details

BI

public static final int BI
Field Value:
10

CD

public static final int CD
Field Value:
6

CTS

public static final int CTS
Field Value:
3

DATA_AVAILABLE

public static final int DATA_AVAILABLE
Field Value:
1

DSR

public static final int DSR
Field Value:
4

FE

public static final int FE
Field Value:
9

OE

public static final int OE
Field Value:
7

OUTPUT_BUFFER_EMPTY

public static final int OUTPUT_BUFFER_EMPTY
Field Value:
2

PE

public static final int PE
Field Value:
8

RI

public static final int RI
Field Value:
5

Constructor Details

RS485PortEvent

public RS485PortEvent(RS485Port srcport,
                      int eventtype,
                      boolean oldvalue,
                      boolean newvalue)

Method Details

getEventType

public int getEventType()

getNewValue

public boolean getNewValue()

getOldValue

public boolean getOldValue()