You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MessageControl/MessageControl.h
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ namespace Thunder {
30
30
31
31
namespacePlugin {
32
32
33
-
classMessageControl : publicPluginHost::JSONRPC, public PluginHost::IPluginExtended, public PluginHost::IWebSocket, public Exchange::IMessageControl {
33
+
classMessageControl : publicPluginHost::JSONRPC, public PluginHost::IPluginExtended, public PluginHost::IWebSocket, public Exchange::IMessagingControl {
> This interface uses legacy ```lowercase``` naming convention. With the next major release the naming convention will change to ```camelCase```.
96
96
97
97
<aid="head_Methods"></a>
@@ -140,7 +140,7 @@ This method takes no parameters.
140
140
{
141
141
"jsonrpc": "2.0",
142
142
"id": 42,
143
-
"method": "MessageControl.1.versions"
143
+
"method": "MessageControl.versions"
144
144
}
145
145
```
146
146
@@ -191,9 +191,9 @@ This method will return *True* for the following methods/properties: *modules, c
191
191
{
192
192
"jsonrpc": "2.0",
193
193
"id": 42,
194
-
"method": "MessageControl.1.exists",
194
+
"method": "MessageControl.exists",
195
195
"params": {
196
-
"method": "modules"
196
+
"method": "methodName"
197
197
}
198
198
}
199
199
```
@@ -218,7 +218,7 @@ Enables/disables a message control.
218
218
| Name | Type | M/O | Description |
219
219
| :-------- | :-------- | :-------- | :-------- |
220
220
| params | object | mandatory |*...*|
221
-
| params.type | string | mandatory | Message type (must be one of the following: *Assert, Invalid, Logging, OperationalStream, Reporting, Tracing*) |
221
+
| params.type | string | mandatory | Message type (must be one of the following: *Assert, Invalid, Logging, OperationalStream, Reporting, Telemetry, Tracing*) |
222
222
| params.category | string | mandatory | Name of the message category |
223
223
| params.module | string | mandatory | Name of the module the message is originating from |
224
224
| params.enabled | boolean | mandatory | Denotes if control should be enabled (true) or disabled (false) |
@@ -237,7 +237,7 @@ Enables/disables a message control.
237
237
{
238
238
"jsonrpc": "2.0",
239
239
"id": 42,
240
-
"method": "MessageControl.1.enable",
240
+
"method": "MessageControl.enable",
241
241
"params": {
242
242
"type": "Tracing",
243
243
"category": "Information",
@@ -291,7 +291,7 @@ Provides access to the retrieves a list of current message modules.
291
291
{
292
292
"jsonrpc": "2.0",
293
293
"id": 42,
294
-
"method": "MessageControl.1.modules"
294
+
"method": "MessageControl.modules"
295
295
}
296
296
```
297
297
@@ -328,7 +328,7 @@ Provides access to the retrieves a list of current message controls for a specif
328
328
| :-------- | :-------- | :-------- | :-------- |
329
329
| (property) | array | mandatory | Retrieves a list of current message controls for a specific module |
330
330
| (property)[#]| object | mandatory |*...*|
331
-
| (property)[#].type | string | mandatory | Type of message (must be one of the following: *Assert, Invalid, Logging, OperationalStream, Reporting, Tracing*) |
331
+
| (property)[#].type | string | mandatory | Type of message (must be one of the following: *Assert, Invalid, Logging, OperationalStream, Reporting, Telemetry, Tracing*) |
332
332
| (property)[#].category | string | mandatory | Name of the message category |
333
333
| (property)[#].module | string | mandatory | Name of the module the message is originating from |
334
334
| (property)[#].enabled | boolean | mandatory | Denotes if the control is enabled (true) or disabled (false) |
@@ -341,7 +341,7 @@ Provides access to the retrieves a list of current message controls for a specif
0 commit comments