Exemplo n.º 1
0
 public IrcBot(IOutputInterface outputInterface, string server, int port, string channel, string username)
 {
     _outputInterface = outputInterface;
     _server          = server;
     _port            = port;
     _channel         = channel;
     _username        = username;
     _responders      = new List <IResponder>();
 }
Exemplo n.º 2
0
 public IrcBot(IOutputInterface outputInterface, string server, int port, string channel, string username)
 {
     _outputInterface = outputInterface;
     _server = server;
     _port = port;
     _channel = channel;
     _username = username;
     _responders = new List<IResponder>();
 }
Exemplo n.º 3
0
 // Empty constructor makes instance of Thread
 public PingSender(IOutputInterface outputInterface, string server)
 {
     _outputInterface = outputInterface;
     _server          = server;
     _pingThread      = new Thread(this.Run);
 }