Chmpx Functions
The CHMPX PHP Extension provides the following functions for operation to CHMPX.
Function list
- chmpxpx_bump_debug_level - Changes the log level
- chmpxpx_create - Creates a chmpx handle
- chmpxpx_create_server - Creates a chmpx handle(server)
- chmpxpx_create_slave - Creates a chmpx handle(slave)
- chmpxpx_destroy - Releases a chmpx handle
- chmpxpx_load_debug_env - Loads environment variables
- chmpxpx_load_hash_library - Loads hash functions from the file
- chmpxpx_msgid_close - Closes a chmpx message handle
- chmpxpx_msgid_open - Opens a chmpx message handle
- chmpxpx_pkth_close - Closes a chmpx packet handle
- chmpxpx_print_version - Prints the library version
- chmpxpx_process_running - Checks chmpx daemon process is alive
- chmpxpx_set_debug_file - Writes log to the file
- chmpxpx_set_debug_level_error - Sets log level to error
- chmpxpx_set_debug_level_message - Sets log level to info
- chmpxpx_set_debug_level_silent - Stops logging
- chmpxpx_set_debug_level_warning - Sets log level to warning
- chmpxpx_slv_receive - Receives a message by chmpx slave applications
- chmpxpx_slv_receive_kv - Receives a message with a key and a value by chmpx slave applications
- chmpxpx_slv_send - Sends a message by chmpx slave applications
- chmpxpx_slv_send_kv - Sends a message with a key and a value by chmpx slave applications
- chmpxpx_svr_receive - Receives a message by chmpx server applications
- chmpxpx_svr_receive_kv - Receives a message with a key and a value by chmpx server applications
- chmpxpx_svr_reply - Replies a message by chmpx server applications
- chmpxpx_svr_reply_kv - Replies a message with a key and a value by chmpx server applications
- chmpxpx_unload_hash_library - Removes the user-defined hash library
- chmpxpx_unset_debug_file - Writes logs to stderr