通过DBus发送复杂数据

时间:2016-11-07 22:41:00

标签: python linux perl dbus

如果你有类似的话:

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或两者兼而有之。

0 个答案:

没有答案