IGNITE-1693 .Net: Renamed IMessage.Send(IEnumerable, object) method to "SendAll".
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e0853eae Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e0853eae Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e0853eae Branch: refs/heads/ignite-1655 Commit: e0853eae7490dd918d600f27a3898f778fea06fc Parents: 2ed4794 Author: Pavel Tupitsyn <[email protected]> Authored: Tue Oct 20 17:00:26 2015 +0300 Committer: thatcoach <[email protected]> Committed: Tue Oct 20 17:00:26 2015 +0300 ---------------------------------------------------------------------- .../platforms/dotnet/Apache.Ignite.Core.Tests/MessagingTest.cs | 4 ++-- .../dotnet/Apache.Ignite.Core/Impl/Messaging/Messaging.cs | 2 +- .../platforms/dotnet/Apache.Ignite.Core/Messaging/IMessaging.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/e0853eae/modules/platforms/dotnet/Apache.Ignite.Core.Tests/MessagingTest.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/MessagingTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/MessagingTest.cs index 55f2e6c..274c25e 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/MessagingTest.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/MessagingTest.cs @@ -447,7 +447,7 @@ namespace Apache.Ignite.Core.Tests // Multiple messages (receive order is undefined) MessagingTestHelper.ClearReceived(messages.Count * expectedRepeat); - msg.Send(messages, topic); + msg.SendAll(messages, topic); MessagingTestHelper.VerifyReceive(cluster, messages, m => m.OrderBy(x => x), expectedRepeat); // Multiple messages, ordered @@ -468,7 +468,7 @@ namespace Apache.Ignite.Core.Tests // this will result in an exception in case of a message MessagingTestHelper.ClearReceived(0); - (grid ?? _grid1).GetMessaging().Send(NextMessage(), topic); + (grid ?? _grid1).GetMessaging().SendAll(NextMessage(), topic); Thread.Sleep(MessagingTestHelper.MessageTimeout); http://git-wip-us.apache.org/repos/asf/ignite/blob/e0853eae/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/Messaging.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/Messaging.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/Messaging.cs index 4ccbc3e..de94c74 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/Messaging.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/Messaging.cs @@ -86,7 +86,7 @@ namespace Apache.Ignite.Core.Impl.Messaging } /** <inheritdoc /> */ - public void Send(IEnumerable messages, object topic = null) + public void SendAll(IEnumerable messages, object topic = null) { IgniteArgumentCheck.NotNull(messages, "messages"); http://git-wip-us.apache.org/repos/asf/ignite/blob/e0853eae/modules/platforms/dotnet/Apache.Ignite.Core/Messaging/IMessaging.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Messaging/IMessaging.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Messaging/IMessaging.cs index f846745..de2b0d9 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Messaging/IMessaging.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Messaging/IMessaging.cs @@ -48,7 +48,7 @@ namespace Apache.Ignite.Core.Messaging /// </summary> /// <param name="messages">Messages to send.</param> /// <param name="topic">Topic to send to, null for default topic.</param> - void Send(IEnumerable messages, object topic = null); + void SendAll(IEnumerable messages, object topic = null); /// <summary> /// Sends a message with specified topic to the nodes in the underlying cluster group.
