96 |
|
|
97 |
RouteToNode(N_ID, Exact): |
RouteToNode(N_ID, Exact): |
98 |
Route message to node N. "Exact" specifies whether destination ID needs to |
Route message to node N. "Exact" specifies whether destination ID needs to |
99 |
be matched exactly to deliver payload. |
be matched exactly to deliver payload. |
100 |
|
|
101 |
|
|
102 |
|
However, the implemented API, according to the JavaDocs, offers services with |
103 |
|
the following names (and some other functionality): |
104 |
|
|
105 |
|
TapestryRouteMsg(SecureHash peer) - analog to RouteToObject(O_GUID) |
106 |
|
|
107 |
|
TapestryLocateMsg(SecureHash guid, TapestryQuery query, TapestryQueryState |
108 |
|
query_state, SecureHash id) - locate a node storing an object with GUID |
109 |
|
|
110 |
|
TapestryMacRouteMsg(SecureHash peer) - cryptographic (MAC) implementation |
111 |
|
of RouteToObject(O_GUID) |
112 |
|
|
113 |
|
TapestryPrefixRouteMsg(SecureHash peer, boolean inbound) - routes to the |
114 |
|
node with the GUID closest to a given GUID. OceanStore uses this service |
115 |
|
to find storage candidates for erasure coded fragments. See Javadocs for |
116 |
|
more detailed documentation. |
117 |
|
|
118 |
|
TapestryPublishMsg(SecureHash guid, TapestryTag tag) - analog to |
119 |
|
PublishObject(O_GUID) |
120 |
|
|
121 |
|
TapestryUnpublishMsg(SecureHash guid, TapestryTag tag) - analog to |
122 |
|
UnpublishObject(O_GUID) |
123 |
|
|
124 |
|
In addition, Tapestry API offers a number of other services. Again, see |
125 |
|
JavaDocs for more detailed information. |
126 |
|
|
127 |
|
|
128 |
Using Tapestry API from other applications |
Using Tapestry API from other applications |