ostore.bloom
Class TopologyDiscoverResponse

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

public class TopologyDiscoverResponse
extends NetworkMessage
implements QuickSerializable

Used to exert backpressure on update traffic.

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

Field Summary
 boolean on_shortest_path
           
 NodeId update_source
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
TopologyDiscoverResponse(InputBuffer buffer)
           
TopologyDiscoverResponse(NodeId peer, NodeId update_source, boolean on_shortest_path)
           
 
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

on_shortest_path

public boolean on_shortest_path
Constructor Detail

TopologyDiscoverResponse

public TopologyDiscoverResponse(NodeId peer,
                                NodeId update_source,
                                boolean on_shortest_path)

TopologyDiscoverResponse

public TopologyDiscoverResponse(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