Exemple #1
0
 internal DCC(ServerConnection creatorsServerConnection, Connection Parent)
     : base(creatorsServerConnection)
 {
     chat = new DCCChatContainer(creatorsServerConnection);
     transfer = new DCCTransferContainer(creatorsServerConnection);
     parent = Parent;
 }
Exemple #2
0
 internal Channel(ServerConnection creatorsCurrentConnection, string Name)
     : base(creatorsCurrentConnection, Name, true)
 {
     strName = Name;
     users = new ChannelUserContainer(creatorsCurrentConnection);
     bans = new ChannelBanContainer(creatorsCurrentConnection);
 }
Exemple #3
0
 internal ChannelList(ServerConnection creatorsCurrentConnection, string channelName, int userCount, string topic)
     : base(creatorsCurrentConnection)
 {
     strChannelName = channelName;
     intUserCount = userCount;
     strTopic = topic;
 }
Exemple #4
0
 internal ChannelBan(ServerConnection creatorsServerConnection, string channelName, string hostMask, string setBy, DateTime setTime)
     : base(creatorsServerConnection)
 {
     strChannelName = channelName;
     strHostmask = hostMask;
     strSetBy = setBy;
     dtSetTime = setTime;
 }
Exemple #5
0
 internal DCCBase(ServerConnection creatorsServerConnection, long RemoteHost, int Port, string Nickname, DCCContainerBase parent)
     : base(creatorsServerConnection)
 {
     container = parent;
     intID = Port;
     IPAddress ip = GetIP(RemoteHost);
     RemoteEndPoint = new IPEndPoint(ip, Port);
     strNickname = Nickname;
 }
 internal ChannelModesContainer(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
     _typeA = new ChannelModes(creatorsServerConnection);
     _typeB = new ChannelModes(creatorsServerConnection);
     _typeC = new ChannelModes(creatorsServerConnection);
     _typeD = new ChannelModes(creatorsServerConnection);
     _all = new ChannelModes(creatorsServerConnection);
 }
Exemple #7
0
        internal User(ServerConnection creatorsServerConnection, string Nick, string Identity, string Host, string RealName)
            : base(creatorsServerConnection, Nick)
        {
            strNick = Nick;
            strIdentity = Identity;
            strHost = Host;
            strRealName = RealName;

            blHoldBackInfoUpdatedEvent = false;
            blInfoWasUpdated = false;
        }
Exemple #8
0
 internal DCCBase(ServerConnection creatorsServerConnection, string Nickname, int Port, DCCContainerBase parent)
     : base(creatorsServerConnection)
 {
     strNickname = Nickname;
     intID = Port;
     container = parent;
     listenSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
     timer = new Timer(60000);
     timer.Elapsed += new ElapsedEventHandler(TimerProc);
     timer.AutoReset = true;
     timer.Enabled = true;
     listenSocket.Bind(new IPEndPoint(IPAddress.Any, Port));
     listenSocket.Listen(100);
     listenSocket.BeginAccept(new AsyncCallback(acceptCallback), null);
 }
Exemple #9
0
 internal MessageReciever(ServerConnection creatorsCurrentConnection, string NetworkIdentifier)
     : this(creatorsCurrentConnection, NetworkIdentifier, false)
 {
 }
Exemple #10
0
 internal DCCTransferContainer(ServerConnection creatorsServerConnection) : base(creatorsServerConnection)
 {
 }
 internal IdentificationServer(ServerConnection creatorsServerConnection, Connection parent)
     : base(creatorsServerConnection)
 {
     ircParent = parent;
     this.OS = null; // Forces auto-detection
 }
Exemple #12
0
 internal MessageReciever(ServerConnection creatorsCurrentConnection, string NetworkIdentifier, bool isChannel)
     : base(creatorsCurrentConnection)
 {
     strNetworkIdentifier = NetworkIdentifier;
     blIsChannel = isChannel;
 }
Exemple #13
0
 internal User(ServerConnection creatorsServerConnection, string Nick, bool askWho) : this(creatorsServerConnection, Nick, null, null, askWho)
 {
 }
Exemple #14
0
 internal ChannelTypes(ServerConnection creatorsServerConnection, Connection parent)
     : base(creatorsServerConnection)
 {
     _parent = parent;
 }
Exemple #15
0
 internal DCCTransfer(ServerConnection creatorsServerConnection, long RemoteHost, int Port, string Nickname, string Filename, long Size, DCCTransferContainer parent)
     : base(creatorsServerConnection, RemoteHost, Port, Nickname, parent)
 {
     lngSize = Size;
     strRemoteFile = Filename;
     direction = DCCTransferDirection.Receive;
 }
Exemple #16
0
 internal DCCChat(ServerConnection creatorsServerConnection, long RemoteHost, int Port, string Nickname, DCCChatContainer parent)
     : base(creatorsServerConnection, RemoteHost, Port, Nickname, parent)
 {
 }
Exemple #17
0
 internal DCCChatContainer(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
 }
Exemple #18
0
 internal DCCChat(ServerConnection creatorsServerConnection, string Nickname, int Port, DCCChatContainer parent)
     : base(creatorsServerConnection, Nickname, Port, parent)
 {
 }
Exemple #19
0
 internal ChannelModes(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
 }
Exemple #20
0
 internal ChannelUser(ServerConnection creatorsCurrentConnection, User user, string strChannelName)
     : base(creatorsCurrentConnection)
 {
     objUser = user;
 }
Exemple #21
0
 internal ServerInfo(ServerConnection creatorsServerConnection, Connection parent)
     : base(creatorsServerConnection)
 {
     cmc = new ChannelModesContainer(creatorsServerConnection);
     ct = new ChannelTypes(creatorsServerConnection, parent);
 }
Exemple #22
0
 internal User(ServerConnection creatorsServerConnection, string Nick, string Identity, string Host, bool askWho)
     : this(creatorsServerConnection, Nick, Identity, Host, null)
 {
     if (askWho && Nick.IndexOf(".") == - 1) // "." Indicates server. Don't ask who.
         base.CurrentConnection.SendData("WHO {0}", strNick);
 }
Exemple #23
0
 internal User(ServerConnection creatorsServerConnection, string Nick, bool askWho)
     : this(creatorsServerConnection, Nick, null, null, askWho)
 {
 }
Exemple #24
0
 internal ChannelContainer(ServerConnection creatorsCurrentConnection)
     : base(creatorsCurrentConnection)
 {
     channelList = new ChannelListContainer(creatorsCurrentConnection);
 }
Exemple #25
0
 internal IRCBase(ServerConnection creatorsCurrentConnection)
 {
     _currentConnection = creatorsCurrentConnection;
 }
Exemple #26
0
 internal DCCTransfer(ServerConnection creatorsServerConnection, string Nickname, int Port, string Filename, string RemoteFilename, DCCTransferContainer parent)
     : base(creatorsServerConnection, Nickname, Port, parent)
 {
     direction = DCCTransferDirection.Send;
     strLocalFile = Filename;
     strRemoteFile = RemoteFilename;
     FileInfo fileInfo = new FileInfo(Filename);
     lngSize = fileInfo.Length;
 }
 internal DCCTransferContainer(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
 }
 internal ChannelUserContainer(ServerConnection creatorsCurrentConnection)
     : base(creatorsCurrentConnection)
 {
 }
Exemple #29
0
 internal UserContainer(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
     users = new ArrayList();
     _curr = -1;
 }