CIAO VERSION: 0.5.8
<br>    TAO VERSION : 1.5.8
<br>    ACE VERSION : 5.5.8
<br>
<br>    HOST MACHINE and OPERATING SYSTEM:
<br>        If on Windows based OS's, which version of WINSOCK do you
<br>        use?: Pentium IV, Debian linix kernel 2.6
<br>
<br>    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
<br>    COMPILER NAME AND VERSION (AND PATCHLEVEL):
<br>
<br>    THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
<br>    specific file, simply state which one]:#include "ace/config-
<br>linux.h"
<br>
<br>    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
<br>    use a link to a platform-specific file, simply state which one
<br>    (unless this isn't used in this case, e.g., with Microsoft Visual
<br>    C++)]:
<br>    no_hidden_visibility=1
<br>    include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
<br>
<br>    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/
<br>default.features
<br>    (used by MPC when you generate your own makefiles): There is no
<br>such file.
<br>
<br>    AREA/CLASS/EXAMPLE AFFECTED:
<br>[What example failed?  What module failed to compile?]
<br>
<br>    DOES THE PROBLEM AFFECT:
<br>        COMPILATION? No.
<br>            If so, what do your $ACE_ROOT/ace/config.h and
<br>            $ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
<br>        LINKING?
<br>            On Unix systems, did you run make realclean first?
<br>        EXECUTION? No.
<br>        OTHER (please specify)? About Hello example.
<br>[Please indicate whether ACE/TAO/CIAO, your application, or both are
<br>affected.]
<br>
<br>    SYNOPSIS: Pulse frequency of the Sender in the Hello example
<br>[Brief description of the problem]
<br>
<br>    DESCRIPTION:
<br>[Detailed description of problem.  Don't just say "<blah>
<br>doesn't work, here's a fix," explain what your program does
<br>to get to the <blah> state. ]
<br>
<br>Hi,
<br>
<br>I'm running the Hello example of CIAO and I couldn't understand how the frequency of the sender component is set. I noticed that there's an hertz attribute at the Sender IDL but I could not find where it's used. The start method of the Sender executor has the following code:
<br>
<br>  Sender_exec_i::start (ACE_ENV_SINGLE_ARG_DECL)
<br>    ACE_THROW_SPEC ((CORBA::SystemException))
<br>  {
<br>    Hello::TimeOut_var event = new OBV_Hello::TimeOut;
<br>    ACE_DEBUG ((LM_DEBUG, "Sender initiates the process.\n"));
<br>    this->context_->push_click_out (event ACE_ENV_ARG_PARAMETER);
<br>    ACE_CHECK;
<br>
<br>    ACE_DEBUG ((LM_DEBUG, "My current color is:"));
<br>
<br>    switch (this->color_)
<br>      {
<br>      case ::Hello::empty:
<br>        ACE_DEBUG ((LM_DEBUG, "ERROR: Enum attribute initialization failed.\n"));
<br>        break;
<br>
<br>      case ::Hello::white:
<br>        ACE_DEBUG ((LM_DEBUG, "white\n"));
<br>        break;
<br>
<br>      case ::Hello::red:
<br>        ACE_DEBUG ((LM_DEBUG, "red\n"));
<br>        break;
<br>
<br>      case ::Hello::yellow:
<br>        ACE_DEBUG ((LM_DEBUG, "yellow\n"));
<br>        break;
<br>
<br>      default:
<br>        ACE_DEBUG ((LM_DEBUG, "Unknown color!\n"));
<br>
<br>      }
<br>  }
<br>
<br>So it seams it doesn't make use of the hertz parameter to send the events.
<br>How can I set the frequency at which the events are sent to the receiver?
<br>
<br>Thank you.
<br>
<br>Santos
<br>    REPEAT BY:
<br>[What you did to get the error; include test program or session
<br>transcript if at all possible.  ]
<br>
<br>
<br>    SAMPLE FIX/WORKAROUND: 
<br>[If available ] 
<br>
<br><br/>
<div>
<hr style="width:85%;margin-left:0px;text-align:left"/><br/>
<b>Want to change your life? Find the perfect job with Lycos Jobs.</b><br/>
Career Advice. Job Resources & Recommendations.<br/>
<a href="http://www.careerbuilder.com/?lr=cblycos&siteid=lycoshp7"
target="_blank"><u>Post your resume & find a job match!</u></a>
</div>