Closed jnan806 closed 1 year ago
Signed-off-by: Jiangnan Jia jnan0806@gmail.com
support client reuse
Fixes #8
OpenSergoClientManager
Builder
OpenSergoConfig
OpenSergoClient openSergoClient = OpenSergoClientManager.get().getOrCreateClient("127.0.0.1", 10246, new OpenSergoConfig());
OpenSergoClient openSergoClient = new OpenSergoClient.Builder().endpoint("127.0.0.1", 10246).openSergoConfig(new OpenSergoConfig()).build();
Thanks!
Signed-off-by: Jiangnan Jia jnan0806@gmail.com
Describe what this PR does / why we need it
support client reuse
Does this pull request fix one issue?
Fixes #8
Describe how you did it
OpenSergoClientManager
to manage the reuse OpenSergoClientBuilder
in OpenSergoClient for creating instanceOpenSergoConfig
to support customized configDescribe how to verify it
Special notes for reviews