Hello, Most languages do not generate a server skeleton, c++ is one of the few that does.
-Randy On Wednesday, April 8, 2015, Deeraj <[email protected]> wrote: > > *Hi, > > I am trying to implement client/ server in c. I am able to generate the > server skeleton in cpp using the following command : > > thrift ---gen cpp test.thrift > > But while generating the code using c_glib, the server skeleton is not > generated. > > Is this a problem with my .thrift file or is it because of the c_glib ? > Can you kindly confirm whether the c_glib generates the server skeleton? > > The test.thrift file am using is appended here : > > * > > |#!/usr/local/bin/thrift --gen c_glib > > namespace c_glibTest > > struct packet{ > 1:required i32 header, > 2:required i32 data, > 3:required i32 crc > } > > serviceSomething { > i32 ping(), > packet transfer() > }| > > > >
