站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

TermStream (Terminal Emulator) - NetBeans API Javadoc (Current Development Version)

org.netbeans.lib.terminalemulator 1.2

org.netbeans.lib.terminalemulator
Class TermStream

java.lang.Object
  extended by org.netbeans.lib.terminalemulator.TermStream
Direct Known Subclasses:
LineDiscipline, NullTermStream

public abstract class TermStream
extends Object

TermStream is analogous to unix STREAMS.
It is a full duplex processing and data transfer path between a raw Term (The Data Terminal Equipment, DTE) and a client of the Term, usually a process (The Data Communication Equipment, DCE).

TermStream's can be chained together. This is performed using

See Also:

Streams are usually used (in the context of terminals) to do echoing, line buffering, CR/NL translation and so on. See, . They can also be used for logging and debugging.


Field Summary
protected  TermStream toDCE
           
protected  TermStream toDTE
           
 
Constructor Summary
TermStream()
           
 
Method Summary
abstract  void flush()
           
protected  Term getTerm()
           
abstract  void putChar(char c)
           
abstract  void putChars(char[] buf, int offset, int count)
           
abstract  void sendChar(char c)
           
abstract  void sendChars(char[] c, int offset, int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toDTE

protected TermStream toDTE

toDCE

protected TermStream toDCE
Constructor Detail

TermStream

public TermStream()
Method Detail

getTerm

protected Term getTerm()

flush

public abstract void flush()

putChar

public abstract void putChar(char c)

putChars

public abstract void putChars(char[] buf,
                              int offset,
                              int count)

sendChar

public abstract void sendChar(char c)

sendChars

public abstract void sendChars(char[] c,
                               int offset,
                               int count)

org.netbeans.lib.terminalemulator 1.2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.