WockyPing

WockyPing — support for pings/keepalives

Synopsis

                    WockyPing;
                    WockyPingClass;
                    WockyPingPrivate;
GQuark              wocky_ping_error_quark              (void);
WockyPing *         wocky_ping_new                      (WockyPorter *porter,
                                                         guint interval);

Object Hierarchy

  GObject
   +----WockyPing

Properties

  "ping-interval"            guint                 : Read / Write / Construct
  "porter"                   WockyPorter*          : Read / Write / Construct Only

Description

Support for XEP-0199 pings.

Details

WockyPing

typedef struct _WockyPing WockyPing;


WockyPingClass

typedef struct {
} WockyPingClass;

The class of a WockyPing.


WockyPingPrivate

typedef struct _WockyPingPrivate WockyPingPrivate;


wocky_ping_error_quark ()

GQuark              wocky_ping_error_quark              (void);

Returns :


wocky_ping_new ()

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

porter :

interval :

Returns :

Property Details

The "ping-interval" property

  "ping-interval"            guint                 : Read / Write / Construct

keepalive ping interval in seconds, or 0 to disable.

Default value: 0


The "porter" property

  "porter"                   WockyPorter*          : Read / Write / Construct Only

the wocky porter to set up keepalive pings on.