public abstract class SocketWritableByteChannel extends Object implements WritableByteChannel
| Modifier | Constructor and Description |
|---|---|
protected |
SocketWritableByteChannel(FileDescriptor fd) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract io.netty.buffer.ByteBufAllocator |
alloc() |
void |
close() |
boolean |
isOpen() |
int |
write(ByteBuffer src) |
protected SocketWritableByteChannel(FileDescriptor fd)
public final int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelIOExceptionpublic final void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionprotected abstract io.netty.buffer.ByteBufAllocator alloc()
Copyright © 2008–2022 The Netty Project. All rights reserved.