C# Class IrcShark.Chatting.Irc.IrcProtocol

Describes the internet relay chat protocol and its parameters.
This class is a singleton and therfor can't be instanciated more than once.
Inheritance: IProtocol
Exibir arquivo Open project: hapm/IrcShark Class Usage Examples

Public Methods

Method Description
CreateNetwork ( string name ) : INetwork

Creates a new network configuration, for the implemented protocol.

GetInstance ( ) : IrcProtocol

Gets the instance of the protocol representation class.

Private Methods

Method Description
IrcProtocol ( ) : System

Prevents a default instance of the IrcProtocol class from being created.

Method Details

CreateNetwork() public method

Creates a new network configuration, for the implemented protocol.
public CreateNetwork ( string name ) : INetwork
name string The name of the network configuration.
return INetwork

GetInstance() public static method

Gets the instance of the protocol representation class.
public static GetInstance ( ) : IrcProtocol
return IrcProtocol