1.0.0

org.eclipse.soda.dk.comm
Class NSCommDriver

java.lang.Object
  extended by org.eclipse.soda.dk.comm.NSCommDriver
All Implemented Interfaces:
CommDriver

public class NSCommDriver
extends java.lang.Object
implements CommDriver

Version:
1.0.0

Field Summary
(package private)  DeviceList devicelist
          Define the devicelist (DeviceList) field.
 
Constructor Summary
NSCommDriver()
           
 
Method Summary
protected  void addDeviceToList(java.lang.String portName, int portType, java.lang.String deviceName, int semID)
          Add device to list with the specified port name, port type, device name and sem id parameters.
 CommPort getCommPort(java.lang.String portName, int portType)
          Get comm port with the specified port name and port type parameters and return the CommPort result.
(package private)  DeviceListEntry getFirstDLE()
          Gets the first dle (DeviceListEntry) value.
(package private)  DeviceListEntry getNextDLE(DeviceListEntry dle)
          Get next dle with the specified dle parameter and return the DeviceListEntry result.
 void initialize()
          Initialize.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

devicelist

DeviceList devicelist
Define the devicelist (DeviceList) field.

Constructor Detail

NSCommDriver

public NSCommDriver()
Method Detail

addDeviceToList

protected void addDeviceToList(java.lang.String portName,
                               int portType,
                               java.lang.String deviceName,
                               int semID)
Add device to list with the specified port name, port type, device name and sem id parameters.

Parameters:
portName - The port name (String) parameter.
portType - The port type (int) parameter.
deviceName - The device name (String) parameter.
semID - The sem id (int) parameter.

getCommPort

public CommPort getCommPort(java.lang.String portName,
                            int portType)
Get comm port with the specified port name and port type parameters and return the CommPort result.

Specified by:
getCommPort in interface CommDriver
Parameters:
portName - The port name (String) parameter.
portType - The port type (int) parameter.
Returns:
Results of the get comm port (CommPort) value.

getFirstDLE

DeviceListEntry getFirstDLE()
Gets the first dle (DeviceListEntry) value.

Returns:
The first dle (DeviceListEntry) value.

getNextDLE

DeviceListEntry getNextDLE(DeviceListEntry dle)
Get next dle with the specified dle parameter and return the DeviceListEntry result.

Parameters:
dle - The dle (DeviceListEntry) parameter.
Returns:
Results of the get next dle (DeviceListEntry) value.

initialize

public void initialize()
Initialize.

Specified by:
initialize in interface CommDriver

1.0.0

Copyright (c) 1999, 2007 IBM