Go to the source code of this file.
User callback when an asynchronous read completes with a record result.
- Parameters
-
err | This error structure is only populated when the command fails. Null on success. |
record | The return value from the asynchronous command. This value will need to be cast to the structure that corresponds to the asynchronous command. Null on error. |
udata | User data that is forwarded from asynchronous command function. |
event_loop | Event loop that this command was executed on. Use this event loop when running nested asynchronous commands when single threaded behavior is desired for the group of commands. |
Definition at line 49 of file as_listener.h.
User callback when asynchronous read completes with an as_val result.
- Parameters
-
err | This error structure is only populated when the command fails. Null on success. |
val | The return value from the asynchronous command. This value will need to be cast to the structure that corresponds to the asynchronous command. Null on error. |
udata | User data that is forwarded from asynchronous command function. |
event_loop | Event loop that this command was executed on. Use this event loop when running nested asynchronous commands when single threaded behavior is desired for the group of commands. |
Definition at line 62 of file as_listener.h.
User callback when an asynchronous write completes.
- Parameters
-
err | This error structure is only populated when the command fails. Null on success. |
udata | User data that is forwarded from asynchronous command function. |
event_loop | Event loop that this command was executed on. Use this event loop when running nested asynchronous commands when single threaded behavior is desired for the group of commands. |
Definition at line 36 of file as_listener.h.
typedef void(* as_pipe_listener)(void *udata, as_event_loop *event_loop) |
User callback when pipelined command has been sent, i.e., when the connection is ready for sending the next command.
- Parameters
-
udata | User data that is forwarded from asynchronous command function. |
event_loop | Event loop that this command was executed on. Use this event loop when running nested asynchronous commands when single threaded behavior is desired for the group of commands. |
Definition at line 73 of file as_listener.h.