OwrDataSession

OwrDataSession — OwrDataSession

Functions

Properties

guint sctp-local-port Read / Write
guint sctp-remote-port Read / Write
gboolean use-sock-stream Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── OwrSession
        ╰── OwrDataSession

Description

OwrDataSession - Represents one incoming and one outgoing data stream.

Functions

owr_data_session_new ()

OwrDataSession *
owr_data_session_new (gboolean dtls_client_mode);

owr_data_session_add_data_channel ()

void
owr_data_session_add_data_channel (OwrDataSession *data_session,
                                   OwrDataChannel *data_channel);

Parameters

data_channel

.

[transfer full]

Types and Values

struct OwrDataSessionClass

struct OwrDataSessionClass {
    OwrSessionClass parent_class;

    /* signals */
    void (*on_data_channel_requested)(gboolean ordered, gint max_packet_life_time,
        gint max_retransmits, const gchar *protocol, gboolean negotiated, guint16 id,
        const gchar *label);
};

The data session class.

Members

OwrSessionClass parent_class;

the GObject parent

 

on_data_channel_requested ()

   

Property Details

The “sctp-local-port” property

  “sctp-local-port”          guint

The SCTP port to receive messages.

Flags: Read / Write

Allowed values: <= 65534

Default value: 0


The “sctp-remote-port” property

  “sctp-remote-port”         guint

The SCTP destination port.

Flags: Read / Write

Allowed values: <= 65534

Default value: 0


The “use-sock-stream” property

  “use-sock-stream”          gboolean

When set to TRUE, a sequenced, reliable, connection-based connection is used.When TRUE the partial reliability parameters of the channel is ignored.

Flags: Read / Write

Default value: FALSE

Signal Details

The “on-data-channel-requested” signal

void
user_function (OwrDataSession *owrdatasession,
               gboolean        arg1,
               gint            arg2,
               gint            arg3,
               gchar          *arg4,
               gboolean        arg5,
               guint           arg6,
               gchar          *arg7,
               gpointer        user_data)

Flags: Run First