frysk.sys.termios
Class Speed
java.lang.Object
frysk.sys.termios.Speed
- All Implemented Interfaces:
- Comparable
public class Speed
- extends Object
- implements Comparable
Manipulates a terminal bound to FileDescriptor.
Constructor Summary |
private |
Speed(int b)
|
b
final int b
BAUD_0
public static final Speed BAUD_0
BAUD_9600
public static final Speed BAUD_9600
BAUD_38400
public static final Speed BAUD_38400
Speed
private Speed(int b)
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
compareTo
public int compareTo(Object rhs)
- Specified by:
compareTo
in interface Comparable
getSpeeds
public static final Speed[] getSpeeds()
set
void set(long termios)
getInput
static Speed getInput(long termios)
getOutput
static Speed getOutput(long termios)