8 Commits (891b688ff5e1d0bc7088a094b6885cf715b478e2)

Author SHA1 Message Date
trivernis 619a0173f0
Fix style issues
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 2527763494
Fix compile errors
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 4803a655d7
Introduce event types
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 2a9426badc
Add more serialization tests
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f189fe11f0
Add FromPayload implementation for DeserializeOwned
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 324a788031
Change how replies are emitted
All events that are emitted inside a handler function are seen
as replies to the event that called the handler.
The FromPayloadBytes and ToPayloadBytes traits have been renamed
to FromPayload and IntoPayload. The IntoPayload trait passes the
context in its arguments to allow serializable structures to be
serialized by the default serializer.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 639db8fc87
Update tests to be supported by messagepack
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis fb62135f86
Add tests for all payloads
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago