[AGENT++] AgenPro with read-only variables

Frank Fock fock at agentpp.com
Thu Nov 13 23:09:10 CET 2003


Hi Dirk,

AgenPro does, of course, create get_request methods even for read-only
leafs by default. I think, what you have encountered is something different.
AgenPro (by default) creates no class definitions for read-only columns.
To deactive this feature, set the "lightTables" property to "no" or 
"false".
Also, make sure that the "get_request" property is set to "yes" or "true"
for the OID subtree where your objects are defined in.

Hope this helps.

Best regards,
Frank Fock

Dirk Merettig wrote:

>Hi all,
>I have a small question about Agent++ with AgenPro. I am building a agent
>that submits variables that are changing from time to time. So till now I
>put the code to get the correct values for these variables in the
>get_request functions that are
>generated from AgenPro. But the get_request functions are only generated
>for read-write variables. Where do I put my code to check for the values
>of the variables right when a get_request comes, but for variables that
>are read-only for the manager ?
>
>Thanks in advance,
>
>Dirk Merettig
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>
>  
>






More information about the AGENTPP mailing list