Unit 'IdSNTP' Package
[Overview][Constants][Types][Classes][Index] [#pl_indy]

TIdSNTP

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: IdSNTP.pas line 110

type TIdSNTP = class(TIdUDPClient)

protected

  FDestinationTimestamp: TDateTime;

  

  FLocalClockOffset: TDateTime;

  

  FOriginateTimestamp: TDateTime;

  

  FReceiveTimestamp: TDateTime;

  

  FRoundTripDelay: TDateTime;

  

  FTransmitTimestamp: TDateTime;

  

  FCheckStratum: Boolean;

  

  procedure DateTimeToNTP();

  

  function NTPToDateTime();

  

  function Disregard();

  

  function GetAdjustmentTime;

  

  function GetDateTime;

  

  procedure InitComponent; override;

  

public

  function SyncTime;

  

  property AdjustmentTime: TDateTime; [r]

  

  property DateTime: TDateTime; [r]

  

  property RoundTripDelay: TDateTime; [r]

  

  property CheckStratum: Boolean; [rw]

  

end;

Inheritance

TIdSNTP

  

|

TIdUDPClient

  

|

TIdUDPBase

  

|

TIdComponent

  

|

TIdBaseComponent

  

|

TIdInitializerComponent

  

|

TObject



CT Web help

CodeTyphon Studio