[英]Message parsing not working (Linux - Ubuntu)
I`m trying to make a working sample in a Linux Machine (with ubuntu).我正在尝试在 Linux 机器(使用 ubuntu)中制作工作样本。 But when the method FromAdmin(Message msg... is invoked, on Windows it parses to a right message type. Eg.
但是当调用 FromAdmin(Message msg... 方法时,在 Windows 上,它会解析为正确的消息类型。例如。
switch (msg) case QuickFix.FIX44.Reject reject: (On windows it works fine)开关(味精)案例 QuickFix.FIX44.Reject 拒绝:(在 windows 上工作正常)
On linux it cannot pase to the correct base type.在 linux 上,它无法转换为正确的基本类型。
Any thoughs?有什么想法吗?
Using latest version on nugetpackage:在 nugetpackage 上使用最新版本:
PackageReference Include="QuickFix.Net.NETCore" Version="1.8.1"
PackageReference Include="QuickFix.Net.NETCore.FIX44" Version="1.8.1"
within:内:
TargetFramework net5.0
Well... i found a way.嗯……我找到了办法。
Looking forward to the documentation i found this:期待我发现的文档:
http://quickfixn.org/tutorial/receiving-messages (Using the MessageCracker implementation) http://quickfixn.org/tutorial/receiving-messages (使用 MessageCracker 实现)
That solved my parsing problem.这解决了我的解析问题。
Hope that his helps someone.希望他对某人有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.