![]() |
![]() |
![]() |
libinfinity-0.4 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
InfCommunicationJoinedGroupInfCommunicationJoinedGroup — Communication group opened by a remote host |
#include <libinfinity/communication/inf-communication-joined-group.h> InfCommunicationJoinedGroup; struct InfCommunicationJoinedGroupClass; void inf_communication_joined_group_remove_member (InfCommunicationJoinedGroup *grp
,InfXmlConnection *connection
); InfXmlConnection * inf_communication_joined_group_get_publisher (InfCommunicationJoinedGroup *g
);
"method" gchar* : Read / Write / Construct Only "publisher" InfXmlConnection* : Read / Write / Construct Only
InfCommunicationJoinedGroup represents membership of the local host on a InfCommunicationGroup opened on a remote host.
There is no API to add a member to a joined group. This is because new members can only join via the group's publisher. It is the job of the InfCommunicationMethod to tell the joined group about the new member in which case, the "member-added" signal will be emitted.
typedef struct _InfCommunicationJoinedGroup InfCommunicationJoinedGroup;
InfCommunicationJoinedGroup is an opaque data type. You should only access it via the public API functions.
struct InfCommunicationJoinedGroupClass { };
This structure does not contain any public fields.
void inf_communication_joined_group_remove_member (InfCommunicationJoinedGroup *grp
,InfXmlConnection *connection
);
Removes connection
as grp
's member. On the remote site, the
corresponding InfCommunicationGroup needs to be freed (which may be a
InfCommunicationJoinedGroup or a InfCommunicationHostedGroup).
|
A InfCommunicationJoinedGroup. |
|
A connection to a member of grp .
|
InfXmlConnection * inf_communication_joined_group_get_publisher
(InfCommunicationJoinedGroup *g
);
Returns a InfXmlConnection to the group's publisher, or NULL
if the
publisher is no longer a group member.
|
A InfCommunicationJoinedGroup. |
Returns : |
A InfXmlConnection, or NULL .
|
"method"
property"method" gchar* : Read / Write / Construct Only
The communication method to use for this group.
Default value: NULL
"publisher"
property"publisher" InfXmlConnection* : Read / Write / Construct Only
A connection to the group's publisher.