Searched refs:serverHandshaker (Results 1 – 5 of 5) sorted by relevance
46 private final NettyTsiHandshaker serverHandshaker = field in NettyTsiHandshakerTest72 if (serverHandshaker.processBytesFromPeer(clientData)) { in processPeerHandshakeShouldAcceptPartialFrames()89 assertTrue(serverHandshaker.isInProgress()); in isInProgress()94 assertFalse(serverHandshaker.isInProgress()); in isInProgress()101 assertNotNull(serverHandshaker.extractPeer()); in extractPeer_notNull()119 assertNotNull(serverHandshaker.extractPeerObject()); in extractPeerObject_notNull()154 NettyTsiHandshaker serverHandshaker, in doHandshake() argument160 if (!(clientHandshaker.isInProgress() || serverHandshaker.isInProgress())) { in doHandshake()167 serverHandshaker.processBytesFromPeer(clientData); in doHandshake()171 serverHandshaker.getBytesToSendToPeer(serverData); in doHandshake()[all …]
61 TsiHandshaker serverHandshaker = FakeTsiHandshaker.newFakeHandshakerServer(); in newHandshakers() local62 return new Handshakers(clientHandshaker, serverHandshaker); in newHandshakers()85 TsiHandshaker serverHandshaker = handshakers.getServer(); in handshakeStateOrderTest() local98 serverHandshaker.processBytesFromPeer(transportBuffer); in handshakeStateOrderTest()108 serverHandshaker.getBytesToSendToPeer(transportBuffer); in handshakeStateOrderTest()119 serverHandshaker.getBytesToSendToPeer(transportBuffer); in handshakeStateOrderTest()130 serverHandshaker.processBytesFromPeer(transportBuffer); in handshakeStateOrderTest()140 serverHandshaker.getBytesToSendToPeer(transportBuffer); in handshakeStateOrderTest()151 serverHandshaker.getBytesToSendToPeer(transportBuffer); in handshakeStateOrderTest()
109 private final NettyTsiHandshaker serverHandshaker = new NettyTsiHandshaker(mockHandshaker); field in AltsProtocolNegotiatorTest208 TsiFrameProtector serverProtector = serverHandshaker.createFrameProtector(channel.alloc()); in protectShouldRoundtrip()255 serverHandshaker.createFrameProtector(serverFrameSize, channel.alloc()); in unprotectLargeIncomingFrame()360 assertTrue(serverHandshaker.processBytesFromPeer(clientFrame)); in doHandshake()364 serverHandshaker.getBytesToSendToPeer(serverFrame); in doHandshake()370 assertTrue(serverHandshaker.processBytesFromPeer(clientFrame)); in doHandshake()374 serverHandshaker.getBytesToSendToPeer(serverFrame); in doHandshake()378 assertFalse(serverHandshaker.isInProgress()); in doHandshake()
82 TsiHandshaker serverHandshaker = handshakers.getServer(); in performHandshake() local88 while (clientHandshaker.isInProgress() || serverHandshaker.isInProgress()) { in performHandshake()89 for (TsiHandshaker handshaker : new TsiHandshaker[] {clientHandshaker, serverHandshaker}) { in performHandshake()105 serverHandshaker.extractPeer(); in performHandshake()
83 TsiHandshaker serverHandshaker = new AltsTsiHandshaker(false, server); in newHandshakers() local84 return new Handshakers(clientHandshaker, serverHandshaker); in newHandshakers()