ARB
|
#include "trackers.hxx"
#include "dbserver.hxx"
#include "macros.hxx"
#include <arbdbt.h>
#include <ad_remote.h>
#include <aw_awar.hxx>
#include <aw_msg.hxx>
#include <aw_window.hxx>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | db_interrupt_data |
Macros | |
#define | IF_DUMP_ACTION(cmd) |
#define | IF_DUMP_AUTH(cmd) |
#define | ARB_SERVE_DB_TIMER 50 |
#define | ARB_CHECK_DB_TIMER 200 |
Functions | |
static __ATTR__USERESULT GB_ERROR | check_for_remote_command (AW_root *aw_root, const db_interrupt_data &dib) |
bool | remote_command_handler (AW_root *awr, const db_interrupt_data &dib) |
static unsigned | serve_db_interrupt (AW_root *awr, db_interrupt_data *dib) |
static unsigned | check_db_interrupt (AW_root *awr, db_interrupt_data *dib) |
GB_ERROR | startup_dbserver (AW_root *aw_root, const char *application_id, GBDATA *gb_main) |
GB_ERROR | reconfigure_dbserver (const char *application_id, GBDATA *gb_main) |
Variables | |
static db_interrupt_data * | idle_interrupt = NULp |
#define IF_DUMP_ACTION | ( | cmd | ) |
Definition at line 33 of file dbserver.cxx.
Referenced by check_for_remote_command().
#define IF_DUMP_AUTH | ( | cmd | ) |
Definition at line 39 of file dbserver.cxx.
Referenced by check_for_remote_command().
#define ARB_SERVE_DB_TIMER 50 |
Definition at line 44 of file dbserver.cxx.
Referenced by serve_db_interrupt(), and startup_dbserver().
#define ARB_CHECK_DB_TIMER 200 |
Definition at line 45 of file dbserver.cxx.
Referenced by check_db_interrupt(), and startup_dbserver().
|
static |
Definition at line 69 of file dbserver.cxx.
References remote_awars::action(), remote_awars::appID(), arb_assert, remote_awars::authAck(), remote_awars::authReq(), aw_message(), aw_message_if(), remote_awars::awar(), AW_root::awar(), AW_root::awar_no_error(), error(), GB_clear_macro_error(), GB_end_transaction(), GB_get_macro_error(), GB_have_error(), GB_is_server(), gb_main, db_interrupt_data::gb_main, GB_pop_transaction(), GB_push_transaction(), GB_read_int(), GB_searchOrCreate_int(), GB_set_macro_error(), GB_set_remote_action(), GB_write_int(), GBS_global_string(), GBT_readOrCreate_int(), GBT_readOrCreate_string(), GBT_write_string(), AW_root::get_tracker(), remote_awars::granted(), MacroRecorder::handle_tracked_client_action(), IF_DUMP_ACTION, IF_DUMP_AUTH, UserActionTracker::is_tracking(), MACRO_TRIGGER_TRACKED, NULp, AW_awar::read_as_string(), db_interrupt_data::remote, remote_awars::result(), AW_cb::run_callbacks(), AW_root::search_remote_command(), MacroRecorder::stop_recording(), AW_awar::touch(), remote_awars::value(), and AW_awar::write_as_string().
Referenced by remote_command_handler().
|
inline |
Definition at line 222 of file dbserver.cxx.
References arb_assert, aw_message(), check_for_remote_command(), error(), and GB_have_error().
Referenced by check_db_interrupt(), serve_db_interrupt(), and startup_dbserver().
|
static |
Definition at line 235 of file dbserver.cxx.
References ARB_SERVE_DB_TIMER, db_interrupt_data::gb_main, GBCMS_accept_calls(), and remote_command_handler().
Referenced by startup_dbserver().
|
static |
Definition at line 243 of file dbserver.cxx.
References ARB_CHECK_DB_TIMER, and remote_command_handler().
Referenced by startup_dbserver().
Definition at line 252 of file dbserver.cxx.
References AW_root::add_timed_callback(), arb_assert, ARB_CHECK_DB_TIMER, ARB_SERVE_DB_TIMER, check_db_interrupt(), error(), GB_read_clients(), GBCMS_open(), GBS_global_string(), got_macro_ability(), initialized, NULp, remote_command_handler(), and serve_db_interrupt().
Referenced by configure_macro_recording().
Definition at line 292 of file dbserver.cxx.
References arb_assert, and db_interrupt_data::reconfigure().
Referenced by configure_macro_recording().
|
static |
Definition at line 250 of file dbserver.cxx.