public abstract class SocketWritableByteChannel
extends java.lang.Object
implements java.nio.channels.WritableByteChannel | Modifier | Constructor and Description |
|---|---|
protected |
SocketWritableByteChannel(FileDescriptor fd) |
protected SocketWritableByteChannel(FileDescriptor fd)
public final int write(java.nio.ByteBuffer src)
throws java.io.IOException
write在界面
java.nio.channels.WritableByteChannel
java.io.IOException
public final boolean isOpen()
isOpen ,界面
java.nio.channels.Channel
public final void close()
throws java.io.IOException
close接口
java.io.Closeable
close接口
java.lang.AutoCloseable
close接口
java.nio.channels.Channel
java.io.IOException
protected abstract ByteBufAllocator alloc()
Copyright © 2008–2018 The Netty Project. All rights reserved.