17 Commits (25277634944e6605f781ea2ff9349a77fd95d2ed)

Author SHA1 Message Date
trivernis 4803a655d7
Introduce event types
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 248fb403d5
Add event based timeout support
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 6299f9be02
Change serialization to be able to use multiple formats
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d1b426e10b
Add event format version validation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis be869a7faa
Move messagepack to features and implement raw byte protocol for serialisation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 1152c949e4
Remove tracing of raw event data
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3b7dd510d8
Replace log with tracing crate
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a76e41850d
Change event serialization to not serialize the data twice
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2e1fdfa5ac
Remove unused import
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a485f664a0
Add EventReceivePayload trait and BytePayload wrapper
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6cb1fb7eba
Add more logging
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 1921c2a704
Add namespaces
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 24b5da1933
Add event response handling
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 8e483b97cb
Add event_ids to events
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 5792c6757d
Add most ipc stuff
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago