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 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–2017 The Netty Project. All rights reserved.