101102103104105106107108109110111
} } TProtocol prot; if (header) { prot = new TCompactProtocol(transport); } else { prot = new TBinaryProtocol(transport); } ThriftTest.Client testClient = new ThriftTest.Client(prot);