2015-04-21 16:02:40 +02:00
|
|
|
<!DOCTYPE node PUBLIC
|
|
|
|
|
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
|
|
|
|
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" >
|
|
|
|
|
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
|
|
|
|
|
<!--
|
2015-06-30 18:06:36 +02:00
|
|
|
org.pinos.Daemon1:
|
|
|
|
|
@short_description: Main interface for the pinos daemon
|
2015-04-21 16:02:40 +02:00
|
|
|
|
2015-06-30 18:06:36 +02:00
|
|
|
Interface to get properties from the pinos daemon and to
|
2015-04-21 16:02:40 +02:00
|
|
|
establish a client connection.
|
|
|
|
|
-->
|
2015-06-30 18:06:36 +02:00
|
|
|
<interface name='org.pinos.Daemon1'>
|
2015-04-21 16:02:40 +02:00
|
|
|
<!-- UserName: Name of the user that started the daemon -->
|
2015-04-16 16:58:33 +02:00
|
|
|
<property name='UserName' type='s' access='read' />
|
2015-04-21 16:02:40 +02:00
|
|
|
<!-- HostName: Name of the machine the daemon is running on -->
|
2015-04-16 16:58:33 +02:00
|
|
|
<property name='HostName' type='s' access='read' />
|
2015-04-21 16:02:40 +02:00
|
|
|
<!-- Version: Version of the daemon -->
|
2015-04-16 16:58:33 +02:00
|
|
|
<property name='Version' type='s' access='read' />
|
2015-04-21 16:02:40 +02:00
|
|
|
<!-- Name: Name of the daemon -->
|
2015-04-16 16:58:33 +02:00
|
|
|
<property name='Name' type='s' access='read' />
|
2015-07-17 16:57:01 +02:00
|
|
|
<!-- Cookie: A random cookie for identifying this instance of Pinos -->
|
|
|
|
|
<property name='Cookie' type='u' access='read' />
|
2015-04-21 16:02:40 +02:00
|
|
|
<!-- Properties: Extra properties of the daemon -->
|
2015-04-16 16:58:33 +02:00
|
|
|
<property name='Properties' type='a{sv}' access='read' />
|
2015-04-21 16:02:40 +02:00
|
|
|
|
2016-05-12 17:03:28 +02:00
|
|
|
<!-- CreateNode:
|
2016-05-18 17:22:34 +02:00
|
|
|
@factory_name: the factory name to use for the node
|
2016-05-12 17:03:28 +02:00
|
|
|
@name: the name of the node
|
2016-05-18 17:22:34 +02:00
|
|
|
@Properties: extra properties
|
2016-05-12 17:03:28 +02:00
|
|
|
@node: the Node1 object path
|
2015-05-11 16:08:34 +02:00
|
|
|
|
2016-05-12 17:03:28 +02:00
|
|
|
Create a new Node with given name and properties
|
2015-05-11 16:08:34 +02:00
|
|
|
-->
|
2016-05-12 17:03:28 +02:00
|
|
|
<method name='CreateNode'>
|
2016-05-18 17:22:34 +02:00
|
|
|
<arg type='s' name='factory_name' direction='in' />
|
|
|
|
|
<arg type='s' name='name' direction='in' />
|
2016-05-03 18:00:56 +02:00
|
|
|
<arg type='a{sv}' name='properties' direction='in'/>
|
2016-05-12 17:03:28 +02:00
|
|
|
<arg type='o' name='node' direction='out'/>
|
2016-05-03 18:00:56 +02:00
|
|
|
</method>
|
2016-07-18 17:40:58 +02:00
|
|
|
|
2016-07-25 10:46:29 +02:00
|
|
|
<!-- CreateClientNode:
|
|
|
|
|
@name: the name of the node
|
|
|
|
|
@Properties: extra properties
|
|
|
|
|
@node: the Node1 object path
|
|
|
|
|
|
2016-08-05 19:46:37 +02:00
|
|
|
Create a new Node
|
2016-07-25 10:46:29 +02:00
|
|
|
-->
|
2016-07-22 17:17:44 +02:00
|
|
|
<method name='CreateClientNode'>
|
|
|
|
|
<arg type='s' name='name' direction='in' />
|
|
|
|
|
<arg type='a{sv}' name='properties' direction='in'/>
|
|
|
|
|
<arg type='o' name='node' direction='out'/>
|
|
|
|
|
<arg type='h' name='fd' direction='out'/>
|
|
|
|
|
</method>
|
|
|
|
|
|
2016-07-18 17:40:58 +02:00
|
|
|
</interface>
|
|
|
|
|
|
2016-07-20 17:29:34 +02:00
|
|
|
<interface name='org.pinos.Client1'>
|
|
|
|
|
<!-- Sender: Sender of the client -->
|
|
|
|
|
<property name='Sender' type='s' access='read' />
|
|
|
|
|
<!-- Name: Properties of the client -->
|
|
|
|
|
<property name='Properties' type='a{sv}' access='read' />
|
2015-04-16 16:58:33 +02:00
|
|
|
</interface>
|
|
|
|
|
|
2015-04-21 16:02:40 +02:00
|
|
|
<!--
|
2016-05-06 13:01:52 +02:00
|
|
|
org.pinos.Node1:
|
|
|
|
|
@short_description: A processing node
|
2015-04-21 16:02:40 +02:00
|
|
|
|
2016-05-06 13:01:52 +02:00
|
|
|
A node is an object that can consume and/or produce media.
|
2015-04-21 16:02:40 +02:00
|
|
|
-->
|
2016-05-06 13:01:52 +02:00
|
|
|
<interface name='org.pinos.Node1'>
|
|
|
|
|
<!-- Name: the name of the node -->
|
2015-04-16 16:58:33 +02:00
|
|
|
<property name='Name' type='s' access='read' />
|
2016-05-12 17:03:28 +02:00
|
|
|
<!-- Owner: the owner path of this node -->
|
2016-05-18 17:22:34 +02:00
|
|
|
<property name='Owner' type='s' access='read' />
|
2016-05-06 13:01:52 +02:00
|
|
|
<!-- Properties: extra node properties -->
|
2015-04-16 16:58:33 +02:00
|
|
|
<property name='Properties' type='a{sv}' access='read' />
|
2016-07-18 17:40:58 +02:00
|
|
|
|
|
|
|
|
<property name='Ports' type='a(uu)' access='read' />
|
|
|
|
|
|
2016-09-02 19:51:23 +02:00
|
|
|
<method name='Link'>
|
|
|
|
|
<arg type='o' name='input_node' direction='in' />
|
|
|
|
|
<arg type='s' name='format_filter' direction='in'/>
|
|
|
|
|
<arg type='a{sv}' name='properties' direction='in'/>
|
|
|
|
|
<arg type='o' name='link' direction='out' />
|
2016-07-22 17:17:44 +02:00
|
|
|
</method>
|
|
|
|
|
|
2016-05-06 13:01:52 +02:00
|
|
|
<!-- state: state of the node
|
|
|
|
|
-1 = the node is in error
|
|
|
|
|
0 = the node is suspended, this means that the node is not
|
|
|
|
|
processing any data and has closed all devices if any
|
|
|
|
|
1 = the node is initializing
|
|
|
|
|
2 = the node is idle, this means no channel is consuming
|
|
|
|
|
the data. An idle node can become suspended.
|
|
|
|
|
3 = the node is running
|
2015-04-27 09:05:14 +02:00
|
|
|
-->
|
|
|
|
|
<property name='State' type='u' access='read' />
|
2016-05-12 17:03:28 +02:00
|
|
|
|
2016-05-26 12:25:07 +02:00
|
|
|
<!-- Activate:
|
|
|
|
|
|
|
|
|
|
Set the node ready for processing
|
|
|
|
|
-->
|
|
|
|
|
<method name='Activate'>
|
|
|
|
|
</method>
|
|
|
|
|
|
|
|
|
|
<method name='Deactivate'>
|
|
|
|
|
</method>
|
|
|
|
|
|
2016-05-12 17:03:28 +02:00
|
|
|
<!-- Remove:
|
|
|
|
|
|
|
|
|
|
Remove the node
|
|
|
|
|
-->
|
|
|
|
|
<method name='Remove'/>
|
2015-04-16 16:58:33 +02:00
|
|
|
</interface>
|
|
|
|
|
|
2016-07-18 17:40:58 +02:00
|
|
|
<interface name='org.pinos.Link1'>
|
|
|
|
|
<!-- Owner: the owner path of this link -->
|
|
|
|
|
<property name='Owner' type='s' access='read' />
|
|
|
|
|
|
2016-09-02 19:51:23 +02:00
|
|
|
<property name='OutputNode' type='o' access='read' />
|
|
|
|
|
<property name='OutputPort' type='u' access='read' />
|
|
|
|
|
<property name='InputNode' type='o' access='read' />
|
|
|
|
|
<property name='InputPort' type='u' access='read' />
|
2015-04-21 16:02:40 +02:00
|
|
|
|
2016-05-06 13:01:52 +02:00
|
|
|
<property name='Properties' type='a{sv}' access='read' />
|
2016-05-03 18:00:56 +02:00
|
|
|
|
2015-08-04 15:59:36 +02:00
|
|
|
<property name='Format' type='s' access='read' />
|
|
|
|
|
|
2015-04-17 17:27:26 +02:00
|
|
|
<method name='Remove'/>
|
2015-04-16 16:58:33 +02:00
|
|
|
|
|
|
|
|
</interface>
|
|
|
|
|
</node>
|