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