portcomms
Class SerialPortCommsStepLock
java.lang.Object
portcomms.OpenCommPort
portcomms.CommPortModem
portcomms.SerialPortCommsStepLock
public class SerialPortCommsStepLock
- extends CommPortModem
Dial a phone using the Java Communications Package.
| Fields inherited from class portcomms.OpenCommPort |
BAUD, BITS_PER_SECOND_LIST, commPortID, FLOWCONTROL_HARDWARE, FLOWCONTROL_NONE, FLOWCONTROL_XONXOFF, inputStream, outputStream, parent, response, SERIALPORT_OPEN_TIMEOUTSECONDS, thePort |
|
Method Summary |
protected void |
converse()
This method will be overridden by non-trivial subclasses
to hold a conversation. |
static void |
main(java.lang.String[] ap)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialPortCommsStepLock
public SerialPortCommsStepLock()
throws java.io.IOException,
gnu.io.NoSuchPortException,
gnu.io.PortInUseException,
gnu.io.UnsupportedCommOperationException
- Throws:
java.io.IOException
gnu.io.NoSuchPortException
gnu.io.PortInUseException
gnu.io.UnsupportedCommOperationException
SerialPortCommsStepLock
public SerialPortCommsStepLock(java.lang.String portName)
throws java.io.IOException,
gnu.io.NoSuchPortException,
gnu.io.PortInUseException,
gnu.io.UnsupportedCommOperationException
- Throws:
java.io.IOException
gnu.io.NoSuchPortException
gnu.io.PortInUseException
gnu.io.UnsupportedCommOperationException
converse
protected void converse()
throws java.io.IOException
- Description copied from class:
OpenCommPort
- This method will be overridden by non-trivial subclasses
to hold a conversation.
- Overrides:
converse in class OpenCommPort
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] ap)
throws java.io.IOException,
gnu.io.NoSuchPortException,
gnu.io.PortInUseException,
gnu.io.UnsupportedCommOperationException
- Throws:
java.io.IOException
gnu.io.NoSuchPortException
gnu.io.PortInUseException
gnu.io.UnsupportedCommOperationException