【发布时间】:2012-06-23 13:39:21
【问题描述】:
例如 SearcherServer 和 SearcherClient 位于不同的文件中:
https://github.com/linkedin/indextank-engine/tree/master/src/main/java/com/flaptor/indextank/rpc
在 Java 中,SearcherClient 在其 main 方法中使用如下:
Searcher.Client client = new Searcher.Client(protocol);
【问题讨论】: