// Empty constructor makes instance of Thread public ChatGetter(IRCClient irc, int sleepTime) { _irc = irc; chatGetter = new Thread(new ThreadStart(this.Run)); messages = new List <string>(); this.sleepTime = sleepTime; }
// Empty constructor makes instance of Thread public PingSender(IRCClient irc, int threadSleepTime) { _irc = irc; pingSender = new Thread(new ThreadStart(this.Run)); this.sleepTime = threadSleepTime; }