WockyPepService

WockyPepService

Synopsis

                    WockyPepService;
                    WockyPepServiceClass;
                    WockyPepServicePrivate;
WockyPepService *   wocky_pep_service_new               (const gchar *node,
                                                         gboolean subscribe);
void                wocky_pep_service_start             (WockyPepService *pep_service,
                                                         WockySession *session);
void                wocky_pep_service_get_async         (WockyPepService *pep,
                                                         WockyBareContact *contact,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
WockyStanza *       wocky_pep_service_get_finish        (WockyPepService *pep,
                                                         GAsyncResult *result,
                                                         GError **error);
WockyStanza *       wocky_pep_service_make_publish_stanza
                                                        (WockyPepService *pep,
                                                         WockyNode **item);

Object Hierarchy

  GObject
   +----WockyPepService

Properties

  "node"                     gchar*                : Read / Write / Construct Only
  "subscribe"                gboolean              : Read / Write / Construct Only

Signals

  "changed"                                        : Run Last / Has Details

Description

Details

WockyPepService

typedef struct _WockyPepService WockyPepService;


WockyPepServiceClass

typedef struct {
  GObjectClass parent_class;
} WockyPepServiceClass;


WockyPepServicePrivate

typedef struct _WockyPepServicePrivate WockyPepServicePrivate;


wocky_pep_service_new ()

WockyPepService *   wocky_pep_service_new               (const gchar *node,
                                                         gboolean subscribe);

node :

subscribe :

Returns :


wocky_pep_service_start ()

void                wocky_pep_service_start             (WockyPepService *pep_service,
                                                         WockySession *session);

pep_service :

session :


wocky_pep_service_get_async ()

void                wocky_pep_service_get_async         (WockyPepService *pep,
                                                         WockyBareContact *contact,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

pep :

contact :

cancellable :

callback :

user_data :


wocky_pep_service_get_finish ()

WockyStanza *       wocky_pep_service_get_finish        (WockyPepService *pep,
                                                         GAsyncResult *result,
                                                         GError **error);

pep :

result :

error :

Returns :


wocky_pep_service_make_publish_stanza ()

WockyStanza *       wocky_pep_service_make_publish_stanza
                                                        (WockyPepService *pep,
                                                         WockyNode **item);

pep :

item :

Returns :

Property Details

The "node" property

  "node"                     gchar*                : Read / Write / Construct Only

namespace of the pep node.

Default value: NULL


The "subscribe" property

  "subscribe"                gboolean              : Read / Write / Construct Only

if TRUE, Wocky will subscribe to the notifications of the node.

Default value: FALSE

Signal Details

The "changed" signal

void                user_function                      (WockyPepService *wockypepservice,
                                                        GObject         *arg1,
                                                        GObject         *arg2,
                                                        gpointer         user_data)            : Run Last / Has Details

wockypepservice :

the object which received the signal.

arg1 :

arg2 :

user_data :

user data set when the signal handler was connected.