com.rm5248.serial
Class SerialLineState

java.lang.Object
  extended by com.rm5248.serial.SerialLineState

public class SerialLineState
extends java.lang.Object

This class represents the current state of the lines on the serial port. You can also use this class to set the state of the serial port. Note that all of these options may not be available depending on the serial port that is in use, and/or the platform that you are running on.


Field Summary
 boolean carrierDetect
           
 boolean clearToSend
           
 boolean dataSetReady
           
 boolean dataTerminalReady
           
 boolean requestToSend
           
 boolean ringIndicator
           
 
Constructor Summary
SerialLineState()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

carrierDetect

public boolean carrierDetect

clearToSend

public boolean clearToSend

dataSetReady

public boolean dataSetReady

dataTerminalReady

public boolean dataTerminalReady

ringIndicator

public boolean ringIndicator

requestToSend

public boolean requestToSend
Constructor Detail

SerialLineState

public SerialLineState()
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object