C# Class QuickFix.Message

Represents a FIX message
Inheritance: FieldMap
Mostra file Open project: kennystone/quickfixn Class Usage Examples

Public Methods

Method Description
CheckSum ( ) : int
Clear ( ) : void
ExtractBeginString ( string msgstr ) : string
ExtractField ( string msgstr, int &pos ) : StringField
ExtractField ( string msgstr, int &pos, DataDictionary sessionDD, DataDictionary appDD ) : StringField
FromString ( string msgstr, bool validate, DataDictionary sessionDD, DataDictionary appDD ) : void
FromStringHeader ( string msgstr ) : bool
GetFieldOrDefault ( FieldMap fields, int tag, string defaultValue ) : string
GetMsgType ( string msg ) : string

FIXME totally bogus

GetReverseSessionID ( Message msg ) : SessionID
GetReverseSessionID ( string msg ) : SessionID

FIXME totally bogus

GetSessionID ( Message m ) : SessionID
HasValidStructure ( int &field ) : bool
IdentifyType ( string msgstr ) : MsgType

Parse the MsgType from a FIX string

IsAdmin ( ) : bool
IsAdminMsgType ( string msgType ) : bool
IsApp ( ) : bool
IsHeaderField ( int tag ) : bool
IsHeaderField ( int tag, DataDictionary dd ) : bool
IsTrailerField ( int tag ) : bool
IsTrailerField ( int tag, DataDictionary dd ) : bool
Message ( ) : System
Message ( Message src ) : System
Message ( string msgstr ) : System
Message ( string msgstr, DataDictionary sessionDataDictionary, DataDictionary appDD, bool validate ) : System
Message ( string msgstr, DataDictionary dataDictionary, bool validate ) : System
Message ( string msgstr, bool validate ) : System
ReverseRoute ( Header header ) : void
SetSessionID ( SessionID sessionID ) : void

FIXME less operator new

ToString ( ) : string
Validate ( ) : void

Protected Methods

Method Description
BodyLength ( ) : int
SetGroup ( StringField grpNoFld, string msgstr, int pos, FieldMap fieldMap, DataDictionary dd, DataDictionary sessionDataDictionary, DataDictionary appDD ) : int

Method Details

BodyLength() protected method

protected BodyLength ( ) : int
return int

CheckSum() public method

public CheckSum ( ) : int
return int

Clear() public method

public Clear ( ) : void
return void

ExtractBeginString() public static method

public static ExtractBeginString ( string msgstr ) : string
msgstr string
return string

ExtractField() public static method

public static ExtractField ( string msgstr, int &pos ) : StringField
msgstr string
pos int
return StringField

ExtractField() public static method

public static ExtractField ( string msgstr, int &pos, DataDictionary sessionDD, DataDictionary appDD ) : StringField
msgstr string
pos int
sessionDD DataDictionary
appDD DataDictionary
return StringField

FromString() public method

public FromString ( string msgstr, bool validate, DataDictionary sessionDD, DataDictionary appDD ) : void
msgstr string
validate bool
sessionDD DataDictionary
appDD DataDictionary
return void

FromStringHeader() public method

public FromStringHeader ( string msgstr ) : bool
msgstr string
return bool

GetFieldOrDefault() public static method

public static GetFieldOrDefault ( FieldMap fields, int tag, string defaultValue ) : string
fields FieldMap
tag int
defaultValue string
return string

GetMsgType() public static method

FIXME totally bogus
public static GetMsgType ( string msg ) : string
msg string
return string

GetReverseSessionID() public static method

public static GetReverseSessionID ( Message msg ) : SessionID
msg Message
return SessionID

GetReverseSessionID() public static method

FIXME totally bogus
public static GetReverseSessionID ( string msg ) : SessionID
msg string
return SessionID

GetSessionID() public method

public GetSessionID ( Message m ) : SessionID
m Message
return SessionID

HasValidStructure() public method

public HasValidStructure ( int &field ) : bool
field int
return bool

IdentifyType() public static method

Parse the MsgType from a FIX string
public static IdentifyType ( string msgstr ) : MsgType
msgstr string string of a FIX message
return QuickFix.Fields.MsgType

IsAdmin() public method

public IsAdmin ( ) : bool
return bool

IsAdminMsgType() public static method

public static IsAdminMsgType ( string msgType ) : bool
msgType string
return bool

IsApp() public method

public IsApp ( ) : bool
return bool

IsHeaderField() public static method

public static IsHeaderField ( int tag ) : bool
tag int
return bool

IsHeaderField() public static method

public static IsHeaderField ( int tag, DataDictionary dd ) : bool
tag int
dd DataDictionary
return bool

IsTrailerField() public static method

public static IsTrailerField ( int tag ) : bool
tag int
return bool

IsTrailerField() public static method

public static IsTrailerField ( int tag, DataDictionary dd ) : bool
tag int
dd DataDictionary
return bool

Message() public method

public Message ( ) : System
return System

Message() public method

public Message ( Message src ) : System
src Message
return System

Message() public method

public Message ( string msgstr ) : System
msgstr string
return System

Message() public method

public Message ( string msgstr, DataDictionary sessionDataDictionary, DataDictionary appDD, bool validate ) : System
msgstr string
sessionDataDictionary DataDictionary
appDD DataDictionary
validate bool
return System

Message() public method

public Message ( string msgstr, DataDictionary dataDictionary, bool validate ) : System
msgstr string
dataDictionary DataDictionary
validate bool
return System

Message() public method

public Message ( string msgstr, bool validate ) : System
msgstr string
validate bool
return System

ReverseRoute() public method

public ReverseRoute ( Header header ) : void
header Header
return void

SetGroup() protected method

protected SetGroup ( StringField grpNoFld, string msgstr, int pos, FieldMap fieldMap, DataDictionary dd, DataDictionary sessionDataDictionary, DataDictionary appDD ) : int
grpNoFld StringField
msgstr string
pos int
fieldMap FieldMap
dd DataDictionary
sessionDataDictionary DataDictionary
appDD DataDictionary
return int

SetSessionID() public method

FIXME less operator new
public SetSessionID ( SessionID sessionID ) : void
sessionID SessionID
return void

ToString() public method

public ToString ( ) : string
return string

Validate() public method

public Validate ( ) : void
return void