Home
last modified time | relevance | path

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

/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java377 ServerStreamListenerBase serverStreamListener = serverStreamCreation.listener; in openStreamPreventsTermination() local
400 assertTrue(serverStreamListener.awaitHalfClosed(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in openStreamPreventsTermination()
428 ServerStreamListenerBase serverStreamListener = serverStreamCreation.listener; in shutdownNowKillsClientStream() local
442 Status serverStatus = serverStreamListener.status.get(TIMEOUT_MS, TimeUnit.MILLISECONDS); in shutdownNowKillsClientStream()
465 ServerStreamListenerBase serverStreamListener = serverStreamCreation.listener; in shutdownNowKillsServerStream() local
488 assertNotNull(serverStreamListener.status.get(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in shutdownNowKillsServerStream()
702 ServerStreamListenerBase serverStreamListener = serverStreamCreation.listener; in basicStream() local
719 InputStream message = serverStreamListener.messageQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS); in basicStream()
732 assertNull("no additional message expected", serverStreamListener.messageQueue.poll()); in basicStream()
735 assertTrue(serverStreamListener.awaitHalfClosed(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in basicStream()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessTransport.java329 public void setListener(ServerStreamListener serverStreamListener) {
330 clientStream.setListener(serverStreamListener);
502 private ServerStreamListener serverStreamListener;
521 this.serverStreamListener = listener;
530 serverStreamListener.onReady();
550 serverStreamListener.messagesAvailable(serverReceiveQueue.poll());
554 serverStreamListener.halfClosed();
577 serverStreamListener.messagesAvailable(producer);
624 serverStreamListener.closed(serverListenerStatus);
634 serverStreamListener.halfClosed();
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServerStream.java88 void setListener(ServerStreamListener serverStreamListener); in setListener() argument
DAbstractServerStream.java175 public final void setListener(ServerStreamListener serverStreamListener) { in setListener() argument
176 transportState().setListener(serverStreamListener); in setListener()