notification-sse-procs.tcl

Notifications Server Sent Events Delivery Method

Location:
packages/notifications/tcl/notification-sse-procs.tcl
Created:
2024-12-19
Author:
Antonio Pisano

Procedures in this file

Detailed information

notification::sse::channels (private)

 notification::sse::channels to_user_id
Parameters:
to_user_id (required)
Returns:
list of channels

Partial Call Graph (max 5 caller/called nodes):
notification::sse::send notification::sse::send (public) notification::sse::channels notification::sse::channels notification::sse::send->notification::sse::channels

Testcases:
No testcase defined.

notification::sse::scan_replies (private)

 notification::sse::scan_replies

Scan for replies

Partial Call Graph (max 5 caller/called nodes):
AcsSc.notificationdeliverymethod.scanreplies.notification_sse AcsSc.notificationdeliverymethod.scanreplies.notification_sse (private) notification::sse::scan_replies notification::sse::scan_replies AcsSc.notificationdeliverymethod.scanreplies.notification_sse->notification::sse::scan_replies

Testcases:
No testcase defined.

notification::sse::send (public)

 notification::sse::send from_user_id to_user_id reply_object_id \
    notification_type_id subject content_text content_html file_ids

Send the notification.

Parameters:
from_user_id (required)
to_user_id (required)
reply_object_id (required)
notification_type_id (required)
subject (required)
content_text (required)
content_html (required)
file_ids (required)

Partial Call Graph (max 5 caller/called nodes):
AcsSc.notificationdeliverymethod.send.notification_sse AcsSc.notificationdeliverymethod.send.notification_sse (private) notification::sse::send notification::sse::send AcsSc.notificationdeliverymethod.send.notification_sse->notification::sse::send acs_object::get acs_object::get (public) notification::sse::send->acs_object::get acs_user::get acs_user::get (public) notification::sse::send->acs_user::get ad_html_qualify_links ad_html_qualify_links (public) notification::sse::send->ad_html_qualify_links ad_html_to_text ad_html_to_text (public) notification::sse::send->ad_html_to_text db_list_of_ns_sets db_list_of_ns_sets (public) notification::sse::send->db_list_of_ns_sets

Testcases:
No testcase defined.

notification::sse::subscribe (private)

 notification::sse::subscribe subscription_id

Subscribe the current connection channel to notifications. This will detach the connection channel from the thread and abort the script.

Parameters:
subscription_id (required)

Partial Call Graph (max 5 caller/called nodes):
packages/notifications/www/sse/subscribe.tcl packages/notifications/ www/sse/subscribe.tcl notification::sse::subscribe notification::sse::subscribe packages/notifications/www/sse/subscribe.tcl->notification::sse::subscribe ad_script_abort ad_script_abort (public) notification::sse::subscribe->ad_script_abort

Testcases:
No testcase defined.

notification::sse::unsubscribe (private)

 notification::sse::unsubscribe channel subscription_id

Unsubscribe a channel from notifications.

Parameters:
channel (required)
subscription_id (required)

Partial Call Graph (max 5 caller/called nodes):
notification::sse::send notification::sse::send (public) notification::sse::unsubscribe notification::sse::unsubscribe notification::sse::send->notification::sse::unsubscribe notification::sweep::cleanup_sse_subscriptions notification::sweep::cleanup_sse_subscriptions (private) notification::sweep::cleanup_sse_subscriptions->notification::sse::unsubscribe

Testcases:
No testcase defined.
[ show source ]