• Hello
Search Results for

    Show / Hide Table of Contents

    Class DeviceTimeEventMonitor

    Reads trusted UTC from the internet and from the saved local base.

    Inheritance
    System.Object
    AMonitor<IWatchedSubject>
    DeviceTimeEventMonitor
    Implements
    IMonitor<IWatchedSubject>
    Inherited Members
    AMonitor<IWatchedSubject>.IsActive
    AMonitor<IWatchedSubject>.IsStarted
    AMonitor<IWatchedSubject>.IsPaused
    AMonitor<IWatchedSubject>.Start()
    AMonitor<IWatchedSubject>.Pause()
    AMonitor<IWatchedSubject>.OnPause()
    AMonitor<IWatchedSubject>.Resume()
    AMonitor<IWatchedSubject>.Stop()
    AMonitor<IWatchedSubject>.OnDestroy()
    AMonitor<IWatchedSubject>.Dispose()
    AMonitor<IWatchedSubject>.ForceReadTimeoutSeconds
    AMonitor<IWatchedSubject>.WaitForForceRead()
    AMonitor<IWatchedSubject>.CompletedRead(IWatchedSubject)
    AMonitor<IWatchedSubject>.Subscribe(IObserver<IWatchedSubject>)
    AMonitor<IWatchedSubject>.Notify(IWatchedSubject)
    Namespace: GUPS.AntiCheat.Monitor.Time
    Assembly: cs.temp.dll.dll
    Syntax
    public class DeviceTimeEventMonitor : AMonitor<IWatchedSubject>

    Properties

    Name

    Gets the display name of the monitor.

    Declaration
    public override String Name { get; }
    Property Value
    Type Description
    String
    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<IWatchedSubject>.Name

    Tolerance

    Allowed deviation in seconds, never below GUPS.AntiCheat.Monitor.Time.DeviceTimeEventMonitor.MinTolerance.

    Declaration
    public float Tolerance { get; set; }
    Property Value
    Type Description
    System.Single

    UseInternetTime

    Gets a value indicating whether the monitor reads the trusted UTC time from an internet endpoint.

    Declaration
    public bool UseInternetTime { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    ForceRead()

    Compares the device clock with the saved local base and returns that finding. Does not notify observers.

    Declaration
    public override IWatchedSubject ForceRead()
    Returns
    Type Description
    IWatchedSubject

    The local DeviceTimeStatus.

    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<IWatchedSubject>.ForceRead()

    ForceReadAsync()

    Returns the same local finding as ForceRead(). The request is already done. Does not notify observers.

    Declaration
    public override SubjectRequest ForceReadAsync()
    Returns
    Type Description
    SubjectRequest

    The read request. is the local DeviceTimeStatus.

    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<IWatchedSubject>.ForceReadAsync()

    OnResume()

    Publishes a server result that arrived while paused, then reads the server time again.

    Declaration
    protected override void OnResume()
    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<IWatchedSubject>.OnResume()

    OnStart()

    Compares the saved local base, then starts the internet read when it is enabled.

    Declaration
    protected override void OnStart()
    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<IWatchedSubject>.OnStart()

    OnStop()

    Stops an internet read that is still in flight.

    Declaration
    protected override void OnStop()
    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<IWatchedSubject>.OnStop()

    OnUpdate()

    Starts a scheduled retry of the internet read when it is due.

    Declaration
    protected override void OnUpdate()
    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<IWatchedSubject>.OnUpdate()

    Implements

    IMonitor<>

    See Also

    DeviceTimeContinuousMonitor
    In This Article
    Back to top GuardingPearSoftware documentation