comm
Interface CommDriver


public interface CommDriver

This interface is used internally by loadable device drivers, and should not be used by application-level programs.

Version:
2.0.3
Author:
Chris Burdess

Method Summary
 CommPortInterface getCommPort(java.lang.String portName, int portType)
          This method will be called on CommPortIdentifier.open.
 void initialize()
          This method ensures that the hardware is present, loads any native libraries, and register the port names with the CommPortIdentifier.
 

Method Detail

initialize

void initialize()
This method ensures that the hardware is present, loads any native libraries, and register the port names with the CommPortIdentifier.


getCommPort

CommPortInterface getCommPort(java.lang.String portName,
                              int portType)
This method will be called on CommPortIdentifier.open.

Parameters:
portName - a string registered earlier using CommPortIdentifier.addPortName
portType - the port type