First Last Prev Next    No search results available
Details
: ConsumerAdmin requires subscription_change() before passi...
Bug#: 1134
: TAO
: Notification Service
Status: RESOLVED
Resolution: FIXED
: All
: All
: 1.2.1
: P4
: normal
: ---

: http://groups.yahoo.com/group/tao-users/message/10480
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: crodrigu@bbn.com
Assigned To: Pradeep Gore <pradeep@oomworks.com>
:

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions
Votes: 0


Description:   Opened: 2002-01-24 12:56
Posted by gduzan@bbn.com:

 In TAO's Notification Service implementation, it appears that the
default ConsumerAdmin behavior is to pass nothing to its proxy suppliers,
requiring a consumer_admin->subscription_change(...) call to start
any traffic going. What is the rationale behind this? It certainly goes
against the behavior of the classic Event Service, which didn't have this
interface, and I've used other implementations which default to sending
everything. I don't know that the current behavior is necessarily wrong
(though I have my suspicions), but I would hope at least to see a mention
of it in the release notes if it were to stay the way it is.
Thanks.
------- Comment #1 From Pradeep Gore 2002-02-11 12:58:26 -------
yes, this is a nasty "gotcha" that crept in. this needs to be fixed.
------- Comment #2 From Pradeep Gore 2002-05-28 16:38:57 -------
Tue May 28 20:24:16 CDT 2002 Pradeep Gore  <pradeep@oomworks.com>

        * orbsvcs/orbsvcs/Notify/Notify_Collection.cpp:
        * orbsvcs/orbsvcs/Notify/Notify_Collection.h:
        * orbsvcs/orbsvcs/Notify/Notify_ConsumerAdmin_i.cpp:
        * orbsvcs/orbsvcs/Notify/Notify_Event.cpp:
        * orbsvcs/orbsvcs/Notify/Notify_Event.h:
        * orbsvcs/orbsvcs/Notify/Notify_ProxySupplier_T.cpp:

          Fix for bug: http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1134
          Proxy Suppliers are subscribed for all events (special) by default.

        * orbsvcs/tests/Notify/Basic/Events_Test.cpp:
        * orbsvcs/tests/Notify/Basic/Simple.cpp:
        * orbsvcs/tests/Notify/Blocking/Structured_Consumer.cpp:
        * orbsvcs/tests/Notify/Discarding/Sequence_Consumer.cpp:
        * orbsvcs/tests/Notify/Discarding/Structured_Consumer.cpp:
        * orbsvcs/tests/Notify/MT_Dispatching/Structured_Consumer.cpp:
        * orbsvcs/tests/Notify/Ordering/Sequence_Consumer.cpp:
        * orbsvcs/tests/Notify/Ordering/Structured_Consumer.cpp:
        * orbsvcs/tests/Notify/Sequence_Multi_ETCL_Filter/Sequence_Consumer.cpp:
        * orbsvcs/tests/Notify/Sequence_Multi_Filter/Sequence_Consumer.cpp:
        * orbsvcs/tests/Notify/Structured_Filter/Structured_Consumer.cpp:
        * orbsvcs/tests/Notify/Structured_Multi_Filter/Structured_Consumer.cpp:
        * orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Consumer.cpp:
        * orbsvcs/tests/Notify/performance-tests/Filter/Structured_Consumer.cpp:
        * orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp:
        * orbsvcs/examples/Notify/Filter/Filter.cpp:
        * orbsvcs/examples/Notify/Subscribe/Subscribe.cpp:

          Removed extraneous call to subscription_change.

First Last Prev Next    No search results available