[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [FW1] querying an OPSECSession structure
Hi all, I am a real newby to OPSEC development(about 2 days), so forgive me if this query sounds dumb. Here goes, after examining the OPSEC & LEA specs, I have identified the Event Handler functions which I want to implement to receive events from an LEA server, however I would like my current client design to move away from having to implement the event handlers as global functions (as seems the general practise) and implement this functionality in an Object Orientated fashion (C++). The alternative design would simply register one "static" of "friend" function with *all* the "event handler functions" (set during opsec_init_entity for my LEA client). The idea here is when an event arrives is to *propogate* the call (from the static\friend class member)out to a method of this class to handle the particular event. So with all that said, heres my question, is there any way I can query the OPSECSession* passed back to this static\friend function to determine the "Event Hanlder" function type that should service this event. thanks in advance Will ------------------------------------------- William Hayes Research Assistant Telecommunication Software Systems Group [TSSG : http://www.tssg.org] Ireland -------------------------------------------- ================================================================================ To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================================================
|