#include "nsISupports.idl" [scriptable, uuid(164BF8AE-3C93-4799-9779-1D04BB2F59DD)] interface mkISnmpVar : nsISupports { // possible type values at the type field const short VAR_INTEGER = 1; const short VAR_BIT_STR = 2; const short VAR_OCTET_STR = 3; const short VAR_OBJECT_ID = 4; const short VAR_IPADDRESS = 5; const short VAR_NULL = 6; const short VAR_GAUGE = 7; const short VAR_COUNTER = 8; const short VAR_TIMETICKS = 9; const short VAR_UINTEGER = 10; const short VAR_COUNTER64 = 11; const short VAR_NOSUCHOBJECT = 128; const short VAR_NOSUCHINSTANCE = 129; const short VAR_ENDOFMIBVIEW = 130; attribute ACString oid; attribute short type; attribute AUTF8String stringValue; attribute long intValue; attribute unsigned long long uintValue; attribute ACString hexStringValue; // void assign(in mkISnmpVar var); mkISnmpVar getIndex(in short index); void appendIndexToOid(in mkISnmpVar var); void appendIntIndexToOid(in long var); void appendUintIndexToOid(in unsigned long var); void appendHexStringIndexToOid(in ACString var); void appendStringIndexToOid(in AUTF8String var); void appendOidIndexToOid(in ACString var); };