Package io.netty.channel.unix
Class SocketWritableByteChannel
java.lang.Object
io.netty.channel.unix.SocketWritableByteChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,WritableByteChannel
- Direct Known Subclasses:
AbstractEpollStreamChannel.EpollSocketWritableByteChannel
,AbstractKQueueStreamChannel.KQueueSocketWritableByteChannel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ByteBufAllocator
alloc()
final void
close()
final boolean
isOpen()
final int
write
(ByteBuffer src) protected int
write
(ByteBuffer buf, int pos, int limit)
-
Field Details
-
fd
-
-
Constructor Details
-
SocketWritableByteChannel
-
-
Method Details
-
write
- Throws:
IOException
-
write
- Specified by:
write
in interfaceWritableByteChannel
- Throws:
IOException
-
isOpen
public final boolean isOpen() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
alloc
-