tapestry.api
Class TapestryLocateFailure
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--tapestry.api.TapestryLocateFailure
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public class TapestryLocateFailure
- extends NetworkMessage
- implements QuickSerializable
An event which indicates that a TapestryLocateMsg
was not
successful. In other words, that the TapestryLocateMsg
made its
way all the way root without getting a positive query result.
NOTE: This event should be treated in much the same way as a DNS
lookup failure. It does not necessary indicate that the query
shouldn't have succeeded, only that it didn't. For instance, an
intermediate node between the query source and the root could well cause
such a failure, perhaps maliciously. Use with caution; you have been
warned.
- Version:
- $Id: TapestryLocateFailure.java,v 1.1.1.1 2004/03/26 19:57:05 hweather Exp $
- Author:
- Ben Y. Zhao
id
public SecureHash id
- The hash of the original request. Used to distinquish this request.
root
public SecureHash root
- The guid where the request was determined to have failed. Should be the
dynamically mapped root of the object ID originally requested for.
obj_guid
public SecureHash obj_guid
hopCount
public int hopCount
- Number of hops taken by the message on its way to the application
state
public TapestryQueryState state
- The latest
state
used
by the query
when the
locate
request failed.
TapestryLocateFailure
public TapestryLocateFailure(SecureHash root,
SecureHash id,
SecureHash obj_guid,
NodeId req,
int hop)
TapestryLocateFailure
public TapestryLocateFailure(SecureHash root,
SecureHash id,
SecureHash obj_guid,
NodeId req,
int hop,
TapestryQueryState state)
TapestryLocateFailure
public TapestryLocateFailure(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Specified by:
serialize
in interface QuickSerializable
- Overrides:
serialize
in class NetworkMessage
toString
public String toString()
- Overrides:
toString
in class NetworkMessage