Qore ConnectionProvider Module Reference 1.11
|
Interface class inherited by connection classes that declare the AbstractConnection::CF_UPDATE_OPTIONS feature. More...
#include <UpdateOptionsInterface.qc.dox.h>
Public Member Methods | |
setUpdateOptionsCode (*code update_options) | |
Can be called to set or clear a closure or call reference to be called when options are automatically updated. More... | |
Private Member Methods | |
doUpdateOptions (LoggerInterface logger, hash< auto > new_opts) | |
Performs the option update in the external system. | |
Private Attributes | |
transient *code | update_options |
Closure or call reference to be called when connection options should be automatically updated. More... | |
Interface class inherited by connection classes that declare the AbstractConnection::CF_UPDATE_OPTIONS feature.
ConnectionProvider::UpdateOptionsInterface::setUpdateOptionsCode | ( | *code | update_options | ) |
Can be called to set or clear a closure or call reference to be called when options are automatically updated.
The closure or call reference must have the following signature: <update_options(hash<auto> options)
|
private |
Closure or call reference to be called when connection options should be automatically updated.
The closure or call reference must have the following signature: <update_options(hash<auto> options) /tt>