Ticket #6309 (closed enhancement: fixed)

Opened 23 months ago

Last modified 20 months ago

Improve cometd support for adding new/alternative transports and new connections

Reported by: kriszyp Owned by: alex
Priority: normal Milestone: 1.2
Component: DojoX Cometd Version: 1.1b1
Severity: normal Keywords: cometd
Cc:

Description (last modified by alex) (diff)

Currently, cometd transports must call deliver on the cometd instance (this._cometd) instead of calling their own deliver method. I changed the handlers to call their own deliver method and the cometd instance listens to the deliver method (via dojo.connect). Also, I created a constructor for creating new cometd instances, so that cometd can be used with multiple cometd servers at once.

Attachments

cometd.diff (8.2 kB) - added by kriszyp 23 months ago.
Cometd _base patch

Change History

Changed 23 months ago by kriszyp

Cometd _base patch

Changed 20 months ago by alex

  • component changed from Dojox to DojoX Cometd
  • description modified (diff)

Changed 20 months ago by kzyp

  • status changed from new to closed
  • resolution set to fixed

(In [14135]) fixes #6309

Changed 20 months ago by kriszyp

I only added multiple instance support, I didn't change the deliver call method... for now.

Note: See TracTickets for help on using tickets.