|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommDriver
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 registers the port names with the CommPortIdentifier. |
Method Detail |
---|
CommPortInterface getCommPort(java.lang.String portName, int portType)
CommPortIdentifier.open
.
portName
- a string registered earlier using
CommPortIdentifier.addPortName
portType
- the port type
void initialize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |