SessionSchedule Constructor |
Initializes session schedule according to given parameters.
Remarks
If session duration is single day, then logon and logout
performed each day from the first day of week till the last
day of week. Is session duration is defined as entire week
then session logon occurs on the first day of week and
corresponding logout performed on the last day of week.
Session sequence number reset policy must correspond to
the session duration time. In particular, if session continues
entire week it's not possible to request scheduler to reset
session sequence number on daily basis.
Namespace:
FIXForge.NET.FIX.Scheduling
Assembly:
FIXForge.NET.FIX.Scheduler-net-4.8_x64 (in FIXForge.NET.FIX.Scheduler-net-4.8_x64.dll) Version: 4.12.0.0 (4.12.0.0)
Syntax public SessionSchedule(
DayOfWeek firstDay,
DayOfWeek lastDay,
TimeSpan logonTime,
TimeSpan logoutTime,
SessionDuration sessionDuration,
SequenceNumberResetPolicy seqNumberResetPolicy
)
Parameters
- firstDay
- Type: System.DayOfWeek
Defines first day of activity week for the session.
- lastDay
- Type: System.DayOfWeek
Defines last day of activity week for the session.
- logonTime
- Type: System.TimeSpan
Defines time of logon for session for each activity
day if session duration is single day. If session must
continue entire week, defines time of logon performed on
the first day of activity week.
- logoutTime
- Type: System.TimeSpan
Defines time of logout for session for each activity
day if session duration is single day. If session must
continue entire week, defines time of logout performed on
the last day of activity week.
- sessionDuration
- Type: FIXForge.NET.FIX.Scheduling.SessionDuration
Defines whether session continues entire week
or activity time frame is limited for single day.
- seqNumberResetPolicy
- Type: FIXForge.NET.FIX.Scheduling.SequenceNumberResetPolicy
Defines session sequence number reset policy.
See Also