aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/GrpcCore/Internal
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-02-05 18:24:02 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-02-05 18:24:02 -0800
commita3b659c3ae248beeda86f7057dbb27460f2626c0 (patch)
tree7b6e62a920ce945a0b54d42ec1878d3593e48bd6 /src/csharp/GrpcCore/Internal
parent8ce5e8bbccc4b2d0e7e3b26fe857c105ba68943e (diff)
added comment
Diffstat (limited to 'src/csharp/GrpcCore/Internal')
-rw-r--r--src/csharp/GrpcCore/Internal/ServerWritingObserver.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/csharp/GrpcCore/Internal/ServerWritingObserver.cs b/src/csharp/GrpcCore/Internal/ServerWritingObserver.cs
index e18eb9e9f1..2b46e9c53d 100644
--- a/src/csharp/GrpcCore/Internal/ServerWritingObserver.cs
+++ b/src/csharp/GrpcCore/Internal/ServerWritingObserver.cs
@@ -3,6 +3,10 @@ using Google.GRPC.Core.Internal;
namespace Google.GRPC.Core.Internal
{
+ /// <summary>
+ /// Observer that writes all arriving messages to a call abstraction (in blocking fashion)
+ /// and then halfcloses the call. Used for server-side call handling.
+ /// </summary>
internal class ServerWritingObserver<TWrite, TRead> : IObserver<TWrite>
{
readonly AsyncCall<TWrite, TRead> call;