Loading...
Searching...
No Matches
Data Fields
imquic_moq_callbacks Struct Reference

RoQ public callbacks. More...

#include <moq.h>

Data Fields

void(* new_connection )(imquic_connection *conn, void *user_data)
 Callback function to be notified about new moQ connections.
 
void(* moq_ready )(imquic_connection *conn)
 Callback function to be notified when a MoQ connection is ready (setup performed on both ends)
 
void(* incoming_announce )(imquic_connection *conn, imquic_moq_namespace *tns)
 Callback function to be notified about incoming ANNOUNCE messages.
 
void(* incoming_announce_cancel )(imquic_connection *conn, imquic_moq_namespace *tns)
 Callback function to be notified about incoming ANNOUNCE_CANCEL messages.
 
void(* announce_accepted )(imquic_connection *conn, imquic_moq_namespace *tns)
 Callback function to be notified about incoming ANNOUNCE_ACCEPTED messages.
 
void(* announce_error )(imquic_connection *conn, imquic_moq_namespace *tns, int error_code, const char *reason)
 Callback function to be notified about incoming ANNOUNCE_ERROR messages.
 
void(* incoming_unannounce )(imquic_connection *conn, imquic_moq_namespace *tns)
 Callback function to be notified about incoming UNANNOUNCE messages.
 
void(* incoming_subscribe )(imquic_connection *conn, uint64_t subscribe_id, uint64_t track_alias, imquic_moq_namespace *tns, imquic_moq_name *tn, imquic_moq_auth_info *auth)
 Callback function to be notified about incoming SUBSCRIBE messages.
 
void(* subscribe_accepted )(imquic_connection *conn, uint64_t subscribe_id, uint64_t expires, gboolean descending)
 Callback function to be notified about incoming SUBSCRIBE_ACCEPTED messages.
 
void(* subscribe_error )(imquic_connection *conn, uint64_t subscribe_id, int error_code, const char *reason, uint64_t track_alias)
 Callback function to be notified about incoming SUBSCRIBE_ERROR messages.
 
void(* subscribe_done )(imquic_connection *conn, uint64_t subscribe_id, int status_code, const char *reason)
 Callback function to be notified about incoming SUBSCRIBE_DONE messages.
 
void(* incoming_unsubscribe )(imquic_connection *conn, uint64_t subscribe_id)
 Callback function to be notified about incoming UNBSUBSCRIBE messages.
 
void(* incoming_subscribe_announces )(imquic_connection *conn, imquic_moq_namespace *tns, imquic_moq_auth_info *auth)
 Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES messages.
 
void(* subscribe_announces_accepted )(imquic_connection *conn, imquic_moq_namespace *tns)
 Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES_ACCEPTED messages.
 
void(* subscribe_announces_error )(imquic_connection *conn, imquic_moq_namespace *tns, int error_code, const char *reason)
 Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES_ERROR messages.
 
void(* incoming_unsubscribe_announces )(imquic_connection *conn, imquic_moq_namespace *tns)
 Callback function to be notified about incoming UNSUBSCRIBE_ANNOUNCES messages.
 
void(* incoming_fetch )(imquic_connection *conn, uint64_t subscribe_id, imquic_moq_namespace *tns, imquic_moq_name *tn, gboolean descending, imquic_moq_fetch_range *range, imquic_moq_auth_info *auth)
 Callback function to be notified about incoming FETCH messages.
 
void(* incoming_fetch_cancel )(imquic_connection *conn, uint64_t subscribe_id)
 Callback function to be notified about incoming FETCH_CANCEL messages.
 
void(* fetch_accepted )(imquic_connection *conn, uint64_t subscribe_id, gboolean descending, imquic_moq_position *largest)
 Callback function to be notified about incoming FETCH_ACCEPTED messages.
 
void(* fetch_error )(imquic_connection *conn, uint64_t subscribe_id, int error_code, const char *reason)
 Callback function to be notified about incoming FETCH_ERROR messages.
 
void(* incoming_object )(imquic_connection *conn, imquic_moq_object *object)
 Callback function to be notified about incoming MoQ objects.
 
void(* incoming_goaway )(imquic_connection *conn, const char *uri)
 Callback function to be notified about incoming GOAWAY messages.
 
void(* connection_gone )(imquic_connection *conn)
 Callback function to be notified about RoQ connections being closed.
 

Detailed Description

RoQ public callbacks.

Field Documentation

◆ announce_accepted

void(* imquic_moq_callbacks::announce_accepted) (imquic_connection *conn, imquic_moq_namespace *tns)

Callback function to be notified about incoming ANNOUNCE_ACCEPTED messages.

◆ announce_error

void(* imquic_moq_callbacks::announce_error) (imquic_connection *conn, imquic_moq_namespace *tns, int error_code, const char *reason)

Callback function to be notified about incoming ANNOUNCE_ERROR messages.

◆ connection_gone

void(* imquic_moq_callbacks::connection_gone) (imquic_connection *conn)

