frysk.sys.termios
Class Speed

java.lang.Object
  extended by frysk.sys.termios.Speed
All Implemented Interfaces:
Comparable

public class Speed
extends Object
implements Comparable

Manipulates a terminal bound to FileDescriptor.


Field Summary
(package private)  int b
           
static Speed BAUD_0
           
static Speed BAUD_38400
           
static Speed BAUD_9600
           
 
Constructor Summary
private Speed(int b)
           
 
Method Summary
 int compareTo(Object rhs)
           
 boolean equals(Object o)
           
(package private) static Speed getInput(long termios)
           
(package private) static Speed getOutput(long termios)
           
static Speed[] getSpeeds()
           
(package private)  void set(long termios)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

Speed

private Speed(int b)
Method Detail

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)