TransferHandler (RabbIT/4)
Date: 2009-10-13

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rabbit.httpio
Class TransferHandler

    java.lang.Object
      rabbit.httpio.TransferHandler

All Implemented Interfaces:
  Runnable

    public class TransferHandler

extends Object
implements Runnable

A handler that transfers data from a Transferable to a socket channel. Since file transfers may take time we run in a separate thread.

Author:
  Robert Olofsson

Constructor Summary
`TransferHandler(NioHandler nioHandler, Transferable t, SocketChannel channel, TrafficLogger tlFrom, TrafficLogger tlTo, TransferListener listener)`

Method Summary
`void` | `run()`
`void` | `transfer()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TransferHandler

    public TransferHandler(NioHandler nioHandler,
                           Transferable t,
                           SocketChannel channel,
                           TrafficLogger tlFrom,
                           TrafficLogger tlTo,
                           TransferListener listener)

Method Detail

### transfer

    public void transfer()

### run

    public void run()

  Specified by:
    `run` in interface `Runnable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD