car.xml 范例文件

remotecontrolledcar/controller/car.xml
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
        "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/com/trollech/examples/car">
        <interface name="org.example.Examples.CarInterface">
                <method name="accelerate"/>
                <method name="decelerate"/>
                <method name="turnLeft"/>
                <method name="turnRight"/>
                <signal name="crashed"/>
        </interface>
</node>