eclipse-iceoryx / iceoryx

Eclipse iceoryx™ - true zero-copy inter-process-communication
https://iceoryx.io
Apache License 2.0
1.6k stars 373 forks source link

Refactor IpcChannel #832

Open elfenpiff opened 3 years ago

elfenpiff commented 3 years ago

Brief feature description

The current IpcChannel abstraction is just a type alias with the big downside that all ipc channels (message queue, unix domain sockets, named pipes and the upcoming qnx message passing) have to support all the features of the message queue.

We require an IpcChannel abstraction which reduces the interface to a very small subset of common functionality (send, receive).

Detailed information

elBoberido commented 3 years ago

The interface is not sufficient since we potentially need to do some checks when RouDi or an application starts like if an IpcChannel is already available or deleted from the file system.

Removing std::string could be done once we switch to a binary serialization. I already have a PoC for this, just need some time to finish it.