Mickael Remond
af0ae525b8
An IQ can only have a single payload
...
"An IQ stanza of type "get" or "set" MUST contain exactly one
child element, which specifies the semantics of the particular
request."
2019-06-19 14:03:42 +02:00
Mickael Remond
4d015e5b29
With go modules, we should be able to remove import comments
2019-06-18 16:28:30 +02:00
Mickael Remond
b05e68c844
Add router to make it easier to set up routing info
...
- Using the router, the dispatch is not done anymore by receiving from
receive channel, but by registering callback functions in routers,
with matchers.
- Make IQPayload a real interface to make it easier to match namespaces.
- The StreamManager Run command is now blocking, waiting for StreamManager
to terminate.
2019-06-18 14:36:56 +02:00
Mickael Remond
322a6594e7
Fix missing entry in payload registry
2019-06-10 12:30:01 +02:00
Mickael Remond
45cb2e6f34
Add support for Software Version parsing
2019-06-10 11:56:07 +02:00
Mickael Remond
6cdadc95e9
Expose type registry for custom user-defined payload and extensions
2019-06-05 10:23:18 +02:00
Mickael Remond
80d8d6d231
Apply namespace fixes from #33
2019-06-05 08:51:21 +02:00
Mickael Remond
7a4364be95
Refactor / clean up registry
2019-06-04 18:47:44 +02:00
Mickael Remond
836e723273
Refactor / extract the registry
...
Work in progress
2019-06-04 18:47:44 +02:00
Mickael Remond
f74f276a22
Fix me note
2019-06-04 18:47:44 +02:00
Mickael Remond
c7cdf3b5f3
Fix broken imports
2018-12-26 19:10:30 +01:00
Mickael Remond
5eae7f4ef7
Move project to gosrc.io/xmpp
...
The URL will be more permanent as this is a place we dedicate as short URL for our go projects.
2018-12-26 18:50:01 +01:00
Mickael Remond
07b0d2d14d
Cleanup and add test for IOT control set parsing
2018-02-13 23:04:13 +01:00
Mickael Remond
d6bedfb033
Minor cleanup
2018-02-13 22:07:15 +01:00
Mickael Remond
c451e3bc63
Add support for disco info node
2018-01-26 11:40:34 +01:00
Mickael Remond
266ed9b1e4
Do not marshal 'empty' error elements
2018-01-26 11:16:04 +01:00
Mickael Remond
2cd8eed765
Implement disco#items parsing and marshaling
2018-01-26 09:24:34 +01:00
Mickael Remond
ca148e5fe5
Improve code documentation
2018-01-25 17:04:19 +01:00
Mickael Remond
8cb1e1264e
Clean-up
2018-01-23 09:08:21 +01:00
Mickael Remond
57cc0a25ac
Clean-up
2018-01-22 23:33:16 +01:00
Mickael Remond
fb8d050a00
IQ error management
2018-01-20 18:56:07 +01:00
Mickael Remond
8470c01c09
Implement error parsing
2018-01-20 18:09:13 +01:00
Mickael Remond
bbfafbb32c
Clean-up / Consistency
2018-01-18 17:03:54 +01:00
Mickael Remond
993ca630f7
Test and code refactor
2018-01-17 18:47:34 +01:00
Mickael Remond
d33490cdc0
Work-in-progress on dynamic IQ parsing
2018-01-16 22:33:21 +01:00
Mickael Remond
c821267928
Do not repeat xmlns in attributes on parsing
2018-01-15 12:47:26 +01:00
Mickael Remond
dade3504f0
Improve generic IQ parsing
2018-01-15 12:28:34 +01:00
Mickael Remond
94815de173
Makes parsing of inner IQ XML generic
2018-01-13 19:27:46 +01:00
Mickael Remond
e14f58d9a9
Decode query
2018-01-13 19:14:26 +01:00
Mickael Remond
10219ec1e6
Refactor parsing / improve typing
2018-01-13 18:50:17 +01:00
Mickael Remond
01063ec284
Refactor attributes name
2018-01-13 17:54:07 +01:00
Mickael Remond
1ea560ba1e
Fix missing packages and references
2018-01-01 18:35:47 +01:00
Mickael Remond
710174b165
Moving XMPP library to Fluux project
2018-01-01 18:12:33 +01:00