rabbit.httpio
Class BlockSender
java.lang.Object
rabbit.httpio.BaseSocketHandler
rabbit.httpio.BlockSender
- All Implemented Interfaces:
- Runnable, SocketHandler
public class BlockSender
- extends BaseSocketHandler
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,
Selector selector,
Logger logger,
TrafficLogger tl,
BufferHandle bufHandle,
boolean chunking,
BlockSentListener sender)
throws IOException
- Throws:
IOException
getDescription
public String getDescription()
- Description copied from interface:
SocketHandler
- Get a string description.
getSocketOperations
protected int getSocketOperations()
- Specified by:
getSocketOperations
in class BaseSocketHandler
timeout
public void timeout()
- Description copied from interface:
SocketHandler
- Signal that the select operation timed out.
run
public void run()