[AGENT++] Using a static requestList (STATIC_REQUEST_LIST) in the Mib class
Maurice Plunkett
Maurice.Plunkett at efi.com
Wed Jun 22 00:55:55 CEST 2005
Hi Frank,
In order to use the MibProxy class is appears that it is necessary to #define
STATIC_REQUEST_LIST in agent++.h (as mib_proxy.cpp attempts to use the static
requestList of Mib).
What is the reason to have the choice of using a static or a non-static
requestList for the Mib class? As there is only once instance of Mib, it
seems that using a static requestList is all that would be needed, and it
seems that this is the only way that a MibProxy instance could indicate that
a request is done or that there was an error.
Do you have any comments on this or on any side effects of defining
STATIC_REQUEST_LIST in agent++.h (it is not defined by default).
Thanks for you help and support,
Maurice.
More information about the AGENTPP
mailing list