Skip to content

Simplify command and stream types #369

@rekmarks

Description

@rekmarks

Presently, we have disjoint method types for kernel command calls and replies. These are in turn separate from the method implementations. Instead, method implementers should only need to specify a method name, a handler function, and potentially some parameter assertions.

This effort is impaired by our "fat" messaging types, which enshrine the aforementioned call / reply types. In order to make our messaging layer "thin" or "dumb", we will use JSON-RPC for all kernel IPC. This work was previously tracked separately in #464, but it actually makes the most sense do both refactors at the same time.

Our discrete units of IPC are the streams and messages sent between two conceptual (and usually actual) parts of the kernel. They are:

Related: #367, #368

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions