C# Class IrcShark.Extensions.Chatting.ChatManagerExtension

Inheritance: IrcShark.Extensions.Extension
ファイルを表示 Open project: hapm/IrcShark Class Usage Examples

Public Methods

Method Description
ChatManagerExtension ( ) : System

Initializes a new instance of the ChatManagerExtension class.

GetProtocol ( string name ) : IProtocolExtension

Gets the ProtocolExtension for the protocol with the given name.

LoadSettings ( ) : void

Loads all network settings.

RegisterProtocol ( IProtocolExtension prot ) : void

Registeres a new chat protocol, that can be used by the chatting extension.

SaveSettings ( ) : void

Saves all network settings.

Start ( ExtensionContext context ) : void

Starts the ChatManagerExtension.

Stop ( ) : void

Stops the ChatManagerExtension.

Private Methods

Method Description
Connection_StatusChanged ( object sender, StatusChangedEventArgs args ) : void

Handles the Connection.StatusChanged event.

openConnections_AddedConnection ( object sender, ConnectionEventArgs args ) : void

Handles the openConnections.ConnectionAdded event.

openConnections_RemovedConnection ( object sender, ConnectionEventArgs args ) : void

Handles the openConnections.RemovedConnection event.

Method Details

ChatManagerExtension() public method

Initializes a new instance of the ChatManagerExtension class.
public ChatManagerExtension ( ) : System
return System

GetProtocol() public method

Gets the ProtocolExtension for the protocol with the given name.
public GetProtocol ( string name ) : IProtocolExtension
name string The name of the protocol.
return IProtocolExtension

LoadSettings() public method

Loads all network settings.
public LoadSettings ( ) : void
return void

RegisterProtocol() public method

Registeres a new chat protocol, that can be used by the chatting extension.
public RegisterProtocol ( IProtocolExtension prot ) : void
prot IProtocolExtension /// An instance of the IProtocol interface for the given protocol. ///
return void

SaveSettings() public method

Saves all network settings.
public SaveSettings ( ) : void
return void

Start() public method

Starts the ChatManagerExtension.
public Start ( ExtensionContext context ) : void
context IrcShark.Extensions.ExtensionContext
return void

Stop() public method

Stops the ChatManagerExtension.
public Stop ( ) : void
return void