public class PortOwner extends OpenCommPort
BAUD, BITS_PER_SECOND_LIST, FLOWCONTROL_HARDWARE, FLOWCONTROL_NONE, FLOWCONTROL_XONXOFF, SERIALPORT_OPEN_TIMEOUTSECONDS
Constructor and Description |
---|
PortOwner(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
converse()
This method will be overridden by non-trivial subclasses
to hold a conversation.
|
static void |
main(java.lang.String[] argv) |
getCommPortName
public PortOwner(java.lang.String name) throws java.io.IOException, gnu.io.NoSuchPortException, gnu.io.PortInUseException, gnu.io.UnsupportedCommOperationException
java.io.IOException
gnu.io.NoSuchPortException
gnu.io.PortInUseException
gnu.io.UnsupportedCommOperationException
public void converse()
OpenCommPort
public static void main(java.lang.String[] argv) throws java.io.IOException, gnu.io.NoSuchPortException, gnu.io.PortInUseException, gnu.io.UnsupportedCommOperationException
java.io.IOException
gnu.io.NoSuchPortException
gnu.io.PortInUseException
gnu.io.UnsupportedCommOperationException