JavaTM 2 Platform
Standard Ed. 6

類別 java.nio.channels.Pipe
的使用

使用 Pipe 的軟體套件
java.nio.channels 定義了各種通道,這些通道表示到能夠執行 I/O 操作的實體(如檔案和Socket)的連接;定義了用於多路傳輸的、非阻塞 I/O 操作的選擇器。 
java.nio.channels.spi 用於 java.nio.channels 套件的服務提供者類別。 
 

java.nio.channelsPipe 的使用
 

返回 Pipejava.nio.channels 中的方法
static Pipe Pipe.open()
          打開一個管道。
 

java.nio.channels.spiPipe 的使用
 

返回 Pipejava.nio.channels.spi 中的方法
abstract  Pipe SelectorProvider.openPipe()
          打開一個管道。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only