Thrift的施用

Thrift的使用??5.编写启动服务代码??7.启动首先启动HelloServerDemo显示:HelloWorld TSimpleServer start

Thrift的使用

?

?

5.编写启动服务代码

?

?7.启动

首先启动HelloServerDemo

显示:

HelloWorld TSimpleServer start ....

然后启动HelloClientDemo

HelloServerDemo console显示

Thrify client result =: Hi,Michael welcome to my blog www.micmiu.com

?参考blog:http://www.cnblogs.com/johnc/archive/2011/06/19/2084508.html