Exemplo n.º 1
0
        public uint getCapacity()
        {
            UInt32 size  = 0;
            uint   error = SuperLoggingClientLibrary.VmDirSuperLogGetSize(_serverContext, out size);

            validate("getCapacity", error);
            return(size);
        }
Exemplo n.º 2
0
        public bool isEnabled()
        {
            byte enabled;
            uint error = SuperLoggingClientLibrary.VmDirIsSuperLogEnabled(_serverContext, out enabled);

            validate("isEnabled", error);
            return(enabled == 0 ? false : true);
        }
Exemplo n.º 3
0
        public ISuperLogTable aggregate(ISuperLogEntryList entries, SuperLogTableColumnSet colSet)
        {
            IntPtr table = IntPtr.Zero;
            uint   error = SuperLoggingClientLibrary.VmDirSuperLogGetTable(
                ((SuperLogEntryList)entries).getIntPtr(),
                convertColumnSetToIntPtr(colSet),
                out table
                );

            validate("aggregate", error);
            return(new SuperLogTable(table));
        }
Exemplo n.º 4
0
        public void openW(string networkAddress, string domain, string userName, string password)
        {
            uint error = SuperLoggingClientLibrary.VmDirOpenServerW(
                networkAddress,
                userName,
                domain,
                password,
                0,
                IntPtr.Zero,
                out _serverContext);

            validate("openW", error);
        }
Exemplo n.º 5
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));
        }
Exemplo n.º 6
0
        public void setCapacity(uint capacity)
        {
            uint error = SuperLoggingClientLibrary.VmDirSuperLogSetSize(_serverContext, capacity);

            validate("setCapacity", error);
        }
Exemplo n.º 7
0
        public void clear()
        {
            uint error = SuperLoggingClientLibrary.VmDirSuperLogFlush(_serverContext);

            validate("clear", error);
        }
Exemplo n.º 8
0
        public void disable()
        {
            uint error = SuperLoggingClientLibrary.VmDirSuperLogDisable(_serverContext);

            validate("disable", error);
        }
Exemplo n.º 9
0
        public void close()
        {
            uint error = SuperLoggingClientLibrary.VmDirCloseServer(_serverContext);

            validate("close", error);
        }