|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--demo.helloworld.step3.api.HelloWorldQuery
HelloWorldQuery
is a DDQuery
used in a
HelloWorldLocateMsg
used to gather
information of some number of servers which are identified by a
HelloWorldTag
.
Constructor Summary | |
---|---|
HelloWorldQuery()
Creates a new HelloWorldQuery . |
|
HelloWorldQuery(InputBuffer buffer)
Constructs a HelloWorldQuery from its
serialized form. |
Method Summary | |
---|---|
DDQueryResult |
query(SecureHash node_guid,
bamboo.vivaldi.VirtualCoordinate node_coordinates,
SecureHash bp_guid,
HostInfo bp_hinfo,
DDTag tag,
DDQueryState s)
Specified by dd.api.DDQuery |
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable |
String |
toString()
Specified by java.lang.Object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HelloWorldQuery()
HelloWorldQuery
.
public HelloWorldQuery(InputBuffer buffer)
HelloWorldQuery
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
public DDQueryResult query(SecureHash node_guid, bamboo.vivaldi.VirtualCoordinate node_coordinates, SecureHash bp_guid, HostInfo bp_hinfo, DDTag tag, DDQueryState s)
query
in interface DDQuery
node_guid
- The guid
of the
current node.node_coordinates
- The VirtualCoordinate
of
the current node. (possibly null
).bp_guid
- The guid
of the
node to which the object
pointer
points.bp_hinfo
- The HostInfo
of the node to
which the object
pointer
points.
(possibly null
).tag
- The object's associated tag
.s
- The state
, passed
in and (possibly) modified
result
of type
DDQueryResultMatch
or
DDQueryResultNoMatch
.public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |