Example #1
0
 private void RefreshList()
 {
     _viewCache.Clear();
     _filterHelper.ViewCache.Clear();
     lvLogInfo.VirtualListSize = 0;
     if (_enabled)
     {
         _cookie = new SuperLoggingCookie();
         FillCache(0);
     }
 }
Example #2
0
        public ISuperLogEntryList getPagedEntries(ISuperLoggingCookie cookie, uint pageSize)
        {
            IntPtr cookieVal = cookie.getCookieVal();
            IntPtr entries   = IntPtr.Zero;
            uint   error     = SuperLoggingClientLibrary.VmDirSuperLogGetEntriesLdapOperation(
                _serverContext,
                cookieVal,
                pageSize,
                out entries);

            validate("getPagedEntries", error);
            return(new SuperLogEntryList(entries));
        }
Example #3
0
 private void RefreshList(int startindex = 0)
 {
     UIErrorHelper.CheckedExec(delegate {
         if (startindex == 0)
         {
             _viewCache.Clear();
             this.SuperLogsTableView.DataSource = new SuperLoggingTableViewDataSource(null);
             this.SuperLogsTableView.ReloadData();
         }
         if (_enabled)
         {
             if (_cookie == null)
             {
                 _cookie = new SuperLoggingCookie();
             }
             FillCache(startindex, FETCH_WINDOW_SIZE);
         }
     });
 }
		private void RefreshList(int startindex = 0)
		{
			UIErrorHelper.CheckedExec (delegate {
				if(startindex == 0)
				{
					_viewCache.Clear ();
					this.SuperLogsTableView.DataSource = new SuperLoggingTableViewDataSource (null);
					this.SuperLogsTableView.ReloadData ();
				}
				if (_enabled) {
					if (_cookie == null)
						_cookie = new SuperLoggingCookie ();
					FillCache (startindex, FETCH_WINDOW_SIZE);
				}
			});
		}
 public ISuperLogEntryList getPagedEntries(ISuperLoggingCookie cookie, uint pageSize)
 {
     IntPtr cookieVal = cookie.getCookieVal();
     IntPtr entries = IntPtr.Zero;
     uint error = SuperLoggingClientLibrary.VmDirSuperLogGetEntriesLdapOperation(
         _serverContext,
         cookieVal,
         pageSize,
         out entries);
     validate("getPagedEntries", error);
     return new SuperLogEntryList(entries);
 }