java.lang.Object
java.nio.channels.Pipe
org.newsclub.net.unix.AFPipe
- All Implemented Interfaces:
Closeable,AutoCloseable
A
Pipe, natively implemented.- Author:
- Christian Kohlschütter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classA channel representing the writable end of aPipe, with access to theFileDescriptor.final classA channel representing the readable end of aPipe, with access to theFileDescriptor. -
Method Summary
-
Method Details
-
source
-
sink
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
open
Opens anAFPipe.- Returns:
- The new pipe
- Throws:
IOException- on error.
-