Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6309 closed enhancement (fixed)

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

Reported by: kriszyp Owned by: alex
Priority: high Milestone: 1.2
Component: DojoX Cometd Version: 1.1b1
Keywords: cometd Cc:
Blocked By: Blocking:

Description (last modified by alex)

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 (1)

cometd.diff (8.2 KB) - added by kriszyp 11 years ago.
Cometd _base patch

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by kriszyp

Attachment: cometd.diff added

Cometd _base patch

comment:1 Changed 11 years ago by alex

Component: DojoxDojoX Cometd
Description: modified (diff)

comment:2 Changed 11 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

(In [14135]) fixes #6309

comment:3 Changed 11 years 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.