Callback function to be notified about RoQ connections being closed.

◆ fetch_accepted

void(* imquic_moq_callbacks::fetch_accepted) (imquic_connection *conn, uint64_t subscribe_id, gboolean descending, imquic_moq_position *largest)

Callback function to be notified about incoming FETCH_ACCEPTED messages.

◆ fetch_error

void(* imquic_moq_callbacks::fetch_error) (imquic_connection *conn, uint64_t subscribe_id, int error_code, const char *reason)

Callback function to be notified about incoming FETCH_ERROR messages.

◆ incoming_announce

void(* imquic_moq_callbacks::incoming_announce) (imquic_connection *conn, imquic_moq_namespace *tns)

Callback function to be notified about incoming ANNOUNCE messages.

◆ incoming_announce_cancel

void(* imquic_moq_callbacks::incoming_announce_cancel) (imquic_connection *conn, imquic_moq_namespace *tns)

Callback function to be notified about incoming ANNOUNCE_CANCEL messages.

◆ incoming_fetch

void(* imquic_moq_callbacks::incoming_fetch) (imquic_connection *conn, uint64_t subscribe_id, imquic_moq_namespace *tns, imquic_moq_name *tn, gboolean descending, imquic_moq_fetch_range *range, imquic_moq_auth_info *auth)

Callback function to be notified about incoming FETCH messages.

◆ incoming_fetch_cancel

void(* imquic_moq_callbacks::incoming_fetch_cancel) (imquic_connection *conn, uint64_t subscribe_id)

Callback function to be notified about incoming FETCH_CANCEL messages.

◆ incoming_goaway

void(* imquic_moq_callbacks::incoming_goaway) (imquic_connection *conn, const char *uri)

Callback function to be notified about incoming GOAWAY messages.

◆ incoming_object

void(* imquic_moq_callbacks::incoming_object) (imquic_connection *conn, imquic_moq_object *object)

Callback function to be notified about incoming MoQ objects.

◆ incoming_subscribe

void(* imquic_moq_callbacks::incoming_subscribe) (imquic_connection *conn, uint64_t subscribe_id, uint64_t track_alias, imquic_moq_namespace *tns, imquic_moq_name *tn, imquic_moq_auth_info *auth)

Callback function to be notified about incoming SUBSCRIBE messages.

◆ incoming_subscribe_announces

void(* imquic_moq_callbacks::incoming_subscribe_announces) (imquic_connection *conn, imquic_moq_namespace *tns, imquic_moq_auth_info *auth)

Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES messages.

◆ incoming_unannounce

void(* imquic_moq_callbacks::incoming_unannounce) (imquic_connection *conn, imquic_moq_namespace *tns)

Callback function to be notified about incoming UNANNOUNCE messages.

◆ incoming_unsubscribe

void(* imquic_moq_callbacks::incoming_unsubscribe) (imquic_connection *conn, uint64_t subscribe_id)

Callback function to be notified about incoming UNBSUBSCRIBE messages.

◆ incoming_unsubscribe_announces

void(* imquic_moq_callbacks::incoming_unsubscribe_announces) (imquic_connection *conn, imquic_moq_namespace *tns)

Callback function to be notified about incoming UNSUBSCRIBE_ANNOUNCES messages.

◆ moq_ready

void(* imquic_moq_callbacks::moq_ready) (imquic_connection *conn)

Callback function to be notified when a MoQ connection is ready (setup performed on both ends)

◆ new_connection

void(* imquic_moq_callbacks::new_connection) (imquic_connection *conn, void *user_data)

Callback function to be notified about new moQ connections.

◆ subscribe_accepted

void(* imquic_moq_callbacks::subscribe_accepted) (imquic_connection *conn, uint64_t subscribe_id, uint64_t expires, gboolean descending)

Callback function to be notified about incoming SUBSCRIBE_ACCEPTED messages.

◆ subscribe_announces_accepted

void(* imquic_moq_callbacks::subscribe_announces_accepted) (imquic_connection *conn, imquic_moq_namespace *tns)

Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES_ACCEPTED messages.

◆ subscribe_announces_error

void(* imquic_moq_callbacks::subscribe_announces_error) (imquic_connection *conn, imquic_moq_namespace *tns, int error_code, const char *reason)

Callback function to be notified about incoming SUBSCRIBE_ANNOUNCES_ERROR messages.

◆ subscribe_done

void(* imquic_moq_callbacks::subscribe_done) (imquic_connection *conn, uint64_t subscribe_id, int status_code, const char *reason)

Callback function to be notified about incoming SUBSCRIBE_DONE messages.

◆ subscribe_error

void(* imquic_moq_callbacks::subscribe_error) (imquic_connection *conn, uint64_t subscribe_id, int error_code, const char *reason, uint64_t track_alias)

Callback function to be notified about incoming SUBSCRIBE_ERROR messages.


The documentation for this struct was generated from the following file: