คำถามในหัวข้อ 'stub'
เมื่อใดที่ฉันต้องสร้าง async stub ‹GRPC›
ManagedChannel managedChannel = ManagedChannelBuilder.forAddress("localhost", 8888).usePlaintext().build();
Grpc.Stub stub = CLIGrpc.newStub(managedChannel);
เมื่อใดที่ฉันต้องสร้างต้นขั้ว? เมื่อทุกวิธีถูกเรียกหรือเพียงครั้งเดียว?
309 มุมมอง
schedule
13.01.2024