Products Applications Support Partners News About Digi Where to Buy
   
 
 
Products

device servers
terminal servers
console management
USB
async
 
 
Class portio.EtherLiteDriver

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class portio.EtherLiteDriver

java.lang.Object
   |
   +----portio.PortDriver
           |
           +----portio.EtherLiteDriver

public class EtherLiteDriver
extends PortDriver
implements Runnable
This implements a serial/parallel driver for Our EtherLite(R) devices. This class must be instantiated before any EtherLite Port objects can be created.
Version:
$Revision: 2.1 $ ($Date: 1997/02/19 18:00:00 $)

Constructor Index

 o EtherLiteDriver(String)
This creates a new instance of a port driver with default options (no messages).
 o EtherLiteDriver(String, int)
This creates a new instance of a PortDriver with specified options.

Method Index

 o run()
The receive thread; manages all response processing from the EtherLite device.

Constructors

 o EtherLiteDriver
  public EtherLiteDriver(String hostName,
                         int options) throws PortIOException
This creates a new instance of a PortDriver with specified options. Any given copy of Java(TM) should have only one instance of a port driver per physical EtherLite device, so this class refuses to instantiate duplicate copies for a given device. Also, since EtherLite devices are not generally designed to be talked to by a large number of entities (typically just one or two hosts), multiple copies of Java running multiple copies of the EtherLiteDriver talking to a particular EtherLite device may run into a limitation at that device as to how many sockets it can have open. Currently, there is a 6 socket/device limit for most devices. Thus, if you want to talk to larger numbers of ports, it would be a good idea to do so from a common Java process if possible.
Parameters:
hostName - host name for device
options - lowest three bits set messageLevel defined in PortDriver
Throws: PortIOException
if communication with device not possible
 o EtherLiteDriver
  public EtherLiteDriver(String hostName) throws PortIOException
This creates a new instance of a port driver with default options (no messages).
Parameters:
hostName - host name for device
Throws: PortIOException
if communication with device not possible

Methods

 o run
  public void run()
The receive thread; manages all response processing from the EtherLite device.

All Packages  Class Hierarchy  This Package  Previous  Next  Index

products | applications | support | partners | news | about Digi | where to buy | contact us | site map

Copyright © 1996-2002 Digi International. All rights reserved.



Contact Us Site Map Product Selector Digi Homepage