Class DefaultLogFileLocator
The default file locator implementation.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.FixEngine.Storage
Assembly: FixAntenna.Core.dll
Syntax
public class DefaultLogFileLocator : ILogFileLocator
Constructors
DefaultLogFileLocator(String, String)
Creates the DefaultLogFileLocator
.
Declaration
public DefaultLogFileLocator(string dir, string nameTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | dir | |
System.String | nameTemplate |
Methods
GetDirectory()
Declaration
public virtual string GetDirectory()
Returns
Type | Description |
---|---|
System.String |
GetFileName(SessionParameters)
Gets file name from session parameters.
Declaration
public virtual string GetFileName(SessionParameters details)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | details |
Returns
Type | Description |
---|---|
System.String | the file name for session parameters, the result file name consists of sender and target parameters |
GetNameTemplate()
Declaration
public virtual string GetNameTemplate()
Returns
Type | Description |
---|---|
System.String |