mibble-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mibble-users] SOME DOUBTS ABOUT MIB


From: Per Cederberg
Subject: Re: [Mibble-users] SOME DOUBTS ABOUT MIB
Date: Sun, 23 May 2004 22:50:50 +0200

On Sun, 2004-05-23 at 21:20, Daniel IWASHITA wrote:
> WELL, I'D LIKE TO KNOW IF, AFTER THE PROGRAM LOADS ALL
> THE MIB CONTENT, A KIND OF "DATA STRUCTURE" IS BUILT
> WITH ALL MIB CONTENT. IN MY VIEW, A MIB IS LIKE A
> TABLE, WHICH HAS SOME TYPE RESTRICTIONS, TYPE OF
> ACCESS AND OTHERS. SO, I'D LIKE TO USE THIS "DATA
> STRUCTURE" TO BOTH GET AND SET INFORMATION ON IT.

Well, yes. An internal data structure is built when
reading the MIB files and that data structure later
allows you to access any information present in the
MIB file. See the MibLoader and Mib classes in the
net.percederberg.mibble package (in the API docs)
for starting points.

However, the data structure built will only allow
you to get information. There are no set() methods,
so if you wish to manipulate the values you have to
build your own data structures to store your changes.
Of course, Mibble comes with full source code, so you
can add and remove anything you like (but please
check the license before distributing any results).

Cheers,

/Per
-- 
Per Cederberg, Software Consulting
http://www.percederberg.net/software





reply via email to

[Prev in Thread] Current Thread [Next in Thread]