Top Fields Constructors Methods
sun.nio.ch

pack-priv Class PipeImpl

extends Pipe
Class Inheritance
Imports
java.io.*, java.nio.channels.*, java.nio.channels.spi.*

Field Summary

Modifier and TypeField and Description
private final Pipe.SinkChannel
private final Pipe.SourceChannel

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Pipe.SinkChannel
sink()

Implements abstract java.nio.channels.Pipe.sink.

Returns this pipe's sink channel.

public Pipe.SourceChannel
source()

Implements abstract java.nio.channels.Pipe.source.

Returns this pipe's source channel.

Inherited from java.nio.channels.Pipe:
open

Field Detail

sinkback to summary
private final Pipe.SinkChannel sink
sourceback to summary
private final Pipe.SourceChannel source

Constructor Detail

PipeImplback to summary
pack-priv PipeImpl(SelectorProvider sp) throws IOException

Method Detail

sinkback to summary
public Pipe.SinkChannel sink()

Implements abstract java.nio.channels.Pipe.sink.

Doc from java.nio.channels.Pipe.sink.

Returns this pipe's sink channel.

Returns:Pipe.SinkChannel

This pipe's sink channel

sourceback to summary
public Pipe.SourceChannel source()

Implements abstract java.nio.channels.Pipe.source.

Doc from java.nio.channels.Pipe.source.

Returns this pipe's source channel.

Returns:Pipe.SourceChannel

This pipe's source channel