C# Class jabber.connection.ParticipantCollection

Inheritance: IEnumerable
Mostra file Open project: codebutler/jabber-net Class Usage Examples

Public Methods

Method Description
GetEnumerator ( ) : IEnumerator

Enumerate over all of the participants

GetParticipantsByAffiliation ( RoomAffiliation affiliation ) : jabber.connection.RoomParticipant[]

Get all of the participants that are in a given room affiliation.

GetParticipantsByRole ( RoomRole role ) : jabber.connection.RoomParticipant[]

Get all of the participants that are in a given room role.

this ( JID nickJid ) : RoomParticipant

Get a participant by their room@service/nick JID.

Private Methods

Method Description
Modify ( Presence pres, Modification &mod ) : RoomParticipant

Add a participant to the list, indexed by full nick JID.

Method Details

GetEnumerator() public method

Enumerate over all of the participants
public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetParticipantsByAffiliation() public method

Get all of the participants that are in a given room affiliation.
public GetParticipantsByAffiliation ( RoomAffiliation affiliation ) : jabber.connection.RoomParticipant[]
affiliation RoomAffiliation The role to search for
return jabber.connection.RoomParticipant[]

GetParticipantsByRole() public method

Get all of the participants that are in a given room role.
public GetParticipantsByRole ( RoomRole role ) : jabber.connection.RoomParticipant[]
role RoomRole The role to search for
return jabber.connection.RoomParticipant[]

this() public method

Get a participant by their room@service/nick JID.
public this ( JID nickJid ) : RoomParticipant
nickJid JID room@service/nick
return RoomParticipant