[PATCH] C# MamaFtMember bridged mode is not working


Adrienne Ambrose <AAmbrose@...>
 

TESTING:-

**Windows only** 
No middleware dependencies. 

Will need to run MamaFtMember c# in bridge mode, both before & after the fix.

Before the fix the previous version will hang,  after the addition of the of the incremented argument pointer it should run as expected.

 

PATCH:- 0002-C-MamaFtMember-bridged-mode-is-not-working

From 0240f6890c1bf511091a085c7077e31294b98d35 Mon Sep 17 00:00:00 2001

From: A Ambrose <aambrose@...>

Date: Thu, 21 Aug 2014 11:38:11 +0100

Subject: [PATCH 2/3] C# MamaFtMember bridged mode is not working

 

Modification to the MamaFtMember C# example application to fix bridged mode

as it previously did not work. The argument pointer was not being incremented.

[OMAMA-282]

 

Signed-off-by: A Ambrose <aambrose@...>

---

.../src/examples/MamaFtMember/MamaFtMemberCS.cs    |    1 +

1 files changed, 1 insertions(+), 0 deletions(-)

 

diff --git a/mama/dotnet/src/examples/MamaFtMember/MamaFtMemberCS.cs b/mama/dotnet/src/examples/MamaFtMember/MamaFtMemberCS.cs

index 6f96127..d318732 100644

--- a/mama/dotnet/src/examples/MamaFtMember/MamaFtMemberCS.cs

+++ b/mama/dotnet/src/examples/MamaFtMember/MamaFtMemberCS.cs

@@ -150,6 +150,7 @@ namespace Wombat

                                                               if (args[i].CompareTo ("-b") == 0)

                                                               {

                                                                               ft_type = (uint)mamaFtType.MAMA_FT_TYPE_BRIDGE;

+                                                                             i++;

                                                                               continue;

                                                               }

--

1.7.1

 


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of Intercontinental Exchange, Inc. (ICE), Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.