Methods
(async) publish(topic, obj) → {object}
Provide an interface to publication that a subclass might use in certain situations. Also, some users of the class instances may request publication of new data.
Parameters:
| Name | Type | Description |
|---|---|---|
topic |
string | |
obj |
object |
Returns:
- the server response to the subscription request
- Type
- object
(async) remote_fetch_message(wa_id, field) → {object|boolean}
remote_fetch_message --- this is a request -- meta search request... calls get on path
Parameters:
| Name | Type | Description |
|---|---|---|
wa_id |
string | The wide area id of the object |
field |
string | the field that is to be used as the key for identifying the object |
Returns:
- returns the recovered object or false
- Type
- object | boolean
remote_store_dereference(wa_id)
Let remote systems know that this objet is not going to be stored locally.
If the architecture is set up to keep objects for a number of users, the object might not be removed from existence by other process, but those processes might keep track of how many copies are in existence.
Parameters:
| Name | Type | Description |
|---|---|---|
wa_id |
string | the wide area identity |
remote_store_message(obj, user_op)
Parameters:
| Name | Type | Description |
|---|---|---|
obj |
object |
|
user_op |
string |
|