RPC调用框架 fasterRPC
- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/pyinjava/fastrpc
- 软件文档: http://git.oschina.net/pyinjava/fastrpc
软件介绍
基于java AIO实现的RPC调用框架,封装完全屏蔽IO通信层,使用者就像调用本地API一样调用RPC接口
服务端初始化
public static void main(String[] args) throws Exception {
new FastRpcServer()
.threadSize(20)
.register("test", new TestService())
.bind(4567)
.start();
}客户端初始化
public static void main(String[] args) {
try(IClient client = new FastRpcClient()) {
client.connect(new InetSocketAddress("127.0.0.1", 4567));
ITestService service = client.getService("test", ITestService.class);
String say = service.say("Hello!");
System.out.println(say);
} catch (Exception e) {
e.printStackTrace();
}
}
Algorithms
Sanjoy Dasgupta、Christos H. Papadimitriou、Umesh Vazirani / McGraw-Hill Education / 2006-10-16 / GBP 30.99
This text, extensively class-tested over a decade at UC Berkeley and UC San Diego, explains the fundamentals of algorithms in a story line that makes the material enjoyable and easy to digest. Emphasi......一起来看看 《Algorithms》 这本书的介绍吧!
