[Quickfix-users] Message Header info...
Brought to you by:
orenmnero
From: Qui P. <qp...@ho...> - 2005-04-27 18:43:13
|
Can some one tell me how I could safely get the message header information using VB.NET I have tried the following without success: =20 Imports QuickFix =20 Public Class Application Inherits QuickFix.MessageCracker Implements QuickFix.Application =20 Public Sub fromApp(ByVal message As QuickFix.Message, ByVal sessionID As QuickFix.SessionID) Implements QuickFix.Application.fromApp crack(message, sessionID) End Sub =20 Public Overloads Overrides Sub onMessage(ByVal order As QuickFix42.NewOrderSingle, ByVal sessionID As QuickFix.SessionID) =20 Dim senderCompID As SenderCompID Dim header As QuickFix42.Header =3D order.getHeader() header.get(senderCompID) Console.WriteLine(senderCompID.getValue.ToString) =20 End Sub =20 End Class =20 =20 =20 Would appreciate any help. =20 Kind regards, --Q |