libmissioncontrol-server Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
#include <mcd-channel.h> McdChannel; enum McdChannelStatus; McdChannelStatus mcd_channel_get_status (McdChannel *channel); gboolean mcd_channel_get_members_accepted (McdChannel *channel); const gchar* mcd_channel_get_channel_type (McdChannel *channel); GQuark mcd_channel_get_channel_type_quark (McdChannel *channel); const gchar* mcd_channel_get_object_path (McdChannel *channel); guint mcd_channel_get_handle (McdChannel *channel); TpHandleType mcd_channel_get_handle_type (McdChannel *channel); const gchar * mcd_channel_get_name (McdChannel *channel); gboolean mcd_channel_is_requested (McdChannel *channel); McdAccount * mcd_channel_get_account (McdChannel *channel);
"account-path" DBusGObjectPath* : Read "interfaces" GStrv* : Read "outgoing" gboolean : Read / Write / Construct Only "preferred-handler" gchar* : Read "requests" GPtrArray_GHashTable_gchararray+GValue__* : Read "tp-channel" TpChannel* : Read / Write / Construct "user-action-time" gint64 : Read
typedef enum { MCD_CHANNEL_STATUS_UNDISPATCHED, /* used for channels created in the NewChannel signal before the connection is ready */ MCD_CHANNEL_STATUS_REQUEST, /* Telepathy channel is not yet created */ MCD_CHANNEL_STATUS_REQUESTED, /* Channel has been requested from the CM */ MCD_CHANNEL_STATUS_DISPATCHING, /* Telepathy channel is created and waiting dispatch */ MCD_CHANNEL_STATUS_HANDLER_INVOKED, MCD_CHANNEL_STATUS_DISPATCHED, /* Channel has been dispatched to handler */ MCD_CHANNEL_STATUS_FAILED, /* Channel creation failed, or channel could not be dispached to a handler */ MCD_CHANNEL_STATUS_ABORTED, /* Channel has been aborted */ } McdChannelStatus;
McdChannelStatus mcd_channel_get_status (McdChannel *channel);
|
|
Returns : |
gboolean mcd_channel_get_members_accepted (McdChannel *channel);
|
|
Returns : |
const gchar* mcd_channel_get_channel_type (McdChannel *channel);
|
|
Returns : |
GQuark mcd_channel_get_channel_type_quark (McdChannel *channel);
|
|
Returns : |
const gchar* mcd_channel_get_object_path (McdChannel *channel);
|
|
Returns : |
TpHandleType mcd_channel_get_handle_type (McdChannel *channel);
|
|
Returns : |
const gchar * mcd_channel_get_name (McdChannel *channel);
Get the Telepathy name of channel
(calls InspectHandles on the channel
handle).
|
the McdChannel. |
Returns : |
a const string holding the channel name. |
gboolean mcd_channel_is_requested (McdChannel *channel);
|
the McdChannel. |
Returns : |
TRUE if channel was requested, FALSE otherwise.
|
McdAccount * mcd_channel_get_account (McdChannel *channel);
|
the McdChannel. |
Returns : |
the McdAccount on which this channel was created. |
"outgoing"
property"outgoing" gboolean : Read / Write / Construct Only
True if the channel was requested by us.
Default value: FALSE
"preferred-handler"
property"preferred-handler" gchar* : Read
Well-known bus name of the preferred Handler.
Default value: NULL
"requests"
property"requests" GPtrArray_GHashTable_gchararray+GValue__* : Read
A dbus-glib aa{sv}.
"user-action-time"
property"user-action-time" gint64 : Read
Time of user action in seconds since 1970.
Default value: 0
"members-accepted"
signalvoid user_function (McdChannel *mcdchannel, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"status-changed"
signalvoid user_function (McdChannel *mcdchannel, gint arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |