ostore.bloom
Class TopologyDiscoverQuery

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.bloom.TopologyDiscoverQuery
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class TopologyDiscoverQuery
extends NetworkMessage
implements QuickSerializable

Used to exert backpressure on update traffic.

Version:
$Id: TopologyDiscoverQuery.java,v 1.13 2002/07/20 19:38:01 srhea Exp $
Author:
Sean C. Rhea

Field Summary
 int hops
           
 NodeId update_source
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
TopologyDiscoverQuery(InputBuffer buffer)
           
TopologyDiscoverQuery(NodeId peer, NodeId update_source, int hops)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

update_source

public NodeId update_source

hops

public int hops
Constructor Detail

TopologyDiscoverQuery

public TopologyDiscoverQuery(NodeId peer,
                             NodeId update_source,
                             int hops)

TopologyDiscoverQuery

public TopologyDiscoverQuery(InputBuffer buffer)
                      throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.
Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class NetworkMessage
Following copied from interface: ostore.util.QuickSerializable
Parameters:
buffer - the output buffer to add the object to

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class NetworkMessage

toString

public String toString()
Overrides:
toString in class NetworkMessage