Ejemplo n.º 1
0
 public Server(IPAddress ip, int port)
 {
     _listener = new TcpListener(ip, port); 
     _ircClients = new List<IrcClient>();
     _controller = new IrcController(_ircClients);
     _commandProcessor = new IrcCommandProcessor(_controller);
 }
Ejemplo n.º 2
0
 public IrcCommandProcessor(IrcController controller)
 {
     _controller = controller;
     _commandProperties = new Dictionary<IReceivedCommand, IrcCommandAttribute>();
     _availableCommands = FindAllAvailableCommands();
 }
Ejemplo n.º 3
0
 public IrcCommandProcessor(IrcController controller)
 {
     _controller        = controller;
     _commandProperties = new Dictionary <IReceivedCommand, IrcCommandAttribute>();
     _availableCommands = FindAllAvailableCommands();
 }