public abstract class SocketWritableByteChannel extends Object implements WritableByteChannel
| Modifier and Type | Field and Description |
|---|---|
protected FileDescriptor |
fd |
| Modifier | Constructor and Description |
|---|---|
protected |
SocketWritableByteChannel(FileDescriptor fd) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ByteBufAllocator |
alloc() |
void |
close() |
boolean |
isOpen() |
int |
write(ByteBuffer src) |
protected int |
write(ByteBuffer buf,
int pos,
int limit) |
protected final FileDescriptor fd
protected SocketWritableByteChannel(FileDescriptor fd)
protected int write(ByteBuffer buf, int pos, int limit) throws IOException
IOExceptionpublic 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 ByteBufAllocator alloc()
Copyright © 2008–2025 The Netty Project. All rights reserved.