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
Esempio n. 1
0
 public void Init()
 {
     instance = IrcProtocol.GetInstance();
 }
Esempio n. 2
0
        /// <summary>
        /// Gets the instance of the protocol representation class.
        /// </summary>
        /// <returns>The singleton instance.</returns>
        public static IrcProtocol GetInstance()
        {
            if (instance == null)
            {
                instance = new IrcProtocol();
            }

            return instance;
        }