Add read-only interface
[platform/core/iot/iotcon.git] / common / ic-dbus.xml
1 <node>
2         <interface name="org.tizen.iotcon.dbus">
3                 <method name="registerResource">
4                         <arg type="s" name="uri_path" direction="in"/>
5                         <arg type="as" name="resource_types" direction="in"/>
6                         <arg type="i" name="ifaces" direction="in"/>
7                         <arg type="i" name="properties" direction="in"/>
8                         <arg type="b" name="is_lite" direction="in"/>
9                         <arg type="x" name="signal_number" direction="out"/>
10                         <arg type="x" name="resource" direction="out"/>
11                 </method>
12                 <method name="unregisterResource">
13                         <arg type="x" name="resource" direction="in"/>
14                 </method>
15                 <method name="bindInterface">
16                         <arg type="x" name="resource" direction="in"/>
17                         <arg type="i" name="iface" direction="in"/>
18                         <arg type="i" name="ret" direction="out"/>
19                 </method>
20                 <method name="bindType">
21                         <arg type="x" name="resource" direction="in"/>
22                         <arg type="s" name="type" direction="in"/>
23                         <arg type="i" name="ret" direction="out"/>
24                 </method>
25                 <method name="bindResource">
26                         <arg type="x" name="parent" direction="in"/>
27                         <arg type="x" name="child" direction="in"/>
28                         <arg type="i" name="ret" direction="out"/>
29                 </method>
30                 <method name="unbindResource">
31                         <arg type="x" name="parent" direction="in"/>
32                         <arg type="x" name="child" direction="in"/>
33                         <arg type="i" name="ret" direction="out"/>
34                 </method>
35                 <method name="notify">
36                         <arg type="x" name="resource" direction="in"/>
37                         <arg type="av" name="notify_msg" direction="in"/>
38                         <arg type="ai" name="observers" direction="in"/>
39                         <arg type="i" name="ret" direction="out"/>
40                 </method>
41                 <method name="sendResponse">
42                         <arg type="(a(qs)ivxx)" name="response" direction="in"/>
43                         <arg type="i" name="ret" direction="out"/>
44                 </method>
45                 <method name="findResource">
46                         <arg type="s" name="host_address" direction="in"/>
47                         <arg type="i" name="connectivity" direction="in"/>
48                         <arg type="s" name="type" direction="in"/>
49                         <arg type="b" name="is_secure" direction="in"/>
50                         <arg type="i" name="timeout" direction="in"/>
51                         <arg type="x" name="signal_number" direction="out"/>
52                         <arg type="i" name="ret" direction="out"/>
53                 </method>
54                 <method name="get">
55                         <arg type="(ssba(qs)i)" name="remote_resource" direction="in"/>
56                         <arg type="a(ss)" name="query" direction="in"/>
57                         <arg type="(a(qs)vi)" name="ret" direction="out"/>
58                 </method>
59                 <method name="put">
60                         <arg type="(ssba(qs)i)" name="remote_resource" direction="in"/>
61                         <arg type="(siasa{sv}av)" name="repr" direction="in"/>
62                         <arg type="a(ss)" name="query" direction="in"/>
63                         <arg type="(a(qs)vi)" name="ret" direction="out"/>
64                 </method>
65                 <method name="post">
66                         <arg type="(ssba(qs)i)" name="remote_resource" direction="in"/>
67                         <arg type="(siasa{sv}av)" name="repr" direction="in"/>
68                         <arg type="a(ss)" name="query" direction="in"/>
69                         <arg type="(a(qs)vi)" name="ret" direction="out"/>
70                 </method>
71                 <method name="delete">
72                         <arg type="(ssba(qs)i)" name="remote_resource" direction="in"/>
73                         <arg type="(a(qs)i)" name="ret" direction="out"/>
74                 </method>
75                 <method name="observerStart">
76                         <arg type="(ssba(qs)i)" name="remote_resource" direction="in"/>
77                         <arg type="i" name="observe_type" direction="in"/>
78                         <arg type="a(ss)" name="query" direction="in"/>
79                         <arg type="x" name="signal_number" direction="out"/>
80                         <arg type="x" name="observe_h" direction="out"/>
81                 </method>
82                 <method name="observerStop">
83                         <arg type="x" name="observe_h" direction="in"/>
84                         <arg type="a(qs)" name="options" direction="in"/>
85                         <arg type="i" name="ret" direction="out"/>
86                 </method>
87                 <method name="getDeviceInfo">
88                         <arg type="s" name="host_address" direction="in"/>
89                         <arg type="i" name="connectivity" direction="in"/>
90                         <arg type="i" name="timeout" direction="in"/>
91                         <arg type="x" name="signal_number" direction="out"/>
92                         <arg type="i" name="ret" direction="out"/>
93                 </method>
94                 <method name="getPlatformInfo">
95                         <arg type="s" name="host_address" direction="in"/>
96                         <arg type="i" name="connectivity" direction="in"/>
97                         <arg type="i" name="timeout" direction="in"/>
98                         <arg type="x" name="signal_number" direction="out"/>
99                         <arg type="i" name="ret" direction="out"/>
100                 </method>
101                 <method name="subscribePresence">
102                         <arg type="s" name="host_address" direction="in"/>
103                         <arg type="i" name="connectivity" direction="in"/>
104                         <arg type="s" name="type" direction="in"/>
105                         <arg type="x" name="presence_h" direction="out"/>
106                 </method>
107                 <method name="unsubscribePresence">
108                         <arg type="x" name="presence_h" direction="in"/>
109                         <arg type="s" name="host_address" direction="in"/>
110                         <arg type="i" name="ret" direction="out"/>
111                 </method>
112                 <method name="startPresence">
113                         <arg type="u" name="time_to_live" direction="in"/>
114                         <arg type="i" name="ret" direction="out"/>
115                 </method>
116                 <method name="stopPresence">
117                         <arg type="i" name="ret" direction="out"/>
118                 </method>
119                 <method name="startMonitoring">
120                         <arg type="s" name="uri_path" direction="in"/>
121                         <arg type="s" name="host_address" direction="in"/>
122                         <arg type="i" name="connectivity" direction="in"/>
123                         <arg type="x" name="signal_number" direction="out"/>
124                         <arg type="i" name="ret" direction="out"/>
125                 </method>
126                 <method name="stopMonitoring">
127                         <arg type="s" name="uri_path" direction="in"/>
128                         <arg type="s" name="host_address" direction="in"/>
129                         <arg type="i" name="ret" direction="out"/>
130                 </method>
131                 <method name="startCaching">
132                         <arg type="s" name="uri_path" direction="in"/>
133                         <arg type="s" name="host_address" direction="in"/>
134                         <arg type="i" name="connectivity" direction="in"/>
135                         <arg type="x" name="signal_number" direction="out"/>
136                         <arg type="i" name="ret" direction="out"/>
137                 </method>
138                 <method name="stopCaching">
139                         <arg type="s" name="uri_path" direction="in"/>
140                         <arg type="s" name="host_address" direction="in"/>
141                         <arg type="i" name="ret" direction="out"/>
142                 </method>
143                 <method name="encapGetTimeInterval">
144                         <arg type="i" name="time_interval" direction="out"/>
145                 </method>
146                 <method name="encapSetTimeInterval">
147                         <arg type="i" name="time_interval" direction="in"/>
148                 </method>
149         </interface>
150 </node>