Class SocketSendBufferPool.EmptySendBuffer
- java.lang.Object
-
- org.jboss.netty.channel.socket.nio.SocketSendBufferPool.EmptySendBuffer
-
- All Implemented Interfaces:
SocketSendBufferPool.SendBuffer
- Enclosing class:
- SocketSendBufferPool
static final class SocketSendBufferPool.EmptySendBuffer extends java.lang.Object implements SocketSendBufferPool.SendBuffer
-
-
Constructor Summary
Constructors Constructor Description EmptySendBuffer()
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean finished()
- Specified by:
finished
in interfaceSocketSendBufferPool.SendBuffer
-
writtenBytes
public long writtenBytes()
- Specified by:
writtenBytes
in interfaceSocketSendBufferPool.SendBuffer
-
totalBytes
public long totalBytes()
- Specified by:
totalBytes
in interfaceSocketSendBufferPool.SendBuffer
-
transferTo
public long transferTo(java.nio.channels.WritableByteChannel ch)
- Specified by:
transferTo
in interfaceSocketSendBufferPool.SendBuffer
-
transferTo
public long transferTo(java.nio.channels.DatagramChannel ch, java.net.SocketAddress raddr)
- Specified by:
transferTo
in interfaceSocketSendBufferPool.SendBuffer
-
release
public void release()
- Specified by:
release
in interfaceSocketSendBufferPool.SendBuffer
-
-