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 booleanfinished()voidrelease()longtotalBytes()longtransferTo(java.nio.channels.DatagramChannel ch, java.net.SocketAddress raddr)longtransferTo(java.nio.channels.WritableByteChannel ch)longwrittenBytes()
-
-
-
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()
-
-