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()); }
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>(); }