diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-03-16 16:28:57 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-03-16 16:28:57 +0000 |
commit | 7be7c0cdf529c0ece98c4eb9c84e5ed824a1f465 (patch) | |
tree | 5c9517ff23f6e905bcc2a5e6a10d6880e1691d82 /TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp | |
parent | 773accefc8c182af86b829e1761e9f2a1e05f406 (diff) | |
download | ATCD-7be7c0cdf529c0ece98c4eb9c84e5ed824a1f465.tar.gz |
ChangeLogTag: Wed Mar 16 10:28:11 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp b/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp index 8d4344eb8ee..97781278620 100644 --- a/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp +++ b/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp @@ -281,7 +281,11 @@ ECM_Driver::open_senders (RtecEventChannelAdmin::EventChannel_ptr ec ignore_from.get_port_number ())); for (int i = 0; i < this->all_federations_count_; ++i) { - this->all_federations_[i]->open (&this->endpoint_, + TAO_ECG_UDP_Out_Endpoint* clone; + ACE_NEW (clone, + TAO_ECG_UDP_Out_Endpoint (this->endpoint_)); + + this->all_federations_[i]->open (clone, ec ACE_ENV_ARG_PARAMETER); ACE_CHECK; @@ -305,8 +309,12 @@ ECM_Driver::open_receivers (RtecEventChannelAdmin::EventChannel_ptr ec { for (int i = 0; i < this->local_federations_count_; ++i) { + TAO_ECG_UDP_Out_Endpoint* clone; + ACE_NEW (clone, + TAO_ECG_UDP_Out_Endpoint (this->endpoint_)); + this->local_federations_[i]->open_receiver (ec, - &this->endpoint_ + clone ACE_ENV_ARG_PARAMETER); ACE_CHECK; } |