如果你有类似的话:
use Class::Struct; # load struct-building module
struct Person => { # create a definition for a "Person"
name => '$', # name field is a scalar
age => '$', # age field is also a scalar
peers => '@', # but peers field is an array (reference)
};
什么是流媒体/编组人员实例的最佳方法?
我可以使用:
dbus_method("stream", ["string", "uint32", ["array", "string"]], []);
或者有一个图书馆吗? Perl或Python或两者兼而有之。