yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
agt_ncxserver.h File Reference

NCX Server Transport and IO Library. More...

#include "agt.h"
#include "ncxtypes.h"
#include "ses.h"
#include "status_enum.h"
#include "pthread.h"
Include dependency graph for agt_ncxserver.h:

Go to the source code of this file.

Functions

status_t agt_ncxserver_run (void)
 IO server loop for the ncxserver socket. More...
 
status_t agt_ncxserver_run_ycontrol (boolean ycontrol, const xmlChar *txid_str)
 IO server loop for the ncxserver socket. More...
 
status_t agt_ncxserver_run_extloop (boolean ycontrol, const xmlChar *txid_str, boolean extloop_mode)
 IO server loop for the ncxserver socket (FULL MODE) More...
 
void agt_ncxserver_clear_fd (int fd)
 Clear a dead session from the select loop. More...
 
void agt_ncxserver_exit_ycontrol_mode (const xmlChar *txid_str, agt_exit_mode_t exitmode)
 Cause the ycontrol mode to terminate. More...
 
void agt_ncxserver_exit_ycontrol_mode_edit (const xmlChar *txid_str, agt_exit_mode_t exitmode, boolean need_reverse_edit)
 Cause the ycontrol mode to terminate, EDIT mode. More...
 
agt_exit_mode_t agt_ncxserver_get_exit_mode (const xmlChar *txid_str)
 Get the reason code for exiting YControl IO mode. More...
 
thd_tcb_tagt_ncxserver_get_timer_tcb (void)
 Get the timer TCB to hijack for the YP-HA standby SCB. More...
 
boolean agt_ncxserver_thread_clear_session (ses_id_t sid, ses_id_t killedby, ses_term_reason_t termreason)
 Signal session clear to the appropriate RX thread for session. More...
 
void agt_ncxserver_thd_ses_cleanup (thd_type_t thd_type)
 Clean sessions in fixed (safe) order to make sure that all active sessions will be closed in a particular order. More...
 
boolean agt_ncxserver_thread_cancel_cc (ses_id_t sid, ncx_confirm_event_t event)
 Signal confirmed commit cancel to either the thread representing session or, if terminated, to another thread capable of handling the cancel. More...
 
status_t agt_ncxserver_inject_session (ses_cb_t *scb, int newfd)
 Add a callhome session into the ncxserver IO processing. More...
 
void agt_ncxserver_cleanup_extloop (void)
 Cleanup sockets for extloop mode. More...
 

Detailed Description

NCX Server Transport and IO Library.