Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change 
notification.

The "ThriftUsageC++" page has been changed by AkiraKitada.
http://wiki.apache.org/thrift/ThriftUsageC%2B%2B?action=diff&rev1=25&rev2=26

--------------------------------------------------

  
  Here's the autogenerated skeleton file to illustrate how to write a server: 
'''Something_server.cpp'''
  
- {{{
+ {{{#!highlight c++
  #include "Something.h"
  #include <protocol/TBinaryProtocol.h>
  #include <server/TSimpleServer.h>
@@ -122, +122 @@

  == Writing the client code ==
  {{{thrift}}} generates a client interface, but you have to hook it up a bit 
on your own.
  
- {{{
+ {{{#!highlight c++
  #include "Something.h"  // As an example
  
  #include <transport/TSocket.h>

Reply via email to