MibEntry::ready_for_service ?
Frank Fock
Frank.Fock____t-online.de
Thu Sep 14 20:29:22 CEST 2000
Hi Majdi,
Majdi Abuelbassal wrote:
> I'm trying to get the value of the row index (which is interger32) in this
> method, because it is significant for the validation of the entry, how doe I
> get it?
Each of the variable binding given to MibTable::ready_for_service has
an OID which includes the rows index. You can get the index by
calling for example:
boolean MyTable::ready_for_service(Vbx* pvbs, int sz) {
if (sz ==0) return FALSE;
Oidx ind(index(pvbs[0].get_oid()));
...
}
ind[0] will then contain the value of your Integer32 index object.
Regards,
Frank
More information about the AGENTPP
mailing list