(Since version 6.7.x) Use destination names
(Since version 6.7.x) Use destination names via newIface(String) or newIface(Name)
(Since version 6.7.x) Use destination names via newIface(String) or newIface(Name)
(Since version 6.7.x) Use destination names
ThriftMux is a client and server for thrift, using com.twitter.finagle.mux as a transport. Rich interfaces are provided to serve interfaces generated from a thrift IDL directly from Scrooge or thrift-finagle.
Clients can be created directly from an interface generated via a Thrift IDL:
$clientExample
Servers are also simple to expose:
$serverExample
By default, the thrift binary protocol is used; different protocol factories may be supplied by instantiating new clients or servers.