|
Sybase ESP .NET SDK
5.0 ESD#1
|
Public Types | |
| enum | NET_ESP_ACCESS_MODE_T { NET_UNDEFINED_ACCESS = 0, NET_DIRECT_ACCESS = 1, NET_CALLBACK_ACCESS, NET_SELECTION_ACCESS } |
Public Member Functions | |
| NetEspProjectOptions () | |
| NetEspProjectOptions (ESP_SDK_NAMESPACE::EspProjectOptions *opts) | |
| ESP_SDK_NAMESPACE::EspProjectOptions * | getEspProjectOptions () |
| void | set_mode (NET_ESP_ACCESS_MODE_T access_mode) |
| NET_ESP_ACCESS_MODE_T | get_mode () |
| void | set_retries (int32_t retries) |
| int32_t | get_retries () |
| NetEspProjectOptions::NetEspProjectOptions | ( | ) | [inline] |
Creates a project options object with default values.
| NET_ESP_ACCESS_MODE_T NetEspProjectOptions::get_mode | ( | ) | [inline] |
Retrieves the access mode.
| int32_t NetEspProjectOptions::get_retries | ( | ) | [inline] |
Retrieves the retries setting.
| void NetEspProjectOptions::set_mode | ( | NET_ESP_ACCESS_MODE_T | access_mode | ) | [inline] |
Sets the mode project will be accessed with - DIRECT, CALLBACK or SELECT.
| void NetEspProjectOptions::set_retries | ( | int32_t | retries | ) | [inline] |
If set to set to positive value, SDK will try to reconnect specified number of times if it detects that the project has stopped in the cluster. If retries are enabled, the SDK will generate an ESP_PROJECT_EVENT_STALE when it detects the connected project is stopped and an ESP_PROJECT_EVENT_UPTODATE once it reconnects. If SDK cannot reconnect after the specified number of tries it generates an ESP_PROJECT_EVENT_DISCONNECTED.