Interface SocketSendBufferPool.SendBuffer
-
- All Known Implementing Classes:
SocketSendBufferPool.EmptySendBuffer
,SocketSendBufferPool.FileSendBuffer
,SocketSendBufferPool.GatheringSendBuffer
,SocketSendBufferPool.PooledSendBuffer
,SocketSendBufferPool.UnpooledSendBuffer
- Enclosing class:
- SocketSendBufferPool
static interface SocketSendBufferPool.SendBuffer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
finished()
void
release()
long
totalBytes()
long
transferTo(java.nio.channels.DatagramChannel ch, java.net.SocketAddress raddr)
long
transferTo(java.nio.channels.WritableByteChannel ch)
long
writtenBytes()
-
-
-
Method Detail
-
finished
boolean finished()
-
writtenBytes
long writtenBytes()
-
totalBytes
long totalBytes()
-
transferTo
long transferTo(java.nio.channels.WritableByteChannel ch) throws java.io.IOException
- Throws:
java.io.IOException
-
transferTo
long transferTo(java.nio.channels.DatagramChannel ch, java.net.SocketAddress raddr) throws java.io.IOException
- Throws:
java.io.IOException
-
release
void release()
-
-