Example #1
0
        private ODBC_DB2Connect dbcmd; //��Ʈw����

        #endregion Fields

        #region Constructors

        private TunnelData()
        {
            tunList = new TunnelList();
            dbcmd = new ODBC_DB2Connect();
            dbcmd.GetReaderData += new GetReaderDataHandler(dbcmd_GetReaderData);
            dbcmd.select(DataType.Tunnel, Command.GetSelectCmd.getTunnelData());
        }
Example #2
0
        public ServerServer(TunnelList tunnelSet, Int32 socketBackLog, Int32 readBufferSize, Boolean logData,
                            Boolean logTransferMessages)
        {
            if (tunnelSet == null)
            {
                throw new ArgumentNullException("tunnelSet");
            }

            //this.tunnelsThread = new SelectTunnelsThread(2048);

            this.tunnelList          = tunnelSet;
            this.socketBackLog       = socketBackLog;
            this.readBufferSize      = readBufferSize;
            this.logData             = logData;
            this.logTransferMessages = logTransferMessages;

            this.threads        = null;
            this.connectionList = new List <IncomingConnection>();
        }