Home
last modified time | relevance | path

Searched refs:Factory (Results 1 – 25 of 87) sorted by relevance

1234

/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/protocol/
DTestTProtocolUtil.java35 TProtocolUtil.guessProtocolFactory(data, new TCompactProtocol.Factory()); in testGuessProtocolFactory_JSON()
36 assertTrue(factory instanceof TJSONProtocol.Factory); in testGuessProtocolFactory_JSON()
43 byte[] ser = new TSerializer(new TCompactProtocol.Factory()).serialize(s); in testGuessProtocolFactory_JSON()
44 factory = TProtocolUtil.guessProtocolFactory(ser, new TCompactProtocol.Factory()); in testGuessProtocolFactory_JSON()
45 assertFalse(factory instanceof TJSONProtocol.Factory); in testGuessProtocolFactory_JSON()
56 TProtocolUtil.guessProtocolFactory(buf, new TCompactProtocol.Factory()); in testGuessProtocolFactory_Binary()
57 assertTrue(factory instanceof TBinaryProtocol.Factory); in testGuessProtocolFactory_Binary()
63 TProtocolUtil.guessProtocolFactory(buf, new TCompactProtocol.Factory()); in testGuessProtocolFactory_Binary()
64 assertTrue(factory instanceof TBinaryProtocol.Factory); in testGuessProtocolFactory_Binary()
73 TProtocolUtil.guessProtocolFactory(buf, new TBinaryProtocol.Factory()); in testGuessProtocolFactory_Compact()
[all …]
DTestTTupleProtocol.java17 return new TTupleProtocol.Factory(); in getFactory()
25 new TDeserializer(new TTupleProtocol.Factory()) in testBitsetLengthIssue()
28 new TSerializer(new TTupleProtocol.Factory()).serialize(t1)); in testBitsetLengthIssue()
DTestTCompactProtocol.java30 return new TCompactProtocol.Factory(); in getFactory()
43 TDeserializer deser = new TDeserializer(new TCompactProtocol.Factory(1000)); in testOOMDenialOfService()
DBenchmarkProtocols.java19 add(new TTupleProtocol.Factory());
20 add(new TCompactProtocol.Factory());
21 add(new TBinaryProtocol.Factory());
/thrift-3.4.0/lib/delphi/src/
DThrift.TypeRegistry.pas70 Factory : Pointer;
78 if FTypeInfoToFactoryLookup.TryGetValue(TypeInfo, Factory)
79 then Result := TFactoryMethod<F>(Factory)();
85 Factory : Pointer;
88 if FTypeInfoToFactoryLookup.TryGetValue(aTypeInfo, Factory)
89 then Result := IBase(TFactoryMethod<IBase>(Factory)());
/thrift-3.4.0/lib/swift/Sources/
DTClient.swift37 open class TAsyncClient<Protocol: TProtocol, Factory: TAsyncTransportFactory> {
38 public var factory: Factory
39 public init(with protocol: Protocol.Type, factory: Factory) {
DTHTTPSessionTransport.swift32 public class Factory : TAsyncTransportFactory { class
81 var factory: Factory
86 init(factory: Factory) {
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/protocol/
DTProtocolUtil.java164 return new TJSONProtocol.Factory(); in guessProtocolFactory()
173 return new TBinaryProtocol.Factory(); in guessProtocolFactory()
182 return new TCompactProtocol.Factory(); in guessProtocolFactory()
192 return new TBinaryProtocol.Factory(); in guessProtocolFactory()
204 return new TCompactProtocol.Factory(); in guessProtocolFactory()
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/partial/
DThriftSerDe.java36 this.binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in ThriftSerDe()
37 this.compactSerializer = new TSerializer(new TCompactProtocol.Factory()); in ThriftSerDe()
38 this.binaryDeserializer = new TDeserializer(new TBinaryProtocol.Factory()); in ThriftSerDe()
39 this.compactDeserializer = new TDeserializer(new TCompactProtocol.Factory()); in ThriftSerDe()
DPartialThriftComparerTest.java53 new TDeserializer(TestStruct.class, fieldNames, new TBinaryProtocol.Factory()); in testCompareSimple()
55 new TDeserializer(TestStruct.class, fieldNames, new TCompactProtocol.Factory()); in testCompareSimple()
/thrift-3.4.0/lib/php/
DMakefile.am60 phpfactorydir = $(phpdir)/Factory
62 lib/Factory/TBinaryProtocolFactory.php \
63 lib/Factory/TCompactProtocolFactory.php \
64 lib/Factory/TJSONProtocolFactory.php \
65 lib/Factory/TProtocolFactory.php \
66 lib/Factory/TStringFuncFactory.php \
67 lib/Factory/TTransportFactory.php
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/transport/layered/
DTFastFramedTransport.java35 public static class Factory extends TTransportFactory { class in TFastFramedTransport
39 public Factory() { in Factory() method in TFastFramedTransport.Factory
43 public Factory(int initialCapacity) { in Factory() method in TFastFramedTransport.Factory
47 public Factory(int initialCapacity, int maxLength) { in Factory() method in TFastFramedTransport.Factory
DTFramedTransport.java42 public static class Factory extends TTransportFactory { class in TFramedTransport
45 public Factory() { in Factory() method in TFramedTransport.Factory
49 public Factory(int maxLength) { in Factory() method in TFramedTransport.Factory
/thrift-3.4.0/lib/php/lib/Server/
DTServer.php5 use Thrift\Factory\TTransportFactory;
6 use Thrift\Factory\TProtocolFactory;
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/test/
DTestServlet.java34 TProtocolFactory tProtocolFactory = new TCompactProtocol.Factory(); in getInProtocolFactory()
40 TProtocolFactory tProtocolFactory = new TCompactProtocol.Factory(); in getOutProtocolFactory()
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/
DTestFullCamel.java36 TSerializer binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in testCamelCaseSyntax()
37 TDeserializer binaryDeserializer = new TDeserializer(new TBinaryProtocol.Factory()); in testCamelCaseSyntax()
DTestReuse.java36 TSerializer binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in testReuseObject()
37 TDeserializer binaryDeserializer = new TDeserializer(new TBinaryProtocol.Factory()); in testReuseObject()
/thrift-3.4.0/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/
DTestServer.kt214 TFramedTransport.Factory() in getTransportFactory()
217 TFastFramedTransport.Factory() in getTransportFactory()
220 TZlibTransport.Factory() in getTransportFactory()
229 ProtocolType.Json, ProtocolType.MultiJson -> TJSONProtocol.Factory() in getProtocolFactory()
231 TCompactProtocol.Factory(stringLimit, containerLimit) in getProtocolFactory()
233 TBinaryProtocol.Factory(stringLimit, containerLimit) in getProtocolFactory()
/thrift-3.4.0/lib/java/src/crossTest/java/org/apache/thrift/test/
DTestServer.java250 tProtocolFactory = new TJSONProtocol.Factory(); in main()
252 tProtocolFactory = new TCompactProtocol.Factory(string_limit, container_limit); in main()
254 tProtocolFactory = new TBinaryProtocol.Factory(string_limit, container_limit); in main()
260 tTransportFactory = new TFramedTransport.Factory(); in main()
262 tTransportFactory = new TFastFramedTransport.Factory(); in main()
264 tTransportFactory = new TZlibTransport.Factory(); in main()
/thrift-3.4.0/lib/javame/src/org/apache/thrift/transport/
DTFramedTransport.java48 public static class Factory extends TTransportFactory { class in TFramedTransport
49 public Factory() { in Factory() method in TFramedTransport.Factory
/thrift-3.4.0/lib/php/lib/Factory/
DTProtocolFactory.php23 namespace Thrift\Factory;
DTCompactProtocolFactory.php23 namespace Thrift\Factory;
DTJSONProtocolFactory.php23 namespace Thrift\Factory;
DTTransportFactory.php3 namespace Thrift\Factory;
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/transport/
DTSaslServerTransport.java146 public static class Factory extends TTransportFactory { class in TSaslServerTransport
163 public Factory() { in Factory() method in TSaslServerTransport.Factory
172 public Factory( in Factory() method in TSaslServerTransport.Factory

1234