Do remote procedure calls support bi-directional communication?
I. e. is it possible to build a communication mechanism
- using “pure” RPC (without any protocols on top of it like XML-RPC, JSON-RPC, Thrift etc.), which
- allows two machines to exchange messages in both directions (from machine 1 to machine 2 and vice versa) ?
The old well known RPC (ONC RPC/ SUN RPC) are allow bi-directional connections. Of course at the end you need an implementation which will support that. The is a fork of ti-rpc maintained by LinuxBox https://github.com/mattbenjamin/libtirpc-lbx and a java implementation http://code.google.com/p/nio-jrpc/ with bi-directional rpc support. Both libraries used in NFSv4.1 server/client implementations which require bi-directional RPC.