Rice Pastry API

org.mpisws.p2p.filetransfer
Interface Receipt

All Superinterfaces:
Cancellable
All Known Subinterfaces:
BBReceipt, FileReceipt

public interface Receipt
extends Cancellable


Method Summary
 byte getPriority()
          Unknown on receiver.
 long getSize()
           
 int getUID()
          Unique on a simplex connection.
 
Methods inherited from interface rice.p2p.commonapi.Cancellable
cancel
 

Method Detail

getUID

int getUID()
Unique on a simplex connection. Also used to disambiguate the priority of 2 items of the same priority

Returns:

getSize

long getSize()

getPriority

byte getPriority()
Unknown on receiver.

Returns:

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection