Inheritance: System.MarshalByRefObject
Example #1
0
 public static void IrcConnectionList()
 {
     IrcConnection irc = new IrcConnection();
     irc.OnReadLine += new EventHandler<ReadLineEventArgs>(IrcConnectionListCallback);
     irc.Connect(SERVER, PORT);
     irc.WriteLine(Rfc2812.Nick(NICK), Priority.Critical);
     irc.WriteLine(Rfc2812.User(NICK, 0, REALNAME), Priority.Critical);
     irc.WriteLine(Rfc2812.List(CHANNEL));
     irc.Listen();
 }
Example #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="connection"></param>
 public WriteThread(IrcConnection connection)
 {
     this.connection = connection;
 }
Example #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="connection"></param>
 public IdleWorkerThread(IrcConnection connection)
 {
     this.connection = connection;
 }
Example #4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="connection"></param>
 public ReadThread(IrcConnection connection)
 {
     Queue = Queue.Synchronized(new Queue());
     this.connection = connection;
 }