rabbit.httpio
Class BlockSender
java.lang.Object
rabbit.httpio.BaseSocketHandler
rabbit.httpio.BlockSender
- All Implemented Interfaces:
- SocketChannelHandler, WriteHandler
public class BlockSender
- extends BaseSocketHandler
- implements WriteHandler
A handler that writes data blocks.
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockSender
public BlockSender(SocketChannel channel,
NioHandler nioHandler,
TrafficLogger tl,
BufferHandle bufHandle,
boolean chunking,
BlockSentListener sender)
throws IOException
- Throws:
IOException
getDescription
public String getDescription()
- Specified by:
getDescription
in interface SocketChannelHandler
- Overrides:
getDescription
in class BaseSocketHandler
timeout
public void timeout()
- Description copied from class:
BaseSocketHandler
- Does nothing by default
- Specified by:
timeout
in interface SocketChannelHandler
- Overrides:
timeout
in class BaseSocketHandler
closed
public void closed()
- Description copied from class:
BaseSocketHandler
- Does nothing by default
- Specified by:
closed
in interface SocketChannelHandler
- Overrides:
closed
in class BaseSocketHandler
write
public void write()
- Specified by:
write
in interface WriteHandler