rabbit.httpio
Class ChunkEnder

java.lang.Object
  extended by rabbit.httpio.ChunkEnder

public class ChunkEnder
extends Object

A class that sends the chunk ending (with an empty footer).

Author:
Robert Olofsson

Constructor Summary
ChunkEnder()
           
 
Method Summary
 void sendChunkEnding(SocketChannel channel, NioHandler nioHandler, TrafficLogger tl, BlockSentListener bsl)
          Send the chunk ending block.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkEnder

public ChunkEnder()
Method Detail

sendChunkEnding

public void sendChunkEnding(SocketChannel channel,
                            NioHandler nioHandler,
                            TrafficLogger tl,
                            BlockSentListener bsl)
Send the chunk ending block.

Parameters:
channel - the Channel to send the chunk ender to
nioHandler - the NioHandler to use for network operations
tl - the TrafficLogger to update with network statistics
bsl - the listener that will be notified when the sending is complete