类 NamedPipeSocket.AsynchronousFileByteChannel
java.lang.Object
cn.taketoday.buildpack.platform.socket.NamedPipeSocket.AsynchronousFileByteChannel
- 所有已实现的接口:
Closeable,AutoCloseable,AsynchronousByteChannel,AsynchronousChannel,Channel
- 封闭类:
- NamedPipeSocket
private static class NamedPipeSocket.AsynchronousFileByteChannel
extends Object
implements AsynchronousByteChannel
Adapt an
AsynchronousByteChannel to an AsynchronousFileChannel.-
嵌套类概要
嵌套类修饰符和类型类说明private static class -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidclose()booleanisOpen()read(ByteBuffer dst) <A> voidread(ByteBuffer dst, A attachment, CompletionHandler<Integer, ? super A> handler) write(ByteBuffer src) <A> voidwrite(ByteBuffer src, A attachment, CompletionHandler<Integer, ? super A> handler)
-
字段详细资料
-
fileChannel
-
-
构造器详细资料
-
AsynchronousFileByteChannel
AsynchronousFileByteChannel(AsynchronousFileChannel fileChannel)
-
-
方法详细资料
-
read
- 指定者:
read在接口中AsynchronousByteChannel
-
read
- 指定者:
read在接口中AsynchronousByteChannel
-
write
- 指定者:
write在接口中AsynchronousByteChannel
-
write
- 指定者:
write在接口中AsynchronousByteChannel
-
close
- 指定者:
close在接口中AsynchronousChannel- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Channel- 指定者:
close在接口中Closeable- 抛出:
IOException
-
isOpen
public boolean isOpen()
-