T-Library Messages Flashcards
Address Registration
Client must register itself to the T-server in order to receive notification for any devices. Client sends RequestRegisterAddress with the ThisDN Field and the T-server will send EventRegistered if successful.
send_to_client
Send to client as a unsolicited event or response.
send_to_all
Send to all the connected clients due to a important system event such as the CTI being disconnect from the T-Server(EventLinkDisconnected).
distribute_event
Commonly used type that sends notify to all connected client based on changes and events that happen in the system. The T-server see the system as set of devices and uses the ThisDN field to identify the device.
distribute_response
A combination of send_to and distribute_type where it will notify the clients about activity on a DN resulting from a T-Lib request.
distribute_user_data
Initiated by one of the clients connected to T-server and distributes event that are fabricated from these request since it leads to a change to other clients registered with affected devices as a unsolicited messages
What is RequestDistributeUserEvent?
Client use this to instruct T-server to distribute EventUserEvent(user data) and communicate with other clients via the T-Server
What is a RequestDistributeEvent?
Instructs T-server to send event of the type specified in AttributeUserEvent field of the request. Used to fabricate events for virtue queues.