From f896acf06bfe81e697bf088c9599ed59574dbd14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6llner?= Date: Wed, 22 Apr 2020 22:35:06 +0200 Subject: [PATCH] doc. added --- Benchmarking/Benchmark/Benchmark.csproj | 4 ++-- Benchmarking/EchoServiceCapnp/EchoServiceCapnp.csproj | 4 ++-- Capnp.Net.Runtime/FramePump.cs | 3 +++ Capnp.Net.Runtime/Rpc/IEndpoint.cs | 3 +++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Benchmarking/Benchmark/Benchmark.csproj b/Benchmarking/Benchmark/Benchmark.csproj index 0471ab5..5193d73 100644 --- a/Benchmarking/Benchmark/Benchmark.csproj +++ b/Benchmarking/Benchmark/Benchmark.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/Benchmarking/EchoServiceCapnp/EchoServiceCapnp.csproj b/Benchmarking/EchoServiceCapnp/EchoServiceCapnp.csproj index 57d08f5..cbc0e54 100644 --- a/Benchmarking/EchoServiceCapnp/EchoServiceCapnp.csproj +++ b/Benchmarking/EchoServiceCapnp/EchoServiceCapnp.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/Capnp.Net.Runtime/FramePump.cs b/Capnp.Net.Runtime/FramePump.cs index 71c611b..1184f46 100644 --- a/Capnp.Net.Runtime/FramePump.cs +++ b/Capnp.Net.Runtime/FramePump.cs @@ -121,6 +121,9 @@ namespace Capnp } } + /// + /// Flushes all buffered frames. + /// public void Flush() { if (Monitor.TryEnter(_writeLock)) diff --git a/Capnp.Net.Runtime/Rpc/IEndpoint.cs b/Capnp.Net.Runtime/Rpc/IEndpoint.cs index 02aa5d6..e7e37b6 100644 --- a/Capnp.Net.Runtime/Rpc/IEndpoint.cs +++ b/Capnp.Net.Runtime/Rpc/IEndpoint.cs @@ -10,6 +10,9 @@ /// void Forward(WireFrame frame); + /// + /// Indicates that the endpoint should flush any buffered frames. + /// void Flush(); ///