This page describes the inprocess transport which delivers events published by informers in a process to participants in the same process (i.e. inter-process or network communication does not occur).
See also
The following configuration options are accepted by the inprocess transport:
Name Type Comment
+ transport
+-- inprocess No options
Since events are transported within a single process, there is no need for serializing them into notifications and hence no need to apply converters as well. Instead, event objects published by informers are just passed to the appropriate participants after necessary meta-data has been added.
Important
This implementation requires that client code is forbidden to modify received events.
Distribution of events can be implemented as follows
Example for scope /foo/bar/:
super-scopes(/foo/bar/, include-self? = yes) = /, /foo/, /foo/bar/
Language | File(s) |
---|---|
C++ | “0.9” branch of https://code.cor-lab.org/git/rsb.git.cpp at src/rsb/transport/inprocess |
Java | not yet implemented |
Python | /../rsb-python/rsb/transport/local/__init__.py |
Common Lisp | “0.9” branch of https://code.cor-lab.org/git/rsb.git.cl at src/transport/inprocess |