Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/cometd/timesync.js

  • Provides:

    • dojox.cometd.timesync
  • Requires:

    • dojox.cometd._base in common
  • dojox.cometd.timesync

    • type
      Function
  • dojox.cometd.timesync._window

    • type
      Number
  • dojox.cometd.timesync._lags

    • type
      Array
  • dojox.cometd.timesync._offsets

    • type
      Array
  • dojox.cometd.timesync.lag

    • type
      Object
  • dojox.cometd.timesync.offset

    • type
      Object
  • dojox.cometd.timesync.samples

    • type
      Number
  • dojox.cometd.timesync.getServerTime

    • type
      Function
  • dojox.cometd.timesync.getServerDate

    • type
      Function
  • dojox.cometd.timesync.setTimeout

    • parameters:
      • call: (typeof function)
        the function to call when the timeout occurs
        atTimeOrTime:
        a long timestamp or a Date representing the server time at
        which the timeout should occur.
      • atTimeOrDate: (typeof long|Date)
    • type
      Function
  • dojox.cometd.timesync._in

    • parameters:
      • msg: (typeof Object)
        The incoming bayeux message
    • description
      Look for ext:{timesync:{}} field and calculate offset if present.
    • type
      Function
  • dojox.cometd.timesync._out

    • parameters:
      • msg: (typeof The)
        outgoing bayeux message
    • description
      Look for handshake and connect messages and add the ext:{timesync:{}} fields
    • type
      Function
  • dojox.cometd

    • type
      Object
  • dojox

    • type
      Object