if (unframed) {
testClient(transport, prot); // Unframed
}
List<THeaderTransport.ClientTypes> clientTypes =
new ArrayList<THeaderTransport.ClientTypes>();
prot = new THeaderProtocol(transport, clientTypes);
if (header) {
testClient(transport, prot); // Header w/compact
}
TFramedTransport framedTransport = new TFramedTransport(transport);
prot = new TBinaryProtocol(framedTransport);