ucr.core
Class TraceMessage

java.lang.Object
  extended byucr.core.Message
      extended byucr.core.TraceMessage

public class TraceMessage
extends Message

TraceMessage, can log the identifiers of a route taken by this message


Field Summary
 
Fields inherited from class ucr.core.Message
guid, hops, originatingConnection, payload, payloadSize, QUERY, QUERYREPLY, SIZE, SIZE_QUERY_PAYLOAD, SIZE_QUERYREPLY_PAYLOAD, TRACE, TRACEREPLY, ttl, type
 
Constructor Summary
  TraceMessage()
          Construct a TraceSearch query
(package private) TraceMessage(short[] rawMessage, Connection originatingConnection)
          Construct a TraceMessage from data read from network
 
Method Summary
(package private)  void buildPayload()
          Contructs the payload for the trace message (no payload at all)
 java.lang.String getSearchCriteria()
          Query the search criteria for this message
 
Methods inherited from class ucr.core.Message
addPayload, addPayload, getByteArray, getGUID, getHops, getOriginatingConnection, getPayload, getPayloadLength, getTTL, getType, setGUID, setHops, setTTL, toRawString, toString, validatePayloadSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TraceMessage

public TraceMessage()
Construct a TraceSearch query


TraceMessage

TraceMessage(short[] rawMessage,
             Connection originatingConnection)
Construct a TraceMessage from data read from network

Parameters:
rawMessage - binary data from a connection
originatingConnection - Connection creating this message
Method Detail

buildPayload

void buildPayload()
Contructs the payload for the trace message (no payload at all)

Returns:
void

getSearchCriteria

public java.lang.String getSearchCriteria()
Query the search criteria for this message

Returns:
search criteria