New bee question regarding MibTable and MibTableRow

Uma Gavani ugavani____celion.com
Wed Nov 7 16:16:05 CET 2001


Hi,

I am new to Agent++ and this group, if my question has been answered
before, please point me in the right direction:

This is regarding 'get' requests for columns of a table:

On initialization we are planning to populate the tables with rows only
for indexing. To handle a 'get' request we need to forward the request
to some other sub-system using our own IPC. This request would retrieve
all the columns for a particular index, I am planning to store this data
(along with transaction id of the SNMP request) and use it if the same
SNMP request is retrieving other columns. At a glance MibRowTable looked
like the match to inherit from and hold this data, but looks like
MibTable acts like a wrapper around it. If I keep this data in MibTable
then I need to organize it based on transaction ids and index, I was
hoping to get around this.

Q. Is it ok to derive from MibTableRow and add this behavior (I only
need add a data member, even though clone is not virtual I don't really
need this data member to be cloned and MibTableRow has virtual
destructor which is enough)?

Q. Is it better to derive from MibTable and add this behavior?

Q. Are there any other options?

Thank you.

Uma Gavani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20011107/dd06bbbf/attachment.htm 


More information about the AGENTPP mailing list