#include <rpc_Lookup.h>
Public Member Functions | |
void | register_object (const Callback< void, RPC< void > > &completion, ptr< Object > object) |
Register an object or a vector of objects with the central catalog (non-blocking interface). | |
RPC< void > | register_object (ptr< Object > object) |
Register an object or a vector of objects with the central catalog (blocking interface). | |
void | register_object_set (const Callback< void, RPC< void > > &completion, ptr< Object > object) |
Register an object by adding it to the set of objects with the same name (non-blocking interface). | |
RPC< void > | register_object_set (ptr< Object > object) |
Register an object by adding it to the set of objects with the same name (blocking interface). | |
void | register_objects (const Callback< void, RPC< void > > &completion, vector< ptr< Object > > object) |
Invokes register_objects on the remote server (non-blocking interface). | |
RPC< void > | register_objects (vector< ptr< Object > > object) |
Invokes register_objects on the remote server (blocking interface). | |
void | register_object_sets (const Callback< void, RPC< void > > &completion, vector< ptr< Object > > object) |
Invokes register_object_sets on the remote server (non-blocking interface). | |
RPC< void > | register_object_sets (vector< ptr< Object > > object) |
Invokes register_object_sets on the remote server (blocking interface). | |
void | lookup_object (const Callback< void, RPC< ptr< Object > > > &completion, Name name) |
Retrieve an object from the central catalog (non-blocking interface). | |
RPC< ptr< Object > > | lookup_object (Name name) |
Retrieve an object from the central catalog (blocking interface). | |
void | lookup_object_set (const Callback< void, RPC< vector< ptr< Object > > > > &completion, Name name) |
Invokes lookup_object_set on the remote server (non-blocking interface). | |
RPC< vector< ptr< Object > > > | lookup_object_set (Name name) |
Invokes lookup_object_set on the remote server (blocking interface). | |
void | lookup_objects (const Callback< void, RPC< vector< ptr< Object > > > > &completion, vector< Name > names) |
Invokes lookup_objects on the remote server (non-blocking interface). | |
RPC< vector< ptr< Object > > > | lookup_objects (vector< Name > names) |
Invokes lookup_objects on the remote server (blocking interface). | |
void | lookup_object_sets (const Callback< void, RPC< vector< vector< ptr< Object > > > > > &completion, vector< Name > names) |
Invokes lookup_object_sets on the remote server (non-blocking interface). | |
RPC< vector< vector< ptr< Object > > > > | lookup_object_sets (vector< Name > names) |
Invokes lookup_object_sets on the remote server (blocking interface). | |
void | register_node (const Callback< void, RPC< void > > &completion, MedusaID node, InetAddress address) |
Register a node with the central catalog (non-blocking interface). | |
RPC< void > | register_node (MedusaID node, InetAddress address) |
Register a node with the central catalog (blocking interface). | |
void | lookup_node (const Callback< void, RPC< InetAddress > > &completion, MedusaID node) |
Retrieve the Internet address for a node from the central catalog (non-blocking interface). | |
RPC< InetAddress > | lookup_node (MedusaID node) |
Retrieve the Internet address for a node from the central catalog (blocking interface). | |
void | set_backup_pair (const Callback< void, RPC< void > > &completion, MedusaID primary, MedusaID secondary) |
Associate two nodes as primary-secondary pair (non-blocking interface). | |
RPC< void > | set_backup_pair (MedusaID primary, MedusaID secondary) |
Associate two nodes as primary-secondary pair (blocking interface). | |
void | get_backup (const Callback< void, RPC< MedusaID > > &completion, MedusaID primary) |
Return the backup of a node (non-blocking interface). | |
RPC< MedusaID > | get_backup (MedusaID primary) |
Return the backup of a node (blocking interface). | |
void | add_responsability (const Callback< void, RPC< void > > &completion, MedusaID node, ptr< Object > object, bool standalone) |
Add an object to the list of objects for which a node is responsible (non-blocking interface). | |
RPC< void > | add_responsability (MedusaID node, ptr< Object > object, bool standalone) |
Add an object to the list of objects for which a node is responsible (blocking interface). | |
void | add_responsabilities (const Callback< void, RPC< void > > &completion, MedusaID node, vector< pair< ptr< Object >, bool > > objects) |
Invokes add_responsabilities on the remote server (non-blocking interface). | |
RPC< void > | add_responsabilities (MedusaID node, vector< pair< ptr< Object >, bool > > objects) |
Invokes add_responsabilities on the remote server (blocking interface). | |
void | remove_responsability (const Callback< void, RPC< void > > &completion, MedusaID node, Name name) |
Invokes remove_responsability on the remote server (non-blocking interface). | |
RPC< void > | remove_responsability (MedusaID node, Name name) |
Invokes remove_responsability on the remote server (blocking interface). | |
void | remove_responsabilities (const Callback< void, RPC< void > > &completion, MedusaID node, vector< Name > names) |
Invokes remove_responsabilities on the remote server (non-blocking interface). | |
RPC< void > | remove_responsabilities (MedusaID node, vector< Name > names) |
Invokes remove_responsabilities on the remote server (blocking interface). | |
void | get_responsabilities (const Callback< void, RPC< vector< ptr< Object > > > > &completion, MedusaID node) |
Return the list of objects for which a node is responsible (non-blocking interface). | |
RPC< vector< ptr< Object > > > | get_responsabilities (MedusaID node) |
Return the list of objects for which a node is responsible (blocking interface). |
|
Invokes add_responsabilities on the remote server (blocking interface).
|
|
Invokes add_responsabilities on the remote server (non-blocking interface). callback is invoked when the result is available. |
|
Add an object to the list of objects for which a node is responsible (blocking interface).
|
|
Add an object to the list of objects for which a node is responsible (non-blocking interface). callback is invoked when the result is available. |
|
Return the backup of a node (blocking interface).
|
|
Return the backup of a node (non-blocking interface). callback is invoked when the result is available. |
|
Return the list of objects for which a node is responsible (blocking interface).
|
|
Return the list of objects for which a node is responsible (non-blocking interface). callback is invoked when the result is available. |
|
Retrieve the Internet address for a node from the central catalog (blocking interface).
|
|
Retrieve the Internet address for a node from the central catalog (non-blocking interface). callback is invoked when the result is available. |
|
Retrieve an object from the central catalog (blocking interface).
|
|
Retrieve an object from the central catalog (non-blocking interface). callback is invoked when the result is available. |
|
Invokes lookup_object_set on the remote server (blocking interface).
|
|
Invokes lookup_object_set on the remote server (non-blocking interface). callback is invoked when the result is available. |
|
Invokes lookup_object_sets on the remote server (blocking interface).
|
|
Invokes lookup_object_sets on the remote server (non-blocking interface). callback is invoked when the result is available. |
|
Invokes lookup_objects on the remote server (blocking interface).
|
|
Invokes lookup_objects on the remote server (non-blocking interface). callback is invoked when the result is available. |
|
Register a node with the central catalog (blocking interface).
|
|
Register a node with the central catalog (non-blocking interface). callback is invoked when the result is available. |
|
Register an object or a vector of objects with the central catalog (blocking interface).
|
|
Register an object or a vector of objects with the central catalog (non-blocking interface). callback is invoked when the result is available. |
|
Register an object by adding it to the set of objects with the same name (blocking interface).
|
|
Register an object by adding it to the set of objects with the same name (non-blocking interface). callback is invoked when the result is available. |
|
Invokes register_object_sets on the remote server (blocking interface).
|
|
Invokes register_object_sets on the remote server (non-blocking interface). callback is invoked when the result is available. |
|
Invokes register_objects on the remote server (blocking interface).
|
|
Invokes register_objects on the remote server (non-blocking interface). callback is invoked when the result is available. |
|
Invokes remove_responsabilities on the remote server (blocking interface).
|
|
Invokes remove_responsabilities on the remote server (non-blocking interface). callback is invoked when the result is available. |
|
Invokes remove_responsability on the remote server (blocking interface).
|
|
Invokes remove_responsability on the remote server (non-blocking interface). callback is invoked when the result is available. |
|
Associate two nodes as primary-secondary pair (blocking interface).
|
|
Associate two nodes as primary-secondary pair (non-blocking interface). callback is invoked when the result is available. |