Describes the internet relay chat protocol and its parameters.
This class is a singleton and therfor can't be instanciated more than once.
상속: IProtocol
예제 #1
0
 public void Init()
 {
     instance = IrcProtocol.GetInstance();
 }
예제 #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;
        }