ostore.tapestry.impl
Class DebugMsg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.tapestry.impl.DebugMsg
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class DebugMsg
extends NetworkMessage
implements QuickSerializable

DebugMsg.java The message that carries a request or response for a test action or sequence. Sent between the FullTestDriver and any number of FullTestMembers.

Author:
Ben Poon

Field Summary
static int BACK_PTR_REQUEST
          Message requesting node back pointers
static int DONE
          Message saying that there is no more info coming
static int INSERTION_STATE
          Message requesting information on any ongoing insertions in the form of nodestate information.
 int level
           
 SecureHash requestID
           
static int REVERSE_PTR_REQUEST
          Message requesting node reverse pointers
static int ROUTING_TABLE_REQUEST
          Message requesting node routing table
 int type
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
DebugMsg(InputBuffer buffer)
           
DebugMsg(NodeId peer, int type, SecureHash reqID)
           
DebugMsg(NodeId peer, int type, SecureHash reqID, int level)
           
 
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

ROUTING_TABLE_REQUEST

public static final int ROUTING_TABLE_REQUEST
Message requesting node routing table

BACK_PTR_REQUEST

public static final int BACK_PTR_REQUEST
Message requesting node back pointers

REVERSE_PTR_REQUEST

public static final int REVERSE_PTR_REQUEST
Message requesting node reverse pointers

DONE

public static final int DONE
Message saying that there is no more info coming

INSERTION_STATE

public static final int INSERTION_STATE
Message requesting information on any ongoing insertions in the form of nodestate information.

type

public int type

requestID

public SecureHash requestID

level

public int level
Constructor Detail

DebugMsg

public DebugMsg(NodeId peer,
                int type,
                SecureHash reqID,
                int level)

DebugMsg

public DebugMsg(NodeId peer,
                int type,
                SecureHash reqID)

DebugMsg

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