|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommDriver
This interface is used internally by loadable device drivers, and should not be used by application-level programs.
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 |
---|
void initialize()
CommPortInterface getCommPort(java.lang.String portName, int portType)
CommPortIdentifier.open
.
portName
- a string registered earlier using
CommPortIdentifier.addPortName
portType
- the port type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |