All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ckite.rpc.FinagleThriftRpc.scala Maven / Gradle / Ivy

There is a newer version: 0.2.1
Show newest version
package ckite.rpc

import ckite.rpc.thrift.{ FinagleThriftClient, FinagleThriftServer }
import com.typesafe.config.ConfigFactory

object FinagleThriftRpc extends Rpc {

  private val config = ConfigFactory.load()

  override def createServer(rpcService: RpcService): RpcServer = FinagleThriftServer(rpcService, config)

  override def createClient(binding: String): RpcClient = FinagleThriftClient(binding)

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy