Index of all Fields and Methods
All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

ALL. Static variable in class portio.PortDriver
Options of ALL means the PortDriver will display everything imaginable.

C

carrierSense. Variable in class portio.SerialPortParams
causes eof (-1) to be returned on reads and writes upon loss of carrier (DCD)
charSize. Variable in class portio.SerialPortParams
Character size; typically 5, 6, 7, or 8 bits/character.
clone(). Method in class portio.ParallelPortStatus
Clones this port status object.
clone(). Method in class portio.PortDriverInfo
Clones this PortDriverInfo object
clone(). Method in class portio.SerialPortParams
Clones the port params object.
clone(). Method in class portio.SerialPortStatus
Clones the port status object
close(). Method in class portio.Port
Disables the port and makes it available for someone else to use.
CTS. Variable in class portio.SerialPortStatus
CTS (incoming--read only)

D

DCD. Variable in class portio.SerialPortStatus
DCD (incoming--read only)
DEV. Static variable in class portio.PortDriver
Options of DEV means the PortDriver will display minimal device-related messages.
DEVALL. Static variable in class portio.PortDriver
Options of DEVALL means the PortDriver will display all device-related messages.
deviceId. Variable in class portio.PortDriverInfo
The manufacturer's name for the device
deviceRev. Variable in class portio.PortDriverInfo
The firmware revision of the device
driverRev. Variable in class portio.PortDriverInfo
Version information about the PortDriver itself
DSR. Variable in class portio.SerialPortStatus
DSR (incoming--read only)
DTR. Variable in class portio.SerialPortStatus
DTR (outgoing--write only)

E

error. Variable in class portio.ParallelPortStatus
Error condition
EtherLiteDriver(String). Constructor for class portio.EtherLiteDriver
This creates a new instance of a port driver with default options (no messages).
EtherLiteDriver(String, int). Constructor for class portio.EtherLiteDriver
This creates a new instance of a PortDriver with specified options.
exceptionOnBreak. Variable in class portio.SerialPortParams
This causes an exception to be generated on reads if a break condition is received.
exceptionOnFramingError. Variable in class portio.SerialPortParams
This causes an exception to be thrown on reads if a framing error is encountered.
exceptionOnOverrunError. Variable in class portio.SerialPortParams
This causes an exception to be thrown on reads if an overrun error is encountered.
exceptionOnParityError. Variable in class portio.SerialPortParams
This causes an exception to be thrown on reads if a parity error is encountered.

F

FLOW_IN_DTR. Static variable in class portio.SerialPortParams
input hardware flow control mode, uses DTR to pace input (used by some printers but optionally supported--make a special cable to route RTS on the port to DTR on such printers when not supported)
FLOW_IN_RTS. Static variable in class portio.SerialPortParams
input hardware flow control mode, uses RTS to pace input (most common)
FLOW_IXANY. Static variable in class portio.SerialPortParams
IXANY output mode (any character restarts stopped output)
FLOW_NONE. Static variable in class portio.SerialPortParams
no flow control mode
FLOW_OUT_CTS. Static variable in class portio.SerialPortParams
output hardware flow control mode, uses CTS to pace output (most common)
FLOW_OUT_DCD. Static variable in class portio.SerialPortParams
output hardware flow control mode, uses DCD to pace output (optional)
FLOW_OUT_DSR. Static variable in class portio.SerialPortParams
output hardware flow control mode, uses DSR to pace output (optional)
FLOW_SOFTWARE. Static variable in class portio.SerialPortParams
software flow control mode
flowStart. Variable in class portio.SerialPortParams
software flow control start character
flowStop. Variable in class portio.SerialPortParams
software flow control stop character
framing. Variable in class portio.SerialPortParams
Framing bits, typically 1, 1.5, and 2 are legal values.

G

getDriverInfo(). Method in class portio.PortDriver
Returns an object describing the ports supported by the particular instance of the driver.
getInputStream(). Method in class portio.Port
Returns an input stream for the port.
getOutputStream(). Method in class portio.Port
Returns an output stream for the port.
getParams(). Method in class portio.SerialPort
Gets params (baud rate, character size, flow control, etc) for the port.
getStatus(boolean). Method in class portio.Port
Gets the state of the port.

