TSMgmt

Synopsis

重要

This is now deprecated. All new RPC communication is now done by JSONRPC 2.0 Protocol

Macros used for RPC communications.

Management Signals

MGMT_SIGNAL_PID
MGMT_SIGNAL_CONFIG_ERROR
MGMT_SIGNAL_SYSTEM_ERROR
MGMT_SIGNAL_CONFIG_FILE_READ
MGMT_SIGNAL_CACHE_ERROR
MGMT_SIGNAL_CACHE_WARNING
MGMT_SIGNAL_LOGGING_ERROR
MGMT_SIGNAL_LOGGING_WARNING
MGMT_SIGNAL_PLUGIN_SET_CONFIG
MGMT_SIGNAL_LIBRECORDS
MGMT_SIGNAL_HTTP_CONGESTED_SERVER
MGMT_SIGNAL_HTTP_ALLEVIATED_SERVER
MGMT_SIGNAL_CONFIG_FILE_CHILD

Management Events

MGMT_EVENT_SYNC_KEY
MGMT_EVENT_SHUTDOWN
MGMT_EVENT_RESTART
MGMT_EVENT_BOUNCE
MGMT_EVENT_CLEAR_STATS
MGMT_EVENT_CONFIG_FILE_UPDATE
MGMT_EVENT_PLUGIN_CONFIG_UPDATE
MGMT_EVENT_ROLL_LOG_FILES
MGMT_EVENT_LIBRECORDS
MGMT_EVENT_STORAGE_DEVICE_CMD_OFFLINE
MGMT_EVENT_LIFECYCLE_MESSAGE

OpTypes

Possible operations or messages that can be sent between TM and remote clients.

enum OpType
enumerator RECORD_SET
enumerator RECORD_GET
enumerator PROXY_STATE_GET
enumerator PROXY_STATE_SET
enumerator RECONFIGURE
enumerator RESTART
enumerator BOUNCE
enumerator EVENT_RESOLVE
enumerator EVENT_GET_MLT
enumerator EVENT_ACTIVE
enumerator EVENT_REG_CALLBACK
enumerator EVENT_UNREG_CALLBACK
enumerator EVENT_NOTIFY
enumerator STATS_RESET_NODE
enumerator STORAGE_DEVICE_CMD_OFFLINE
enumerator RECORD_MATCH_GET
enumerator API_PING
enumerator SERVER_BACKTRACE
enumerator RECORD_DESCRIBE_CONFIG
enumerator LIFECYCLE_MESSAGE
enumerator UNDEFINED_OP

TSMgmtError

enum TSMgmtError
enumerator TS_ERR_OKAY
enumerator TS_ERR_READ_FILE
enumerator TS_ERR_WRITE_FILE
enumerator TS_ERR_PARSE_CONFIG_RULE
enumerator TS_ERR_INVALID_CONFIG_RULE
enumerator TS_ERR_NET_ESTABLISH
enumerator TS_ERR_NET_READ
enumerator TS_ERR_NET_WRITE
enumerator TS_ERR_NET_EOF
enumerator TS_ERR_NET_TIMEOUT
enumerator TS_ERR_SYS_CALL
enumerator TS_ERR_PARAMS
enumerator TS_ERR_NOT_SUPPORTED
enumerator TS_ERR_PERMISSION_DENIED
enumerator TS_ERR_FAIL

MgmtMarshallType

enum MgmtMarshallType
enumerator MGMT_MARSHALL_INT
enumerator MGMT_MARSHALL_LONG
enumerator MGMT_MARSHALL_STRING
enumerator MGMT_MARSHALL_DATA