Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Remote< Borealis::Lookup > Class Reference

#include <rpc_Lookup.h>

List of all members.

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).


Member Function Documentation

RPC< void > Remote< Borealis::Lookup >::add_responsabilities MedusaID  node,
vector< pair< ptr< Object >, bool > >  objects
 

Invokes add_responsabilities on the remote server (blocking interface).

void Remote< Borealis::Lookup >::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).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::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 Remote< Borealis::Lookup >::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).

callback is invoked when the result is available.

RPC< MedusaID > Remote< Borealis::Lookup >::get_backup MedusaID  primary  ) 
 

Return the backup of a node (blocking interface).

void Remote< Borealis::Lookup >::get_backup const Callback< void, RPC< MedusaID > > &  completion,
MedusaID  primary
 

Return the backup of a node (non-blocking interface).

callback is invoked when the result is available.

RPC< vector< ptr<Object> > > Remote< Borealis::Lookup >::get_responsabilities MedusaID  node  ) 
 

Return the list of objects for which a node is responsible (blocking interface).

void Remote< Borealis::Lookup >::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).

callback is invoked when the result is available.

RPC< InetAddress > Remote< Borealis::Lookup >::lookup_node MedusaID  node  ) 
 

Retrieve the Internet address for a node from the central catalog (blocking interface).

void Remote< Borealis::Lookup >::lookup_node const Callback< void, RPC< InetAddress > > &  completion,
MedusaID  node
 

Retrieve the Internet address for a node from the central catalog (non-blocking interface).

callback is invoked when the result is available.

RPC< ptr<Object> > Remote< Borealis::Lookup >::lookup_object Name  name  ) 
 

Retrieve an object from the central catalog (blocking interface).

void Remote< Borealis::Lookup >::lookup_object const Callback< void, RPC< ptr< Object > > > &  completion,
Name  name
 

Retrieve an object from the central catalog (non-blocking interface).

callback is invoked when the result is available.

RPC< vector< ptr<Object> > > Remote< Borealis::Lookup >::lookup_object_set Name  name  ) 
 

Invokes lookup_object_set on the remote server (blocking interface).

void Remote< Borealis::Lookup >::lookup_object_set const Callback< void, RPC< vector< ptr< Object > > > > &  completion,
Name  name
 

Invokes lookup_object_set on the remote server (non-blocking interface).

callback is invoked when the result is available.

RPC< vector< vector< ptr<Object> > > > Remote< Borealis::Lookup >::lookup_object_sets vector< Name >  names  ) 
 

Invokes lookup_object_sets on the remote server (blocking interface).

void Remote< Borealis::Lookup >::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).

callback is invoked when the result is available.

RPC< vector< ptr<Object> > > Remote< Borealis::Lookup >::lookup_objects vector< Name >  names  ) 
 

Invokes lookup_objects on the remote server (blocking interface).

void Remote< Borealis::Lookup >::lookup_objects const Callback< void, RPC< vector< ptr< Object > > > > &  completion,
vector< Name >  names
 

Invokes lookup_objects on the remote server (non-blocking interface).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::register_node MedusaID  node,
InetAddress  address
 

Register a node with the central catalog (blocking interface).

void Remote< Borealis::Lookup >::register_node const Callback< void, RPC< void > > &  completion,
MedusaID  node,
InetAddress  address
 

Register a node with the central catalog (non-blocking interface).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::register_object ptr< Object >  object  ) 
 

Register an object or a vector of objects with the central catalog (blocking interface).

void Remote< Borealis::Lookup >::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).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::register_object_set ptr< Object >  object  ) 
 

Register an object by adding it to the set of objects with the same name (blocking interface).

void Remote< Borealis::Lookup >::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).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::register_object_sets vector< ptr< Object > >  object  ) 
 

Invokes register_object_sets on the remote server (blocking interface).

void Remote< Borealis::Lookup >::register_object_sets const Callback< void, RPC< void > > &  completion,
vector< ptr< Object > >  object
 

Invokes register_object_sets on the remote server (non-blocking interface).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::register_objects vector< ptr< Object > >  object  ) 
 

Invokes register_objects on the remote server (blocking interface).

void Remote< Borealis::Lookup >::register_objects const Callback< void, RPC< void > > &  completion,
vector< ptr< Object > >  object
 

Invokes register_objects on the remote server (non-blocking interface).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::remove_responsabilities MedusaID  node,
vector< Name >  names
 

Invokes remove_responsabilities on the remote server (blocking interface).

void Remote< Borealis::Lookup >::remove_responsabilities const Callback< void, RPC< void > > &  completion,
MedusaID  node,
vector< Name >  names
 

Invokes remove_responsabilities on the remote server (non-blocking interface).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::remove_responsability MedusaID  node,
Name  name
 

Invokes remove_responsability on the remote server (blocking interface).

void Remote< Borealis::Lookup >::remove_responsability const Callback< void, RPC< void > > &  completion,
MedusaID  node,
Name  name
 

Invokes remove_responsability on the remote server (non-blocking interface).

callback is invoked when the result is available.

RPC< void > Remote< Borealis::Lookup >::set_backup_pair MedusaID  primary,
MedusaID  secondary
 

Associate two nodes as primary-secondary pair (blocking interface).

void Remote< Borealis::Lookup >::set_backup_pair const Callback< void, RPC< void > > &  completion,
MedusaID  primary,
MedusaID  secondary
 

Associate two nodes as primary-secondary pair (non-blocking interface).

callback is invoked when the result is available.


The documentation for this class was generated from the following file:
Generated on Fri Nov 12 15:15:24 2004 for Borealis by doxygen 1.3.8