objectThriftMux extends Client[ThriftClientRequest, Array[Byte]] with ThriftRichClient with Server[Array[Byte], Array[Byte]] with ThriftRichServer
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.
Linear Supertypes
ThriftRichServer, Server[Array[Byte], Array[Byte]], ThriftRichClient, Client[ThriftClientRequest, Array[Byte]], AnyRef, Any
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.