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

## org.mpisws.p2p.filetransfer
Interface FileTransferCallback

    public interface FileTransferCallback

Method Summary
`void` | `fileReceived(java.io.File f, java.nio.ByteBuffer metadata)`
`void` | `messageReceived(java.nio.ByteBuffer bb)`
`void` | `receiveException(java.lang.Exception ioe)` Called when the FileTransfer fails.

Method Detail

### messageReceived

    void messageReceived(java.nio.ByteBuffer bb)

### fileReceived

    void fileReceived(java.io.File f,
                      java.nio.ByteBuffer metadata)

### receiveException

    void receiveException(java.lang.Exception ioe)

  Called when the FileTransfer fails.

  Parameters:
    `ioe` -

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

Copyright © 2001-2005 - Rice Pastry.