def getRegistered(self, context = "<STR_LIT>"):
myobjs = {}<EOL>try:<EOL><INDENT>objs_iterator = self._objs[context].iteritems()<EOL><DEDENT>except AttributeError:<EOL><INDENT>objs_iterator = self._objs[context].items()<EOL><DEDENT>for oidstr, snmpobj in objs_iterator:<EOL><INDENT>myobjs[oidstr] = {<EOL>"<STR_LIT:type>": type(snmpobj).__name__,<EOL>"<STR_LIT:value>": snmpobj.value()<EOL>}<EOL><DEDENT>return dict(myobjs)<EOL>
Returns a dictionary with the currently registered SNMP objects.

            Returned is a dictionary objects for the specified "context",
            which defaults to the default context.