|
Public Member Functions |
| Lookup (string id) |
| Constructor.
|
AsyncRPC< void > | register_object (ptr< Object > object) |
| Register an object or a vector of objects with the central catalog.
|
AsyncRPC< void > | register_object_set (ptr< Object > object) |
| Register an object by adding it to the set of objects with the same name.
|
AsyncRPC< void > | register_objects (vector< ptr< Object > > object) |
AsyncRPC< void > | register_object_sets (vector< ptr< Object > > object) |
AsyncRPC< ptr< Object > > | lookup_object (Name name) |
| Retrieve an object from the central catalog.
|
AsyncRPC< vector< ptr< Object > > > | lookup_object_set (Name name) |
AsyncRPC< vector< ptr< Object > > > | lookup_objects (vector< Name > names) |
AsyncRPC< vector< vector<
ptr< Object > > > > | lookup_object_sets (vector< Name > names) |
AsyncRPC< void > | register_node (MedusaID node, InetAddress address) |
| Register a node with the central catalog.
|
AsyncRPC< InetAddress > | lookup_node (MedusaID node) |
| Retrieve the Internet address for a node from the central catalog.
|
AsyncRPC< void > | set_backup_pair (MedusaID primary, MedusaID secondary) |
| Associate two nodes as primary-secondary pair.
|
AsyncRPC< MedusaID > | get_backup (MedusaID primary) |
| Return the backup of a node.
|
AsyncRPC< void > | add_responsability (MedusaID node, ptr< Object > object, bool standalone) |
| Add an object to the list of objects for which a node is responsible.
|
AsyncRPC< void > | add_responsabilities (MedusaID node, vector< pair< ptr< Object >, bool > > objects) |
AsyncRPC< void > | remove_responsability (MedusaID node, Name name) |
AsyncRPC< void > | remove_responsabilities (MedusaID node, vector< Name > names) |
AsyncRPC< vector< ptr< Object > > > | get_responsabilities (MedusaID node) |
| Return the list of objects for which a node is responsible.
|
| NMSTL_RPC_OBJECT (Lookup) |
Protected Member Functions |
void | init () |
| Initialization; called in *main* thread.
|
void | in_thread_init () |
| Initialization; called before run() in *component* thread.
|
Protected Attributes |
Remote< CentralLookupServer > | m_cls |
| RPC client object for the central catalog.
|
InetAddress | m_cls_addr |
| Address of the central catalog (pulled from the BOREALIS_CLS environment variable).
|