C# Класс CentralServerDemo.MainForm

iConf SDK.NET Central Server Demo This application demonstrates the use of the iConf.NET SDK and the Central Server service to create a 'multi party' conferencing application
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
gbCentralServerMode System.Windows.Forms.GroupBox
label1 System.Windows.Forms.Label
label2 System.Windows.Forms.Label
txtCentralIp System.Windows.Forms.TextBox
txtCentralPort System.Windows.Forms.TextBox

Открытые методы

Метод Описание
ContactListUpdated ( ) : void
UpdateContactList ( Hashtable contactList ) : void

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void
GetHumanReadableFileSize ( long fileSize ) : string

Convert bytes to a human readable format

InitializeComponent ( ) : void
LoadAudioDevices ( ) : void

Laods the list of audio devices found on the system

LoadVideoDevices ( ) : void

Loads the list of video capture devices found on the system

MainForm ( ) : System
MainForm_FormClosing ( object sender, System e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
NewContactRequest ( string fromUser ) : void
ProcessFileShareRequest ( string fileId, string fromuser, string filename, long fileSize ) : void
ProcessJoinedConferenceRoom ( string roomName ) : void
ProcessLogout ( ) : void
ReadyToShareScreen ( ) : void
ScreenControlRequested ( bool accept, string toUser ) : void
ViewScreen ( string keyToConnect, string fromUser ) : void
btnAudioSettings_Click ( object sender, EventArgs e ) : void
btnChangePassword_Click ( object sender, EventArgs e ) : void
btnChangeStatusMessage_Click ( object sender, EventArgs e ) : void
btnCheckConnection_Click ( object sender, EventArgs e ) : void
btnDeletePic_Click ( object sender, EventArgs e ) : void
btnHelpIP_Click ( object sender, EventArgs e ) : void
btnJoinPrivateRoom_Click ( object sender, EventArgs e ) : void
btnLogin_Click ( object sender, System e ) : void
btnLogout_Click ( object sender, System e ) : void
btnMuteUnmute_Click ( object sender, System e ) : void
btnRegister_Click ( object sender, EventArgs e ) : void
btnScreenShare_Click ( object sender, EventArgs e ) : void
btnScreenSharing_CheckedChanged ( object sender, EventArgs e ) : void
btnSelectMovieFile_Click ( object sender, EventArgs e ) : void
btnSnapPicture_Click ( object sender, EventArgs e ) : void
btnStartConference_Click ( object sender, System e ) : void
btnViewConferenceChat_Click ( object sender, EventArgs e ) : void
cbWebcam_SelectedIndexChanged ( object sender, EventArgs e ) : void
chkVoiceActivation_CheckedChanged ( object sender, EventArgs e ) : void
ics_AddContactRequestResponse ( object sender, bool addContactSuccess, string messageFromServer ) : void
ics_ChangePasswordReponse ( string response, bool success ) : void
ics_ConferenceMessageReceived ( object sender, string messageReceived, string fromUser ) : void
ics_ConferencePrivateMessageReceived ( string messagereceived, string fromuser ) : void
ics_ConferenceRequest ( object sender, System leader, System otherUsers, System otherUsersStr, System conferenceId ) : void
ics_ConferenceRequestRejected ( string rejectedByUser, string reasonsForRejection ) : void
ics_ContactListReceived ( object sender, System contactListHash, System contactList ) : void
ics_ContactStatusChanged ( object sender, System contactUserName, System newStatusCode ) : void
ics_ContactStatusMessageChanged ( string contactUserName, string newStatusMessage ) : void
ics_CustomObjectReceived ( string fromuser, string customobject ) : void
ics_DisconnectedFromCentralServer ( object sender ) : void
ics_FileDownloadCompleted ( string fileId, string originalFileName, string saveFileTo ) : void
ics_FileDownloadProgress ( string fileId, string originalFileName, string saveFileTo, int progressPercentage, long bytesReceived, long totalBytesToReceive ) : void
ics_JoinedConferenceRoom ( string roomName ) : void
ics_Log ( string logMessage ) : void
ics_LoginResponse ( object sender, System loginSuccess, System messageFromServer ) : void

Login response event handler

ics_LogoutResponse ( object sender, System logoutSuccess, System messageFromServer ) : void
ics_NewContactRequest ( object sender, string fromuser ) : void
ics_NewFileShareRequest ( string fileId, string fromuser, string filename, long fileSize ) : void
ics_PendingContactRequest ( object sender, Hashtable contactsHash, string contacts ) : void
ics_ProfilePictureUpdated ( ) : void
ics_ReadyToShareScreen ( ) : void
ics_RegistrationResponse ( object sender, bool registrationSuccess, string messageFromServer ) : void

Registration response event handler

ics_RemoveContactResponse ( object sender, string messageFromServer, bool removalSuccess, string userToRemove ) : void
ics_ScreenSharingSessionAvailable ( string fromUser, string keyToConnect ) : void
ics_Talking ( string userName, bool talking ) : void
ics_UserJoinedConference ( object sender, System userName ) : void
ics_UserLeftConference ( object sender, System userName ) : void
ics_VideoPreviewStarted ( int videoWidth, int videoHeight, string deviceName ) : void
ics_ViewUserResponseReceived ( object sender, System userName, System port, System videoWidth, System videoHeight, System videoCodec ) : void
lblAdd_Click ( object sender, EventArgs e ) : void
lblLeaveConference_Click ( object sender, System e ) : void
lblLoginStatus_Click ( object sender, EventArgs e ) : void
lblRemove_Click ( object sender, EventArgs e ) : void
lstShareFiles_DoubleClick ( object sender, EventArgs e ) : void
lvInConferenceWith_DoubleClick ( object sender, System e ) : void
masterVolume_ValueChanged ( object sender, EventArgs e ) : void
rdWebcam_CheckedChanged ( object sender, EventArgs e ) : void
sendCustomObjectTestToolStripMenuItem_Click ( object sender, EventArgs e ) : void
shareFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
timerInputLevel_Tick ( object sender, EventArgs e ) : void
toolStripMenuItemShareFileWithContact_Click ( object sender, EventArgs e ) : void
txtUserName_Enter ( object sender, EventArgs e ) : void
voiceActivationLevel_ValueChanged ( object sender, EventArgs e ) : void

Описание методов

ContactListUpdated() публичный Метод

public ContactListUpdated ( ) : void
Результат void

UpdateContactList() публичный Метод

public UpdateContactList ( Hashtable contactList ) : void
contactList System.Collections.Hashtable
Результат void

Описание свойств

gbCentralServerMode публичное свойство

public GroupBox,System.Windows.Forms gbCentralServerMode
Результат System.Windows.Forms.GroupBox

label1 публичное свойство

public Label,System.Windows.Forms label1
Результат System.Windows.Forms.Label

label2 публичное свойство

public Label,System.Windows.Forms label2
Результат System.Windows.Forms.Label

txtCentralIp публичное свойство

public TextBox,System.Windows.Forms txtCentralIp
Результат System.Windows.Forms.TextBox

txtCentralPort публичное свойство

public TextBox,System.Windows.Forms txtCentralPort
Результат System.Windows.Forms.TextBox