ostore.tapestry.impl
Class FullTestRespMsg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.tapestry.impl.FullTestRespMsg
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable
Direct Known Subclasses:
VerifyRespMsg

public class FullTestRespMsg
extends NetworkMessage
implements QuickSerializable

Message used by a new FullTestMember node to respond to the FullTestDriver


Field Summary
 long integrateTime
           
 OverlayPath[] paths
           
 SecureHash requestID
           
 int requestType
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
FullTestRespMsg(InputBuffer buffer)
           
FullTestRespMsg(NodeId peer, boolean success, int requestType, SecureHash requestID, SecureHash src, String output)
           
FullTestRespMsg(NodeId peer, boolean success, int requestType, SecureHash requestID, SecureHash src, String output, OverlayPath[] paths)
           
 
Method Summary
 Object clone()
           
 SecureHash getID()
           
 SecureHash getSrc()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 void setTime(long time)
           
 boolean success()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

requestType

public int requestType

requestID

public SecureHash requestID

integrateTime

public long integrateTime

paths

public OverlayPath[] paths
Constructor Detail

FullTestRespMsg

public FullTestRespMsg(NodeId peer,
                       boolean success,
                       int requestType,
                       SecureHash requestID,
                       SecureHash src,
                       String output,
                       OverlayPath[] paths)

FullTestRespMsg

public FullTestRespMsg(NodeId peer,
                       boolean success,
                       int requestType,
                       SecureHash requestID,
                       SecureHash src,
                       String output)

FullTestRespMsg

public FullTestRespMsg(InputBuffer buffer)
                throws QSException
Method Detail

setTime

public void setTime(long time)

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

getID

public SecureHash getID()

getSrc

public SecureHash getSrc()

success

public boolean success()

clone

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

toString

public String toString()
Overrides:
toString in class NetworkMessage