Class portio.ParallelPort
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class portio.ParallelPort

java.lang.Object
   |
   +----portio.Port
           |
           +----portio.ParallelPort

public class ParallelPort
extends Port
This class provides basic parallel port functionality using an associated PortDriver and PortPrivate object to implement the actual hardware interface.
Version:
$Revision: 2.1 $ ($Date: 1997/02/19 18:00:00 $)

Constructor Index

 o ParallelPort(PortDriver, int)
Creates a new parallel port.

Constructors

 o ParallelPort
  public ParallelPort(PortDriver driver,
                      int number) throws PortIOException
Creates a new parallel port. A prior call to PortDriver.getDriverInfo can be used to determine how many parallel ports are available.
Parameters:
driver - PortDriver providing the hardware interface
number - number of the parallel port to open (zero is first)
Throws: PortIOException
if problems occurred during open processing
See Also:
PortDriver

All Packages  Class Hierarchy  This Package  Previous  Next  Index