WockyPing

WockyPing — support for pings/keepalives

Functions

Properties

guint ping-interval Read / Write / Construct
WockyC2SPorter * porter Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── WockyPing

Description

Support for XEP-0199 pings.

Functions

wocky_ping_error_quark ()

GQuark
wocky_ping_error_quark (void);

wocky_ping_new ()

WockyPing *
wocky_ping_new (WockyC2SPorter *porter,
                guint interval);

Types and Values

struct WockyPingClass

struct WockyPingClass {
};

The class of a WockyPing.

Property Details

The “ping-interval” property

  “ping-interval”            guint

keepalive ping interval in seconds, or 0 to disable.

Flags: Read / Write / Construct

Default value: 0


The “porter” property

  “porter”                   WockyC2SPorter *

the wocky porter to set up keepalive pings on.

Flags: Read / Write / Construct Only