Firefish 0.5.10

gov.lbl.dsd.p2pio
Class Receive

java.lang.Object
  extended bygov.lbl.dsd.p2pio.MsgElement
      extended bygov.lbl.dsd.p2pio.Msg
          extended bygov.lbl.dsd.p2pio.Request
              extended bygov.lbl.dsd.p2pio.Receive

public class Receive
extends Request

Receive request message of P2PIO protocol; requests an ItemSet to be send in a Send or FinalSend response message, depending on the given mode. The item set should have at least min items and at most max items, and be returned at the lastest by the given timeout

Version:
$Revision: 1.3 $, $Date: 2004/01/30 01:18:03 $

Field Summary
static String MULTI_MODE
           
static String SINGLE_MODE
           
 
Constructor Summary
Receive(TransactionID tid, int min, int max, long timeout, String mode)
           
 
Method Summary
 int getMax()
           
 int getMin()
           
 String getMode()
           
 long getTimeout()
           
 
Methods inherited from class gov.lbl.dsd.p2pio.Msg
getTransactionID
 
Methods inherited from class gov.lbl.dsd.p2pio.MsgElement
toDOM, toString, toXOM
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SINGLE_MODE

public static final String SINGLE_MODE
See Also:
Constant Field Values

MULTI_MODE

public static final String MULTI_MODE
See Also:
Constant Field Values
Constructor Detail

Receive

public Receive(TransactionID tid,
               int min,
               int max,
               long timeout,
               String mode)
Method Detail

getMin

public int getMin()

getMax

public int getMax()

getTimeout

public long getTimeout()

getMode

public String getMode()

Firefish 0.5.10

Jump to the Firefish Homepage