yumapro  20.10-14
YumaPro SDK
Input Output Functions

YControl IO handler will create a connection and session to the main server. More...

Collaboration diagram for Input Output Functions:

Functions

void ycontrol_io_init (ycontrol_profile_t *profile)
 Setup ycontrol session handler. More...
 
status_t ycontrol_io_check (ycontrol_profile_t *profile)
 IO server loop for the ycontrol manager. More...
 
boolean ycontrol_io_write_sessions (ycontrol_profile_t *profile)
 Go through any sessions ready to write and send the buffers ready to send. More...
 
void ycontrol_io_activate_session (ycontrol_profile_t *profile, int fd)
 Tell the IO manager to stop listening on the specified socket. More...
 
void ycontrol_io_deactivate_session (ycontrol_profile_t *profile, int fd)
 Tell the IO manager to stop listening on the specified socket. More...
 

Detailed Description

YControl IO handler will create a connection and session to the main server.

It manages the socket loop for substem to main server communications.

All functions in this module are system APIs for subsystem use only!

Function Documentation

◆ ycontrol_io_activate_session()

void ycontrol_io_activate_session ( ycontrol_profile_t profile,
int  fd 
)

Tell the IO manager to stop listening on the specified socket.

Parameters
profileycontrol profile to use
fdfile descriptor number of the socket
Here is the caller graph for this function:

◆ ycontrol_io_check()

status_t ycontrol_io_check ( ycontrol_profile_t profile)

IO server loop for the ycontrol manager.

Parameters
profileycontrol profile to use
Returns
status
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ycontrol_io_deactivate_session()

void ycontrol_io_deactivate_session ( ycontrol_profile_t profile,
int  fd 
)

Tell the IO manager to stop listening on the specified socket.

Parameters
profileycontrol profile to use
fdfile descriptor number of the socket

◆ ycontrol_io_init()

void ycontrol_io_init ( ycontrol_profile_t profile)

Setup ycontrol session handler.

Parameters
profileycontrol profile to use
Here is the caller graph for this function:

◆ ycontrol_io_write_sessions()

boolean ycontrol_io_write_sessions ( ycontrol_profile_t profile)

Go through any sessions ready to write and send the buffers ready to send.

Parameters
profileycontrol profile to use
Returns
TRUE if any log output was done
FALSE if no log output done
Here is the call graph for this function:
Here is the caller graph for this function: