Пример #1
0
 internal DCC(ServerConnection creatorsServerConnection, Connection Parent)
     : base(creatorsServerConnection)
 {
     chat = new DCCChatContainer(creatorsServerConnection);
     transfer = new DCCTransferContainer(creatorsServerConnection);
     parent = Parent;
 }
Пример #2
0
 internal Channel(ServerConnection creatorsCurrentConnection, string Name)
     : base(creatorsCurrentConnection, Name, true)
 {
     strName = Name;
     users = new ChannelUserContainer(creatorsCurrentConnection);
     bans = new ChannelBanContainer(creatorsCurrentConnection);
 }
Пример #3
0
 internal ChannelList(ServerConnection creatorsCurrentConnection, string channelName, int userCount, string topic)
     : base(creatorsCurrentConnection)
 {
     strChannelName = channelName;
     intUserCount = userCount;
     strTopic = topic;
 }
Пример #4
0
 internal ChannelBan(ServerConnection creatorsServerConnection, string channelName, string hostMask, string setBy, DateTime setTime)
     : base(creatorsServerConnection)
 {
     strChannelName = channelName;
     strHostmask = hostMask;
     strSetBy = setBy;
     dtSetTime = setTime;
 }
Пример #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;
 }
Пример #6
0
 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);
 }
Пример #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;
        }
Пример #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);
 }
Пример #9
0
 internal MessageReciever(ServerConnection creatorsCurrentConnection, string NetworkIdentifier)
     : this(creatorsCurrentConnection, NetworkIdentifier, false)
 {
 }
Пример #10
0
 internal DCCTransferContainer(ServerConnection creatorsServerConnection) : base(creatorsServerConnection)
 {
 }
Пример #11
0
 internal IdentificationServer(ServerConnection creatorsServerConnection, Connection parent)
     : base(creatorsServerConnection)
 {
     ircParent = parent;
     this.OS = null; // Forces auto-detection
 }
Пример #12
0
 internal MessageReciever(ServerConnection creatorsCurrentConnection, string NetworkIdentifier, bool isChannel)
     : base(creatorsCurrentConnection)
 {
     strNetworkIdentifier = NetworkIdentifier;
     blIsChannel = isChannel;
 }
Пример #13
0
 internal User(ServerConnection creatorsServerConnection, string Nick, bool askWho) : this(creatorsServerConnection, Nick, null, null, askWho)
 {
 }
Пример #14
0
 internal ChannelTypes(ServerConnection creatorsServerConnection, Connection parent)
     : base(creatorsServerConnection)
 {
     _parent = parent;
 }
Пример #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;
 }
Пример #16
0
 internal DCCChat(ServerConnection creatorsServerConnection, long RemoteHost, int Port, string Nickname, DCCChatContainer parent)
     : base(creatorsServerConnection, RemoteHost, Port, Nickname, parent)
 {
 }
Пример #17
0
 internal DCCChatContainer(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
 }
Пример #18
0
 internal DCCChat(ServerConnection creatorsServerConnection, string Nickname, int Port, DCCChatContainer parent)
     : base(creatorsServerConnection, Nickname, Port, parent)
 {
 }
Пример #19
0
 internal ChannelModes(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
 }
Пример #20
0
 internal ChannelUser(ServerConnection creatorsCurrentConnection, User user, string strChannelName)
     : base(creatorsCurrentConnection)
 {
     objUser = user;
 }
Пример #21
0
 internal ServerInfo(ServerConnection creatorsServerConnection, Connection parent)
     : base(creatorsServerConnection)
 {
     cmc = new ChannelModesContainer(creatorsServerConnection);
     ct = new ChannelTypes(creatorsServerConnection, parent);
 }
Пример #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);
 }
Пример #23
0
 internal User(ServerConnection creatorsServerConnection, string Nick, bool askWho)
     : this(creatorsServerConnection, Nick, null, null, askWho)
 {
 }
Пример #24
0
 internal ChannelContainer(ServerConnection creatorsCurrentConnection)
     : base(creatorsCurrentConnection)
 {
     channelList = new ChannelListContainer(creatorsCurrentConnection);
 }
Пример #25
0
 internal IRCBase(ServerConnection creatorsCurrentConnection)
 {
     _currentConnection = creatorsCurrentConnection;
 }
Пример #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;
 }
Пример #27
0
 internal DCCTransferContainer(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
 }
Пример #28
0
 internal ChannelUserContainer(ServerConnection creatorsCurrentConnection)
     : base(creatorsCurrentConnection)
 {
 }
Пример #29
0
 internal UserContainer(ServerConnection creatorsServerConnection)
     : base(creatorsServerConnection)
 {
     users = new ArrayList();
     _curr = -1;
 }