search for: register_class

Displaying 4 results from an estimated 4 matches for "register_class".

2008 Feb 27
2
Missing evt_tree_item_menu method for TreeCtrl ?
Hi, The documentation mentions the evt_tree_item_menu method for TreeCtrl but it seems that this method is not defined (wxRuby 1.9.4 on Windows). As a workaround, I''m currently using evt_tree_item_right_click. Cheers. Chauk-Mean.
2007 Aug 02
3
wxSocket..... or wxRubySocket....
Hey Alex, I was looking into figuring out a way to create a truely Asynchronis Socket type for Ruby, and thought I''d go down to the bare minimal implementation of it, to start creating a socket, and then I got to thinking. Looking at the wxWidgets C/C++ Code, it doesn''t do much different then what I''m doing, only in Ruby, so I thought maybe, as a way to avoid
2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
...:desc => "MAC address of virtual NIC, will be assigned if left empty.")) + method.add_argument(Qmf::SchemaArgument.new("vm", Qmf::TYPE_REF, :desc => "Newly created domain object id.", :dir => Qmf::DIR_OUT)) + @ovirt_class.add_method(method) + + @agent.register_class(@ovirt_class) + end + + def start + @ovirt = Qmf::QmfObject.new(@ovirt_class) + @ovirt.set_attr("version", "0.0.0.1") + + obj_id = @agent.alloc_object_id(1, Ovirt::TABLE_ID) + @ovirt.set_object_id(obj_id) + end + + def implement_id_query(context, id) + if id =...
2009 Jul 23
0
[PATCH server] Add network QMF apis.
...ach do |controller_class| - @logger.info "Register #{controller_class.schema_class.name} => #{controller_class.name}" + @logger.info "Register #{controller_class.schema_class.name} => #{controller_class.name}, id #{controller_class.schema_class.id}" @agent.register_class(controller_class.schema_class) end end diff --git a/src/ovirt-agent/ovirt-test.rb b/src/ovirt-agent/ovirt-test.rb index 412a8ee..ab67d10 100755 --- a/src/ovirt-agent/ovirt-test.rb +++ b/src/ovirt-agent/ovirt-test.rb @@ -18,6 +18,12 @@ b = s.add_broker(srv, :mechanism => 'GSSAPI')...