Firefish 0.5.10

gov.lbl.dsd.p2pio
Class Scope

java.lang.Object
  extended bygov.lbl.dsd.p2pio.MsgElement
      extended bygov.lbl.dsd.p2pio.Scope

public class Scope
extends MsgElement

The scope of a query used in an Open request message; Contains the transaction timeout, maxHops, and optionally the neighbor selection query.

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

Constructor Summary
Scope(long timeout, long maxHops, Query neighborSelectionQuery)
           
 
Method Summary
 long getMaxHops()
           
 Query getNeighborSelectionQuery()
           
 long getTimeout()
           
 void setMaxHops(long maxHops)
           
 void setTimeout(long timeout)
           
 
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
 

Constructor Detail

Scope

public Scope(long timeout,
             long maxHops,
             Query neighborSelectionQuery)
Method Detail

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

getMaxHops

public long getMaxHops()

setMaxHops

public void setMaxHops(long maxHops)

getNeighborSelectionQuery

public Query getNeighborSelectionQuery()

Firefish 0.5.10

Jump to the Firefish Homepage