aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/GrpcCore/Server.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/csharp/GrpcCore/Server.cs')
-rw-r--r--src/csharp/GrpcCore/Server.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/csharp/GrpcCore/Server.cs b/src/csharp/GrpcCore/Server.cs
index 62ffa70b71..0882a61299 100644
--- a/src/csharp/GrpcCore/Server.cs
+++ b/src/csharp/GrpcCore/Server.cs
@@ -2,11 +2,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
-//
+//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
-//
+//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@@ -16,7 +16,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
-//
+//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -47,7 +47,7 @@ namespace Google.GRPC.Core
/// </summary>
public class Server
{
- // TODO: make sure the delegate doesn't get garbage collected while
+ // TODO: make sure the delegate doesn't get garbage collected while
// native callbacks are in the completion queue.
readonly EventCallbackDelegate newRpcHandler;
readonly EventCallbackDelegate serverShutdownHandler;
@@ -94,7 +94,7 @@ namespace Google.GRPC.Core
internal void RunRpc()
{
AllowOneRpc();
-
+
try
{
var rpcInfo = newRpcQueue.Take();
@@ -105,7 +105,7 @@ namespace Google.GRPC.Core
if (!callHandlers.TryGetValue(rpcInfo.Method, out callHandler))
{
callHandler = new NoSuchMethodCallHandler();
- }
+ }
callHandler.StartCall(rpcInfo.Method, rpcInfo.Call, GetCompletionQueue());
}
catch(Exception e)
@@ -209,4 +209,4 @@ namespace Google.GRPC.Core
}
}
}
-} \ No newline at end of file
+}