On Wed, 04 Jun 2014 16:12:18 GMT, David Nadlinger wrote:

Multiplexing multiple services onto one port/connection was only added very recently to Thrift, i.e. after I wrote the D implementation. Nobody has updated the D library to support it since, though it should not be too hard to add (see https://issues.apache.org/jira/browse/THRIFT-1915). How do you envision this to interact with the routing mechanism?

The word 'routing' was wrongly choosen. I meant just implementing the multiplexing protocol and expose it cleanly, maybe something like that:

alias Services = VibedThriftMultiplexedService!("foo", Foo, "bar", Bar);
listenThrift!Services(thriftServerSettings);