|
comm API Version 2.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of CommPort in javax.comm |
Subclasses of CommPort in javax.comm | |
class |
ParallelPort
A parallel communications port. |
class |
SerialPort
An RS-232 serial communications port. |
Methods in javax.comm that return CommPort | |
CommPort |
CommDriver.getCommPort(String portName,
int portType)
getCommPort() will be called by the CommPortIdentifier.open(java.lang.String, int)
method. portName is a string that was registered earlier using the
CommPortIdentifier.addPortName(java.lang.String, int, javax.comm.CommDriver) method. |
CommPort |
CommPortIdentifier.open(String appname,
int timeout)
Opens the communications port. |
CommPort |
CommPortIdentifier.open(FileDescriptor fd)
Opens the communications port using a FileDescriptor
object on platforms that support this technique. |
Methods in javax.comm with parameters of type CommPort | |
static CommPortIdentifier |
CommPortIdentifier.getPortIdentifier(CommPort port)
Obtains the CommPortIdentifier object corresponding
to a port that has already been opened by the application. |
|
comm API Version 2.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |