|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.dalsemi.comm.TINICommDriver
This class, part of the loadable device driver interface, is used by
javax.comm
and should not be used by application-level
programs.
Constructor Summary | |
TINICommDriver()
|
Method Summary | |
javax.comm.CommPort |
getCommPort(java.lang.String name,
int type)
getCommPort() will be called by CommPortIdentifier
from its open() method. |
void |
initialize()
initialize() will be called by the CommPortIdentifier's static initializer. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TINICommDriver()
Method Detail |
public void initialize()
public javax.comm.CommPort getCommPort(java.lang.String name, int type)
getCommPort()
will be called by CommPortIdentifier
from its open()
method. portName
is a string that was
registered earlier using the CommPortIdentifier.addPortName()
method. getCommPort()
returns an object that extends either
SerialPort or ParallelPort.name
- a port nametype
- a port type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |