Top |
void | d-bus-names-changed | Has Details |
void | new-tube | Has Details |
void | stream-tube-new-connection | Has Details |
void | tube-closed | Has Details |
void | tube-state-changed | Has Details |
A "tube" is a mechanism for arbitrary data transfer. This section documents the auto-generated C wrappers for the Tubes channel type.
void (*tp_svc_channel_type_tubes_accept_d_bus_tube_impl) (TpSvcChannelTypeTubes *self
,guint in_ID
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method AcceptDBusTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_accept_d_bus_tube (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_accept_d_bus_tube_impl impl
);
Register an implementation for the AcceptDBusTube method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_accept_d_bus_tube (DBusGMethodInvocation *context
,const gchar *out_Address
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_accept_stream_tube_impl) (TpSvcChannelTypeTubes *self
,guint in_ID
,guint in_Address_Type
,guint in_Access_Control
,const GValue *in_Access_Control_Param
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method AcceptStreamTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
self |
The object implementing this interface |
|
in_ID |
guint (FIXME, generate documentation) |
|
in_Address_Type |
guint (FIXME, generate documentation) |
|
in_Access_Control |
guint (FIXME, generate documentation) |
|
in_Access_Control_Param |
const GValue * (FIXME, generate documentation) |
|
context |
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_accept_stream_tube (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_accept_stream_tube_impl impl
);
Register an implementation for the AcceptStreamTube method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_accept_stream_tube (DBusGMethodInvocation *context
,const GValue *out_Address
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_close_tube_impl) (TpSvcChannelTypeTubes *self
,guint in_ID
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method CloseTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_close_tube (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_close_tube_impl impl
);
Register an implementation for the CloseTube method in the vtable of an implementation of this interface. To be called from the interface init function.
void
tp_svc_channel_type_tubes_return_from_close_tube
(DBusGMethodInvocation *context
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_get_available_stream_tube_types_impl) (TpSvcChannelTypeTubes *self
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method GetAvailableStreamTubeTypes on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_get_available_stream_tube_types (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_get_available_stream_tube_types_impl impl
);
Register an implementation for the GetAvailableStreamTubeTypes method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_get_available_stream_tube_types (DBusGMethodInvocation *context
,GHashTable *out_Available_Stream_Tube_Types
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_get_available_tube_types_impl) (TpSvcChannelTypeTubes *self
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method GetAvailableTubeTypes on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_get_available_tube_types (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_get_available_tube_types_impl impl
);
Register an implementation for the GetAvailableTubeTypes method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_get_available_tube_types (DBusGMethodInvocation *context
,const GArray *out_Available_Tube_Types
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_get_d_bus_names_impl) (TpSvcChannelTypeTubes *self
,guint in_ID
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method GetDBusNames on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_get_d_bus_names (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_get_d_bus_names_impl impl
);
Register an implementation for the GetDBusNames method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_get_d_bus_names (DBusGMethodInvocation *context
,const GPtrArray *out_DBus_Names
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_get_d_bus_tube_address_impl) (TpSvcChannelTypeTubes *self
,guint in_ID
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method GetDBusTubeAddress on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_get_d_bus_tube_address (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_get_d_bus_tube_address_impl impl
);
Register an implementation for the GetDBusTubeAddress method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_get_d_bus_tube_address (DBusGMethodInvocation *context
,const gchar *out_Address
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_get_stream_tube_socket_address_impl) (TpSvcChannelTypeTubes *self
,guint in_ID
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method GetStreamTubeSocketAddress on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_get_stream_tube_socket_address (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_get_stream_tube_socket_address_impl impl
);
Register an implementation for the GetStreamTubeSocketAddress method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_get_stream_tube_socket_address (DBusGMethodInvocation *context
,guint out_Address_Type
,const GValue *out_Address
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_list_tubes_impl) (TpSvcChannelTypeTubes *self
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method ListTubes on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_list_tubes (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_list_tubes_impl impl
);
Register an implementation for the ListTubes method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_list_tubes (DBusGMethodInvocation *context
,const GPtrArray *out_Tubes
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_offer_d_bus_tube_impl) (TpSvcChannelTypeTubes *self
,const gchar *in_Service
,GHashTable *in_Parameters
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method OfferDBusTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_implement_offer_d_bus_tube (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_offer_d_bus_tube_impl impl
);
Register an implementation for the OfferDBusTube method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_offer_d_bus_tube (DBusGMethodInvocation *context
,guint out_Tube_ID
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void (*tp_svc_channel_type_tubes_offer_stream_tube_impl) (TpSvcChannelTypeTubes *self
,const gchar *in_Service
,GHashTable *in_Parameters
,guint in_Address_Type
,const GValue *in_Address
,guint in_Access_Control
,const GValue *in_Access_Control_Param
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method OfferStreamTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
self |
The object implementing this interface |
|
in_Service |
const gchar * (FIXME, generate documentation) |
|
in_Parameters |
GHashTable * (FIXME, generate documentation) |
|
in_Address_Type |
guint (FIXME, generate documentation) |
|
in_Address |
const GValue * (FIXME, generate documentation) |
|
in_Access_Control |
guint (FIXME, generate documentation) |
|
in_Access_Control_Param |
const GValue * (FIXME, generate documentation) |
|
context |
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_offer_stream_tube (TpSvcChannelTypeTubesClass *klass
,tp_svc_channel_type_tubes_offer_stream_tube_impl impl
);
Register an implementation for the OfferStreamTube method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_channel_type_tubes_return_from_offer_stream_tube (DBusGMethodInvocation *context
,guint out_Tube_ID
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void tp_svc_channel_type_tubes_emit_d_bus_names_changed (gpointer instance
,guint arg_ID
,const GPtrArray *arg_Added
,const GArray *arg_Removed
);
Type-safe wrapper around g_signal_emit to emit the DBusNamesChanged signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_emit_new_tube (gpointer instance
,guint arg_ID
,guint arg_Initiator
,guint arg_Type
,const gchar *arg_Service
,GHashTable *arg_Parameters
,guint arg_State
);
Type-safe wrapper around g_signal_emit to emit the NewTube signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
instance |
The object implementing this interface |
|
arg_ID |
guint (FIXME, generate documentation) |
|
arg_Initiator |
guint (FIXME, generate documentation) |
|
arg_Type |
guint (FIXME, generate documentation) |
|
arg_Service |
const gchar * (FIXME, generate documentation) |
|
arg_Parameters |
GHashTable * (FIXME, generate documentation) |
|
arg_State |
guint (FIXME, generate documentation) |
void tp_svc_channel_type_tubes_emit_stream_tube_new_connection (gpointer instance
,guint arg_ID
,guint arg_Handle
);
Type-safe wrapper around g_signal_emit to emit the StreamTubeNewConnection signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
void tp_svc_channel_type_tubes_emit_tube_closed (gpointer instance
,guint arg_ID
);
Type-safe wrapper around g_signal_emit to emit the TubeClosed signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
typedef struct _TpSvcChannelTypeTubes TpSvcChannelTypeTubes;
Dummy typedef representing any implementation of this interface.
typedef struct _TpSvcChannelTypeTubesClass TpSvcChannelTypeTubesClass;
The class of TpSvcChannelTypeTubes.
In a full implementation of this interface (i.e. all
methods implemented), the interface initialization
function used in G_IMPLEMENT_INTERFACE()
would
typically look like this:
static void implement_channel_type_tubes (gpointer klass, gpointer unused G_GNUC_UNUSED) { #define IMPLEMENT(x) tp_svc_channel_type_tubes_implement_##x (\ klass, my_object_##x) IMPLEMENT (get_available_stream_tube_types); IMPLEMENT (get_available_tube_types); IMPLEMENT (list_tubes); IMPLEMENT (offer_d_bus_tube); IMPLEMENT (offer_stream_tube); IMPLEMENT (accept_d_bus_tube); IMPLEMENT (accept_stream_tube); IMPLEMENT (close_tube); IMPLEMENT (get_d_bus_tube_address); IMPLEMENT (get_d_bus_names); IMPLEMENT (get_stream_tube_socket_address); #undef IMPLEMENT }
“d-bus-names-changed”
signalvoid user_function (TpSvcChannelTypeTubes *self, guint arg_ID, GArray_guint_ *arg_Removed, gpointer user_data)
The DBusNamesChanged D-Bus signal is emitted whenever this GObject signal is.
self |
an object |
|
arg_ID |
guint (FIXME, generate documentation) |
|
arg_Added |
const GPtrArray * (FIXME, generate documentation) |
|
arg_Removed |
const GArray * (FIXME, generate documentation) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
“new-tube”
signalvoid user_function (TpSvcChannelTypeTubes *self, guint arg_ID, guint arg_Initiator, guint arg_Type, gchar *arg_Service, guint arg_State, gpointer user_data)
The NewTube D-Bus signal is emitted whenever this GObject signal is.
self |
an object |
|
arg_ID |
guint (FIXME, generate documentation) |
|
arg_Initiator |
guint (FIXME, generate documentation) |
|
arg_Type |
guint (FIXME, generate documentation) |
|
arg_Service |
const gchar * (FIXME, generate documentation) |
|
arg_Parameters |
GHashTable * (FIXME, generate documentation) |
|
arg_State |
guint (FIXME, generate documentation) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
“stream-tube-new-connection”
signalvoid user_function (TpSvcChannelTypeTubes *self, guint arg_ID, guint arg_Handle, gpointer user_data)
The StreamTubeNewConnection D-Bus signal is emitted whenever this GObject signal is.
self |
an object |
|
arg_ID |
guint (FIXME, generate documentation) |
|
arg_Handle |
guint (FIXME, generate documentation) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
“tube-closed”
signalvoid user_function (TpSvcChannelTypeTubes *self, guint arg_ID, gpointer user_data)
The TubeClosed D-Bus signal is emitted whenever this GObject signal is.
self |
an object |
|
arg_ID |
guint (FIXME, generate documentation) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
“tube-state-changed”
signalvoid user_function (TpSvcChannelTypeTubes *self, guint arg_ID, guint arg_State, gpointer user_data)
The TubeStateChanged D-Bus signal is emitted whenever this GObject signal is.
self |
an object |
|
arg_ID |
guint (FIXME, generate documentation) |
|
arg_State |
guint (FIXME, generate documentation) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details