From 774f677097aa62efaaefcc0ed52ca68324c5e353 Mon Sep 17 00:00:00 2001 From: Asias He Date: Fri, 26 Jun 2015 09:43:01 +0800 Subject: [PATCH] streaming: Add stream_coordinator::is_receiving --- streaming/stream_coordinator.hh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/streaming/stream_coordinator.hh b/streaming/stream_coordinator.hh index 25e6515853..c805862a3d 100644 --- a/streaming/stream_coordinator.hh +++ b/streaming/stream_coordinator.hh @@ -70,12 +70,11 @@ public: return results; } -#if 0 - public boolean isReceiving() - { - return connectionsPerHost == 0; + bool is_receiving() { + return _connections_per_host == 0; } +#if 0 public void connectAllStreamSessions() { for (HostStreamingData data : peerSessions.values())