AutowireRPC 远程过程调用
Autowire 包含一对宏,可以让你在两个 Scala 系统之间执行类型安全、无反射的 RPC 远程过程调用。示例代码:
// shared interface trait Api{ def add(x: Int, y: Int, z: Int): Int } // server-side router and implementation object Server extends autowire.Server... object ApiImpl extends Api def add(x: Int, y: Int, z: Int) = x + y + z } // client-side callsite object Client extends autowire.Client... Client[Api].add(1, 2, 3).call(): Future[Int] // | | | // | | The T is pickled and wrapped in a Future[T] // | The arguments to that method are pickled automatically // Call a method on the `Api` trait
评论
PHPRPC远程过程调用
PHPRPC是一个轻型的、安全的、跨网际的、跨语言的、跨平台的、跨环境的、跨域的、支持复杂对象传输的、支持引用参数传递的、支持内容输出重定向的、支持分级错误处理的、支持会话的、面向服务的高性能远程过程
PHPRPC远程过程调用
0
XMLRPC远程过程调用
XML-RPC是一个远程过程调用(remoteprocedurecall,RPC)的分布式计算协议,通过XML将调用函数封装,并使用HTTP协议作为传送机制。XML-RPC协定是已登记的专利项目,由P
XMLRPC远程过程调用
0