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
IOException
public final int write(ByteBuffer src) throws IOException
write
in interface WritableByteChannel
IOException
public final void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
protected abstract ByteBufAllocator alloc()
Copyright © 2008–2024 The Netty Project. All rights reserved.