Functions | |
void | ServerConnection::setQueryServer (const std::string &host, int port) |
void | ServerConnection::setQueryTimeout (int time) |
void | ServerConnection::setX509Proxy (const std::string &proxy) |
void | ServerConnection::setX509Cert (const std::string &cert, const std::string &key) |
std::pair< std::string, int > | ServerConnection::getQueryServer () const |
int | ServerConnection::getQueryTimeout () const |
std::string | ServerConnection::getX509Proxy () const |
std::pair< std::string, std::string > | ServerConnection::getX509Cert () const |
void | ServerConnection::setQueryJobsLimit (int max) |
void | ServerConnection::setQueryEventsLimit (int max) |
These methods are used for setting and obtaining various parameters of the communication (timeouts, user certificates, limits). Both general methods (taking the symbolic name of the parameter as an argument) and convenience methods (for some parameters) are provided.
The methods are local, no communication takes place.
|
Get address of the bookkeeping server. Returns address of the bookkeeping server this instance is bound to.
|
|
Get query timeout. Returns the time interval this instance waits for server response.
|
|
Get user's X509 certificate. Returns filenames of the user's full X509 certificate used to authenticate to the server.
|
|
Get user's proxy. Returns filename of the user's X509 proxy certificate used to authenticate to the server.
|
|
Set the soft result set size limit. Sets the maximum number of results this instance is willing to obtain when querying for Events.
|
|
Set the soft result set size limit. Sets the maximum number of results this instance is willing to obtain when querying for jobs.
|
|
Set bookkeeping server address. Directs the instance to query the given bookkeping server.
|
|
Set query timeout. Sets the time interval to wait for server response.
|
|
Set user's certificate. Instructs the instance to authenticate to the server using users's full X509 certificate (which is not a good thing).
|
|
Set user's proxy certificate. Instructs the instance to authenticate to the server using user's X509 proxy certificate.
|