#include <DBClient.hh>
Inherits DBEntry.
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 Message * | get () |
| virtual bool | set (Message *) |
| bool | valid () const |
| bool | reestablish (int timeout) |
| void | close () |
| unsigned int | getFlags () const |
| int | getRate () const |
| DBClient * | getClient () const |
|
|
This method closes the connection to this entry with the current manager |
|
|
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. |
|
|
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. |