public abstract class SocketWritableByteChannel extends Object implements WritableByteChannel
| 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 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 ByteBufAllocator alloc()
Copyright © 2008–2017 The Netty Project. All rights reserved.