I

inBaud. Variable in class portio.SerialPortParams
Input baud rate
inFlowControl. Variable in class portio.SerialPortParams
input flow control mode (mode values can be OR'd together)

L

loopback. Variable in class portio.SerialPortParams
optionally implemented, sets hardware loopback for testing

M

manufacturer. Variable in class portio.PortDriverInfo
The manufacturer of the device

N

NONE. Static variable in class portio.PortDriver
Options of NONE means the PortDriver will display no messages for any reason.

O

outBaud. Variable in class portio.SerialPortParams
Output baud rate
outFlowControl. Variable in class portio.SerialPortParams
output flow control mode (mode values can be OR'd together)

P

paperEmpty. Variable in class portio.ParallelPortStatus
Paper out
parallelCount. Variable in class portio.PortDriverInfo
The number of parallel ports provided by this PortDriver
ParallelPort(PortDriver, int). Constructor for class portio.ParallelPort
Creates a new parallel port.
ParallelPortStatus(). Constructor for class portio.ParallelPortStatus
Creates a new status object with all fields false.
parity. Variable in class portio.SerialPortParams
Parity bit code
PARITY_EVEN. Static variable in class portio.SerialPortParams
even parity
PARITY_MARK. Static variable in class portio.SerialPortParams
mark parity
PARITY_NONE. Static variable in class portio.SerialPortParams
no parity
PARITY_ODD. Static variable in class portio.SerialPortParams
odd parity
PARITY_SPACE. Static variable in class portio.SerialPortParams
space parity
PORT. Static variable in class portio.PortDriver
Options of PORT means the PortDriver will display all device-related and minimal port-related messages.
PORTALL. Static variable in class portio.PortDriver
Options of PORTALL means the PortDriver will display all device-related and port-related messages.
PortDriver(). Constructor for class portio.PortDriver
PortDriverInfo(). Constructor for class portio.PortDriverInfo
PortIOException(). Constructor for class portio.PortIOException
Constructs an IOException with no detail message.
PortIOException(String). Constructor for class portio.PortIOException
Constructs an IOException with the specified detail message.
PortPrivate(). Constructor for class portio.PortPrivate
purge(boolean, boolean). Method in class portio.Port
Dumps any buffered data on the input or output streams of the port.

R

receiveEnable. Variable in class portio.SerialPortParams
optionally implemented, enables/disable receiver at hardware level
RTS. Variable in class portio.SerialPortStatus
RTS (outgoing--write only)
run(). Method in class portio.EtherLiteDriver
The receive thread; manages all response processing from the EtherLite device.
run(). Method in class portio.TemplatePortDriver
The receive thread; manages incoming data from the device.

S

select. Variable in class portio.ParallelPortStatus
Printer selected
sendBreak(int). Method in class portio.SerialPort
Sends a break at the port.
serialCount. Variable in class portio.PortDriverInfo
The number of serial ports provided by this PortDriver
SerialPort(PortDriver, int). Constructor for class portio.SerialPort
Creates a new serial port.
SerialPortParams(). Constructor for class portio.SerialPortParams
Instantiates a default serial port params object defaulting to 9600, 8, N, 1 with no flow control, receive enabled, and start/stop chars set to the usual Control-S and Control-Q.
SerialPortStatus(). Constructor for class portio.SerialPortStatus
Instantiates a status block with all signals off
setParams(SerialPortParams). Method in class portio.SerialPort
Sets parameters for the port.
setStatus(SerialPortStatus). Method in class portio.SerialPort
Sets serial status lines (modem signals RTS and DTR) for the port.

T

TemplatePortDriver(). Constructor for class portio.TemplatePortDriver
This creates a new instance of a PortDriver with default options (no messages).
TemplatePortDriver(int). Constructor for class portio.TemplatePortDriver
This creates a new instance of a PortDriver with specified options.
toString(). Method in class portio.ParallelPortStatus
Converts the status to a string.
toString(). Method in class portio.PortDriverInfo
Converts the information to a string
toString(). Method in class portio.SerialPortParams
Converts the object to a string.
toString(). Method in class portio.SerialPortStatus
Converts to string