| libempathy Reference Manual | ||||
|---|---|---|---|---|
EmpathyDispatchOperation;
enum EmpathyDispatchOperationState;
EmpathyDispatchOperation* empathy_dispatch_operation_new
(TpConnection *connection,
TpChannel *channel,
EmpathyContact *contact,
gboolean incoming);
EmpathyDispatchOperation* empathy_dispatch_operation_new_with_wrapper
(TpConnection *connection,
TpChannel *channel,
EmpathyContact *contact,
gboolean incoming,
GObject *channel_wrapper);
void empathy_dispatch_operation_start (EmpathyDispatchOperation *operation);
void empathy_dispatch_operation_approve (EmpathyDispatchOperation *operation);
gboolean empathy_dispatch_operation_claim (EmpathyDispatchOperation *operation);
TpChannel* empathy_dispatch_operation_get_channel
(EmpathyDispatchOperation *operation);
GObject* empathy_dispatch_operation_get_channel_wrapper
(EmpathyDispatchOperation *operation);
TpConnection* empathy_dispatch_operation_get_tp_connection
(EmpathyDispatchOperation *operation);
const gchar* empathy_dispatch_operation_get_channel_type
(EmpathyDispatchOperation *operation);
GQuark empathy_dispatch_operation_get_channel_type_id
(EmpathyDispatchOperation *operation);
const gchar* empathy_dispatch_operation_get_object_path
(EmpathyDispatchOperation *operation);
EmpathyDispatchOperationState empathy_dispatch_operation_get_status
(EmpathyDispatchOperation *operation);
gboolean empathy_dispatch_operation_is_incoming
(EmpathyDispatchOperation *operation);
"channel" TpChannel* : Read / Write / Construct Only "channel-wrapper" GObject* : Read / Write / Construct Only "connection" TpConnection* : Read / Write / Construct Only "contact" EmpathyContact* : Read / Write / Construct "incoming" gboolean : Read / Write / Construct Only "status" EmpathyDispatchOperationState : Read
typedef enum {
/* waiting for the channel information to be ready */
EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING = 0,
/* Information gathered ready to be dispatched */
EMPATHY_DISPATCHER_OPERATION_STATE_PENDING,
/* Send to approving bits for approval */
EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING,
/* Send to handlers for dispatching */
EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING,
/* somebody claimed the channel */
EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED,
/* dispatch operation invalidated, underlying channel died */
EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED,
} EmpathyDispatchOperationState;
EmpathyDispatchOperation* empathy_dispatch_operation_new (TpConnection *connection, TpChannel *channel, EmpathyContact *contact, gboolean incoming);
|
|
|
|
|
|
|
|
Returns : |
EmpathyDispatchOperation* empathy_dispatch_operation_new_with_wrapper (TpConnection *connection, TpChannel *channel, EmpathyContact *contact, gboolean incoming, GObject *channel_wrapper);
|
|
|
|
|
|
|
|
|
|
Returns : |
void empathy_dispatch_operation_start (EmpathyDispatchOperation *operation);
|
void empathy_dispatch_operation_approve (EmpathyDispatchOperation *operation);
|
gboolean empathy_dispatch_operation_claim (EmpathyDispatchOperation *operation);
|
|
Returns : |
TpChannel* empathy_dispatch_operation_get_channel (EmpathyDispatchOperation *operation);
|
|
Returns : |
GObject* empathy_dispatch_operation_get_channel_wrapper (EmpathyDispatchOperation *operation);
|
|
Returns : |
TpConnection* empathy_dispatch_operation_get_tp_connection (EmpathyDispatchOperation *operation);
|
|
Returns : |
const gchar* empathy_dispatch_operation_get_channel_type (EmpathyDispatchOperation *operation);
|
|
Returns : |
GQuark empathy_dispatch_operation_get_channel_type_id (EmpathyDispatchOperation *operation);
|
|
Returns : |
const gchar* empathy_dispatch_operation_get_object_path (EmpathyDispatchOperation *operation);
|
|
Returns : |
EmpathyDispatchOperationState empathy_dispatch_operation_get_status (EmpathyDispatchOperation *operation);
|
|
Returns : |
gboolean empathy_dispatch_operation_is_incoming (EmpathyDispatchOperation *operation);
|
|
Returns : |
"channel-wrapper" property"channel-wrapper" GObject* : Read / Write / Construct Only
The empathy specific channel wrapper.
"connection" property"connection" TpConnection* : Read / Write / Construct Only
The telepathy connection.
"incoming" property"incoming" gboolean : Read / Write / Construct Only
Whether or not the channel is incoming.
Default value: FALSE
"status" property"status" EmpathyDispatchOperationState : Read
Status of the dispatch operation.
Default value: EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING
"approved" signalvoid user_function (EmpathyDispatchOperation *empathydispatchoperation, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"claimed" signalvoid user_function (EmpathyDispatchOperation *empathydispatchoperation, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"invalidated" signalvoid user_function (EmpathyDispatchOperation *empathydispatchoperation, guint arg1, gint arg2, gchar *arg3, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
"ready" signalvoid user_function (EmpathyDispatchOperation *empathydispatchoperation, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |