You can't declare that a struct contains a TSocket because the TSocket is not serializable. For Java, I would recommend subclassing the struct and adding the TSocket as a member of the subclass.
--David Luca wrote: > Hello everyone, > I wanted to use a TSocket in a struct, but apparently it's not > directly > possible. I'm wondering is there's a mechanism to include in the java > way the thrift libraries in such a way that the compiler doesn't > complain. Any hint? > > Cheers, > Luca > > > > > _______________________________________________ > thrift mailing list > [EMAIL PROTECTED] > http://publists.facebook.com/mailman/listinfo/thrift >
