[AGENT++] Question concernigt an errorneous call of a set-request on a read-only object

Petersen, Thorsten Thorsten.Petersen at draeger.com
Wed Dec 8 17:57:18 CET 2004


Hello

 

I'm currently implementing some tests here and errorneously tried to perform a set-request on a read-only object. I was surprised to see that a "MibEntry::cleanup_set_request" on that object was called, even though a "MibEntry::prepare_set_request" never could succeed. A short look inside the code ( "Mib::process_set_request")shows that a cleanup is always performed, regardless if a previous "prepare_set_request" succeeded or not.  Would it be better by both performance and robustness to perform a cleanup only if a "MibEntry::prepare_set_request" succeeded before?

 

With kind regards

Thorsten Petersen

------------------------------------------------------------------ 
Important Note 
This email and any attachment hereto are confidential and may contain trade 
secrets or may be otherwise protected from disclosure. If you have received 
it in error you are in notice of this fact. Please notify us immediately by 
reply email and then delete this email and any attachment from your system. 
Please understand that you are not allowed to copy this email or any 
attachment hereto or disclose its contents to any other person. Thank you. 

 

Wichtiger Hinweis 
Diese E-Mail und etwaige Anlagen können Betriebs- oder Geschäftsgeheimnisse 
oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail 
irrtümlich erhalten haben, ist Ihnen dieser Umstand hiermit bekannt. Bitte 
benachrichtigen Sie uns in diesem Fall umgehend durch Rücksendung der E-Mail 
und löschen Sie diese E-Mail einschließlich etwaiger Anlagen von Ihrem 
System. Diese E-Mail und ihre Anlagen dürfen weiterhin nicht kopiert oder an 
Dritte weitergegeben werden. Vielen Dank. 
------------------------------------------------------------------ 
Thorsten Petersen <thorsten.petersen(at)draeger.com> 
Dräger Medical AG & Co. KGaA 
Moislinger Allee 53-55 
23542 Luebeck, Germany 
------------------------------------------------------------------ 

 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
Url: http://lists.agentpp.org/pipermail/agentpp/attachments/20041208/862a1c59/attachment.txt 


More information about the AGENTPP mailing list