Class

P2pandaTopic

Description [src]

final class P2panda.Topic : GObject.Object
{
  /* No available fields */
}

The subscription handle to a topic.

Ancestors

Constructors

p2panda_topic_new

Create a topic handle for the give P2pandaNode.

Instance methods

p2panda_topic_publish_async

Publish a message to a topic.

p2panda_topic_publish_finish

Finishes the p2panda_topic_publish_async() call.

p2panda_topic_spawn_async

Spawn the topic.

p2panda_topic_spawn_finish

Finishes the p2panda_topic_spawn_async() call.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

P2panda.Topic:flags

Configuration for the P2pandaTopic.

P2panda.Topic:node

A spawned P2pandaNode.

P2panda.Topic:topic-id

The id of the topic this P2pandaTopic will be subscribed to.

Signals

P2panda.Topic::ephemeral-message

Emitted on incomming ephemeral message.

P2panda.Topic::error

Emitted when a topic finishes syncing.

P2panda.Topic::message

Emitted on incomming persistent message.

P2panda.Topic::sync-ended

Emitted when a topic finishes syncing.

P2panda.Topic::sync-started

Emitted for errors.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct P2pandaTopicClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.