Main Page | Modules | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

RemoteDBEntry Class Reference
[Database (Blackboard) Facilities]

#include <DBClient.hh>

Inherits DBEntry.

List of all members.


Detailed Description

Class to encapsulate a remote database entry's details.

This class encapsulates a remote database entry's details


Public Member Functions

 RemoteDBEntry (DBClient *client, const char *name, int max_size, unsigned int description_key, unsigned int flags, int rate)
virtual Messageget ()
virtual bool set (Message *)
bool valid () const
bool reestablish (int timeout)
void close ()
unsigned int getFlags () const
int getRate () const
DBClientgetClient () const


Member Function Documentation

void RemoteDBEntry::close  ) 
 

This method closes the connection to this entry with the current manager

bool RemoteDBEntry::reestablish int  timeout  ) 
 

This method attempts to reestablish the entry with the ``new'' database with the exact same flags and parameters. It returns true if successful within timeout milliseconds, and false otherwise.

bool RemoteDBEntry::valid  )  const
 

This method returns true when the entry is still valid, i.e., we are connected to the same database manager which we originally contacted to access or create the entry.


RHexLib Reference Documentation