~ruther/NosSmooth

ref: 2023.12 NosSmooth/Pcap/NosSmooth.Pcap/PcapNostaleOptions.cs -rw-r--r-- 1010 bytes
58d87434 — Rutherther chore: bump versions 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
//  PcapNostaleOptions.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Pcap;

/// <summary>
/// Options for <see cref="PcapNostaleManager"/> and <see cref="PcapNostaleClient"/>.
/// </summary>
public class PcapNostaleOptions
{
    /// <summary>
    /// Gets or sets the refresh interval of connections of NosTale processes in milliseconds. Default 10 milliseconds.
    /// </summary>
    public long ProcessRefreshInterval { get; set; } = 10;

    /// <summary>
    /// Gets or sets the time data from a connection should be kept in milliseconds. Default 10 seconds.
    /// </summary>
    public long CleanSniffedDataInterval { get; set; } = 10 * 1000;

    /// <summary>
    /// Gets or sets the time tcp connection should be forgotten in milliseconds. Default 1 minute.
    /// </summary>
    public long ForgetConnectionInterval { get; set; } = 60 * 1000;
}
Do not follow this link