Home
last modified time | relevance | path

Searched refs:handshakerOptions (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsHandshakerClient.java49 private final AltsHandshakerOptions handshakerOptions; field in AltsHandshakerClient
56 handshakerOptions = options; in AltsHandshakerClient()
62 handshakerOptions = options; in AltsHandshakerClient()
82 if (handshakerOptions.getRpcProtocolVersions() != null) { in setStartClientFields()
83 startClientReq.setRpcVersions(handshakerOptions.getRpcProtocolVersions()); in setStartClientFields()
85 if (handshakerOptions instanceof AltsClientOptions) { in setStartClientFields()
86 AltsClientOptions clientOptions = (AltsClientOptions) handshakerOptions; in setStartClientFields()
106 if (handshakerOptions.getRpcProtocolVersions() != null) { in setStartServerFields()
107 startServerReq.setRpcVersions(handshakerOptions.getRpcProtocolVersions()); in setStartServerFields()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsChannelBuilder.java143 final AltsClientOptions handshakerOptions = handshakerOptionsBuilder.build(); in build() local
153 handshakerOptions); in build()
158 TcpfFactory tcpfFactory = new TcpfFactory(handshakerOptions, negotiator); in build()
177 return tcpfFactoryForTest.handshakerOptions; in getAltsClientOptionsForTest()
182 final AltsClientOptions handshakerOptions; field in AltsChannelBuilder.TcpfFactory
185 public TcpfFactory(AltsClientOptions handshakerOptions, AltsProtocolNegotiator negotiator) { in TcpfFactory() argument
186 this.handshakerOptions = handshakerOptions; in TcpfFactory()
DGoogleDefaultChannelBuilder.java69 final AltsClientOptions handshakerOptions = in GoogleDefaultChannelBuilder() local
83 HandshakerServiceGrpc.newStub(channel), handshakerOptions); in GoogleDefaultChannelBuilder()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiTest.java64 AltsHandshakerOptions handshakerOptions = new AltsHandshakerOptions(null); in setUp() local
67 client = new AltsHandshakerClient(clientStub, handshakerOptions); in setUp()
68 server = new AltsHandshakerClient(serverStub, handshakerOptions); in setUp()