Class SessionParametersBuilder
Inheritance
Inherited Members
Namespace: FixAntenna.FixEngine.Session.Util
Assembly: FixAntenna.Core.dll
Syntax
public class SessionParametersBuilder
Fields
SessionTypeProp
Declaration
public const string SessionTypeProp = "sessionType"
Field Value
Type | Description |
---|---|
System.String |
Methods
BuildAcceptorSessionParametersList()
Build list of acceptor's SessionParameters using default configuration file.
Declaration
public static IDictionary<string, SessionParameters> BuildAcceptorSessionParametersList()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, SessionParameters> |
BuildAcceptorSessionParametersList(String)
Build list of acceptor's SessionParameters using input file name.
Declaration
public static IDictionary<string, SessionParameters> BuildAcceptorSessionParametersList(string file)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | configuration file |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, SessionParameters> | list of SessionParameters |
BuildInitiatorSessionParametersList()
Build list of initiator's SessionParameters using default configuration file.
Declaration
public static IDictionary<string, SessionParameters> BuildInitiatorSessionParametersList()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, SessionParameters> |
BuildInitiatorSessionParametersList(String)
Build list of acceptor's SessionParameters using input file name.
Declaration
public static IDictionary<string, SessionParameters> BuildInitiatorSessionParametersList(string file)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | configuration file |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, SessionParameters> | list of SessionParameters |
BuildSessionParameters(String)
Build SessionParameters using default configuration file name and session id.
Declaration
public static SessionParameters BuildSessionParameters(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | specific session id |
Returns
Type | Description |
---|---|
SessionParameters | session parameters |
BuildSessionParameters(String, String)
Build SessionParameters using input file name and session id.
Declaration
public static SessionParameters BuildSessionParameters(string file, string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | configuration file |
System.String | id | specific session id |
Returns
Type | Description |
---|---|
SessionParameters | session parameters |
BuildSessionParametersList()
Build list of SessionParameters using default configuration file.
Declaration
public static IDictionary<string, SessionParameters> BuildSessionParametersList()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, SessionParameters> |
BuildSessionParametersList(String)
Build list of SessionParameters using input file name.
Declaration
public static IDictionary<string, SessionParameters> BuildSessionParametersList(string file)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | configuration file |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, SessionParameters> | list of SessionParameters |
GetProperties(XmlDocument)
Declaration
public static Properties GetProperties(XmlDocument config)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | config |
Returns
Type | Description |
---|---|
Properties |
ProcessNode(String, XmlNode, Properties)
Declaration
public static void ProcessNode(string prefix, XmlNode node, Properties props)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | |
System.Xml.XmlNode | node | |
Properties | props |