상속: System.MarshalByRefObject
예제 #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();
 }
예제 #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="connection"></param>
 public WriteThread(IrcConnection connection)
 {
     this.connection = connection;
 }
예제 #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="connection"></param>
 public IdleWorkerThread(IrcConnection connection)
 {
     this.connection = connection;
 }
예제 #4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="connection"></param>
 public ReadThread(IrcConnection connection)
 {
     Queue = Queue.Synchronized(new Queue());
     this.connection = connection;
 }