THRIFT-3018 Compact protocol for Delphi
Client: Delphi
Patch: Jens Geyer
diff --git a/lib/delphi/test/TestServer.pas b/lib/delphi/test/TestServer.pas
index 55384ed..4f599ea 100644
--- a/lib/delphi/test/TestServer.pas
+++ b/lib/delphi/test/TestServer.pas
@@ -34,6 +34,7 @@
Thrift.Transport.Pipes,
Thrift.Protocol,
Thrift.Protocol.JSON,
+ Thrift.Protocol.Compact,
Thrift.Collections,
Thrift.Utils,
Thrift.Test,
@@ -637,7 +638,7 @@
case protType of
prot_Binary : ProtocolFactory := TBinaryProtocolImpl.TFactory.Create( BINARY_STRICT_READ, BINARY_STRICT_WRITE);
prot_JSON : ProtocolFactory := TJSONProtocolImpl.TFactory.Create;
- prot_Compact : raise Exception.Create('Compact protocol not implemented');
+ prot_Compact : ProtocolFactory := TCompactProtocolImpl.TFactory.Create;
else
raise Exception.Create('Unhandled protocol');
end;