Class

IbisMessage

since: 0.1

Description [src]

final class Ibis.Message : GObject.Object
{
  /* No available fields */
}

A representation of an IRCv3 message.

Available since: 0.1

Ancestors

Constructors

ibis_message_new

Creates a new message with command.

since: 0.1

Functions

ibis_message_parse

Attempts to parse a raw IRC message from buffer.

since: 0.1

Instance methods

ibis_message_get_command

Gets the command of the message.

since: 0.1

ibis_message_get_command_quark

Gets the GQuark for message.

since: 0.4

ibis_message_get_ctcp

Gets whether or not message is a CTCP message.

since: 0.1

ibis_message_get_ctcp_message

Gets the IbisCTCPMessage from message.

since: 0.5

ibis_message_get_error

Gets the error for message.

since: 0.1

ibis_message_get_params

Gets the parameters from message.

since: 0.1

ibis_message_get_raw_message

Gets the raw-message that message was parsed from.

since: 0.1

ibis_message_get_source

Gets the the source of message.

since: 0.1

ibis_message_get_standard_reply

Gets the IbisStandardReply from message.

since: 0.8

ibis_message_get_tags

Gets the tags from message.

since: 0.1

ibis_message_get_timestamp

Gets the value of the time tag if it exists.

since: 0.1

ibis_message_is_command

Checks if IbisMessage:command is command.

since: 0.7

ibis_message_serialize

Serializes message into a GBytes.

since: 0.1

ibis_message_serialize_to_string

Serializes message into a string.

since: 0.1

ibis_message_set_ctcp

Sets message to be a CTCP message or not.

deprecated: 0.5 since: 0.1

ibis_message_set_ctcp_message

Sets the CTCP message of message to ctcp_message.

since: 0.5

ibis_message_set_error

Sets the error for message to error.

since: 0.1

ibis_message_set_params

Sets the parameters of message.

since: 0.1

ibis_message_set_paramsv

Sets the parameters of message to params.

since: 0.1

ibis_message_set_source

Sets the source of message to source.

since: 0.1

ibis_message_set_tags

Sets the tags of message to tags.

since: 0.1

ibis_message_take_error

Sets the error for message to error taking ownership of error.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Ibis.Message:command

The command of this message.

since: 0.1

Ibis.Message:command-quark

The GQuark for the command of this message.

since: 0.4

Ibis.Message:ctcp

Whether or not the message is a CTCP message.

since: 0.1

Ibis.Message:ctcp-message

The CTCP message that makes up the body of this message.

since: 0.5

Ibis.Message:error

An error that was encountered when processing the message.

since: 0.1

Ibis.Message:params

The parameters of the message.

since: 0.1

Ibis.Message:raw-message

The raw message that was parsed.

since: 0.1

Ibis.Message:source

The source of the message.

since: 0.1

Ibis.Message:standard-reply

The IbisStandardReply if the message is a standard reply.

since: 0.8

Ibis.Message:tags

The ircv3 message tags for the message.

since: 0.1

Signals

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 IbisMessageClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.