This PR drafts refactored API for IPC which provides CompositeMetadata interaction support keeping the API Backward compatible. Along with that, this PR moves away from service and method definitions and brings constant route notion and function which can respond to a particular route (route is a string value). In order to find a handler function, RequestHandlingRSocket contains a full map of routes with regards to which services they relate. Now, in order to extract route (which could be anything), we have MetadataDecoder which let us parse incoming metadata and extract the required info hiding details of a certain implementation
This PR drafts refactored API for IPC which provides CompositeMetadata interaction support keeping the API Backward compatible. Along with that, this PR moves away from
service
andmethod
definitions and brings constantroute
notion and function which can respond to a particular route (route
is a string value). In order to find a handler function,RequestHandlingRSocket
contains a full map of routes with regards to which services they relate. Now, in order to extract route (which could be anything), we haveMetadataDecoder
which let us parse incoming metadata and extract the required info hiding details of a certain implementation