[AGENT++] Implied index leaf

Karl Abicht karl at abicht.info
Tue Nov 16 09:56:44 CET 2004


Hi,

I want to implement an extendable table.
And, I want to use an implied index leaf.
The constructor of my class is:


This was missing is the prior mail!

const index_info impliedIndex[1] = { { sNMP_SYNTAX_INT, TRUE, 10, 100 } };


ProactiveCallTable::ProactiveCallTable()
    :MibTable(Oidx("1.3.6.1.4.1.3592.1.1.3.7.1"),impliedIndex,1)
{
    // m_index     = new IndexLeaf(Oidx("1"));
    m_callCode  = new CallCodeLeaf(Oidx("2"));
    m_rowStatus = new RowStatus(Oidx("3"));

    // add_col(m_index);
    add_col(m_callCode);
    add_col(m_rowStatus);
}

where CallCodeLeaf is derived from MibLeaf and RowStatus is derived from
snmpRowStatus.

I can add rows to the table with my browser.
But, the index is always 'Not available'.



Regards,

Karl

-- 
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe

mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net


-- 
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe

mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net



More information about the AGENTPP mailing list