C# 클래스 jabber.connection.ConferenceManager

상속: jabber.connection.StreamComponent
파일 보기 프로젝트 열기: codebutler/jabber-net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ConferenceManager_OnStreamChanged void
GotUnique void
InitializeComponent void
Stream_OnProtocol void

공개 메소드들

메소드 설명
ConferenceManager ( ) : System

Creates a new conference manager.

ConferenceManager ( IContainer container ) : System

Creates a new conference manager in a container

GetRoom ( JID roomAndNick ) : Room

Joins a conference room.

GetUniqueRoom ( string server, string nick, RoomStateEvent callback, object state ) : void

Get a unique room name from the given server, and create a Room object for that room with the given nick. You'll be called back on "callback" when complete; the Room will be null if there was an error or timeout. Note: the server should implement the feature http://jabber.org/protocol/muc#unique, or this will return an error. To work around, just create a room with a Guid for a name.

HasRoom ( JID roomAndNick ) : bool

Determines whether or not the conference room is being managed by this ConferenceManager.

RemoveRoom ( JID roomAndNick ) : void

Removes the room from the list. Should most often be called by the Room.Leave() method. If the room does not exist, no exception is thrown.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Performs tasks associated with freeing, releasing, or resetting resources.

비공개 메소드들

메소드 설명
ConferenceManager_OnStreamChanged ( object sender ) : void
GotUnique ( object sender, IQ iq, object state ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Stream_OnProtocol ( object sender, System rp ) : void

메소드 상세

ConferenceManager() 공개 메소드

Creates a new conference manager.
public ConferenceManager ( ) : System
리턴 System

ConferenceManager() 공개 메소드

Creates a new conference manager in a container
public ConferenceManager ( IContainer container ) : System
container IContainer Parent container.
리턴 System

Dispose() 보호된 메소드

Performs tasks associated with freeing, releasing, or resetting resources.
protected Dispose ( bool disposing ) : void
disposing bool True if managed resources should be disposed; otherwise, false.
리턴 void

GetRoom() 공개 메소드

Joins a conference room.
public GetRoom ( JID roomAndNick ) : Room
roomAndNick JID room@conference/nick, where "nick" is the desred nickname in the room.
리턴 Room

GetUniqueRoom() 공개 메소드

Get a unique room name from the given server, and create a Room object for that room with the given nick. You'll be called back on "callback" when complete; the Room will be null if there was an error or timeout. Note: the server should implement the feature http://jabber.org/protocol/muc#unique, or this will return an error. To work around, just create a room with a Guid for a name.
public GetUniqueRoom ( string server, string nick, RoomStateEvent callback, object state ) : void
server string The server to send the request to
nick string The nickname desired in the new room
callback RoomStateEvent A callback to be called when the room is created
state object State object to be passed back when the callback fires
리턴 void

HasRoom() 공개 메소드

Determines whether or not the conference room is being managed by this ConferenceManager.
public HasRoom ( JID roomAndNick ) : bool
roomAndNick JID Room to look for.
리턴 bool

RemoveRoom() 공개 메소드

Removes the room from the list. Should most often be called by the Room.Leave() method. If the room does not exist, no exception is thrown.
public RemoveRoom ( JID roomAndNick ) : void
roomAndNick JID Room to remove.
리턴 void