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
Modifier and TypeClassDescriptionfinal class
A channel representing the writable end of aPipe
, with access to theFileDescriptor
.final class
A channel representing the readable end of aPipe
, with access to theFileDescriptor
. -
Method Summary
-
Method Details
-
source
-
sink
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
open
Opens anAFPipe
.- Returns:
- The new pipe
- Throws:
IOException
- on error.
-