FileDocCategorySizeDatePackage
Pipe.javaAPI DocAndroid 1.5 API3763Wed May 06 22:41:04 BST 2009java.nio.channels

Pipe

public abstract class Pipe extends Object
A pipe contains two channels. One is the writable sink channel and the other is the readable source channel. When bytes are written into the writable channel they can be read from the readable channel. The order of these bytes remains unchanged.
since
Android 1.0

Fields Summary
Constructors Summary
protected Pipe()
The protected default constructor.

since
Android 1.0

        super();
    
Methods Summary
public static java.nio.channels.Pipeopen()
Initializes a pipe.

return
a new instance of pipe.
throws
IOException if an I/O error occurs.
since
Android 1.0

        return SelectorProvider.provider().openPipe();
    
public abstract java.nio.channels.Pipe$SinkChannelsink()
Returns the sink channel of the pipe.

return
a writable sink channel of the pipe.
since
Android 1.0

public abstract java.nio.channels.Pipe$SourceChannelsource()
Returns the source channel of the pipe.

return
a readable source channel of the pipe.
since
Android 1.0