Decreasing the wait in RequestList::receive

Simpson, Gary Gary.Simpson____primark.com
Thu Jan 25 15:43:38 CET 2001


Hello,

I now have a simple SNMP agent in AGENT++ running as a subagent on a Solaris
platform.  I am intending for this SNMP agent to retrieve data provided by
our other applications, through UNIX shared memory.  I think that I can do
this by just overriding the process_request method to update the MIB entries
from values in shared memory, before processing the request.

However, I also want the other applications to be able to raise traps (by
writing the trap details to shared memory for the agent to process).  This
would mean that the agent needs to read the shared memory periodically to
see if any traps need to be raised.

I was wandering if I can pass in a value of 3 seconds or so into
RequestList::receive, instead of 120 seconds, so that I can call another
method in the main loop to look for trap requests.  Is it important what
this value is set to and does it matter if it is set to such a low value?

Thanks, Gary.


This e-mail, its content and any files transmitted with it are intended solely for the addressee(s) and are confidential and may be legally privileged.  Access by any other party is unauthorised without the express prior written permission of the sender.  If you have received this e-mail in error you may not copy, disclose to any third party or use the contents, attachments or information in any way.  Please destroy it and contact the sender via the Thomson Financial switchboard on (44) 207 369 7000 or via e-mail return.  Internet communications are not secure unless protected using strong cryptography.  This e-mail has been prepared using information believed by the author to be reliable and accurate, but Thomson Financial does not accept responsibility for the timeliness, accuracy or completeness of the information provided or for any changes to this e-mail, howsoever made, after it was sent.  [The content of this e-mail and files transmitted with it is  (c) TFSL - 2000] 



More information about the AGENTPP mailing list