public UserInfo(IrcDaemon ircDaemon, Socket socket, string host, bool isAcceptSocket, bool passAccepted) : base(ircDaemon) { IsService = false; Registered = false; PassAccepted = passAccepted; Host = host; Created = DateTime.Now; IsAcceptSocket = isAcceptSocket; Socket = socket; Modes = new UserModeList(ircDaemon); }
public UserInfo(IrcDaemon ircDaemon, Socket socket, string host, bool isAcceptSocket, bool passAccepted) : base(ircDaemon) { IsService = false; Registered = false; PassAccepted = passAccepted; Host = host; Created = DateTime.Now; this.isAcceptSocket = isAcceptSocket; this.socket = socket; modes = new UserModeList(ircDaemon); }
protected InfoBase(IrcDaemon ircDaemon) { this.ircDaemon = ircDaemon; }
public ServerInfo(IrcDaemon ircDaemon) : base(ircDaemon) { }
public RehashEventArgs(IrcDaemon ircDaemon, UserInfo userInfo) { this.ircDaemon = ircDaemon; this.userInfo = userInfo; }
public ServerStats(IrcDaemon ircDaemon) { this.ircDaemon = ircDaemon; }
public RehashEventArgs(IrcDaemon ircDaemon, UserInfo userInfo) { IrcDaemon = ircDaemon; UserInfo = userInfo; }
public static void Start() { var settings = new Settings(); var ircDaemon = new IrcDaemon(settings.GetIrcMode()); settings.SetDaemon(ircDaemon); settings.LoadSettings(); if (blocking) { ircDaemon.Start(); } else { ircDaemon.ServerRehash += ServerRehash; var serverThread = new Thread(ircDaemon.Start) { IsBackground = false, Name = "serverThread-1" }; serverThread.Start(); } }