yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
<hello> Message Handler

Processes the NETCONF <hello> message. More...

Collaboration diagram for <hello> Message Handler:

Functions

status_t agt_hello_init (void)
 Initialize the agt_hello module. More...
 
void agt_hello_cleanup (void)
 Cleanup the agt_hello module. More...
 
boolean agt_hello_dispatch (ses_cb_t *scb, xml_node_t *top)
 Handle an incoming <hello> message from the client. More...
 
status_t agt_hello_send (ses_cb_t *scb)
 Send the server <hello> message to the manager on the specified session. More...
 
void agt_hello_start_hello_timer (ses_cb_t *scb)
 Set the timestamp to start the hello-timeout for the specified session. More...
 

Detailed Description

Processes the NETCONF <hello> message.

The server <hello> message is sent to the client and the <hello> received from the client is processed. This is done before any RPC operations can be processed

Function Documentation

◆ agt_hello_cleanup()

void agt_hello_cleanup ( void  )

Cleanup the agt_hello module.

Unregister the top-level NETCONF <hello> element

Here is the call graph for this function:

◆ agt_hello_dispatch()

boolean agt_hello_dispatch ( ses_cb_t scb,
xml_node_t top 
)

Handle an incoming <hello> message from the client.

Parameters
scbsession control block
toptop element descriptor
Returns
TRUE if scb is still valid
FALSE if scb has been deleted during this call
Here is the call graph for this function:
Here is the caller graph for this function:

◆ agt_hello_init()

status_t agt_hello_init ( void  )

Initialize the agt_hello module.

Adds the agt_hello_dispatch function as the handler for the NETCONF <hello> top-level element.

NO_ERR if all okay, the minimum spare requests will be malloced

Here is the call graph for this function:
Here is the caller graph for this function:

◆ agt_hello_send()

status_t agt_hello_send ( ses_cb_t scb)

Send the server <hello> message to the manager on the specified session.

Parameters
scbsession control block
Returns
status
Here is the call graph for this function:
Here is the caller graph for this function:

◆ agt_hello_start_hello_timer()

void agt_hello_start_hello_timer ( ses_cb_t scb)

Set the timestamp to start the hello-timeout for the specified session.

Parameters
scbsession control block
Here is the call graph for this function:
Here is the caller graph for this function: