next up previous contents
Next: C.2.5 Die Klasse GTM_Event_consumer Up: Die Komponenten für das Previous: C.2.3 Die Klasse EMS_Event_consumer

C.2.4 Die Klasse Event_Adapter

Die Klasse wird zum Konvertieren von CORBA-Ereignismeldungen in SNMP-Traps verwendet.
#include <somobj.idl>

interface Event_Adapter : SOMObject
{

void create_pdu(in long spec_id, in string source_host);

void add_arg_long(in long arg);

void add_arg_string(in string arg);

void send_pdu();
 

#ifdef __SOMIDL__
    implementation
    {
    dllname = "consumers.dll";
    };
#endif /* __SOMIDL__ */
};



Copyright Munich Network Management Team