diff options
Diffstat (limited to 'TAO/CIAO/DAnCE/examples/Hello/Sender/Sender_exec.h')
-rw-r--r-- | TAO/CIAO/DAnCE/examples/Hello/Sender/Sender_exec.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/TAO/CIAO/DAnCE/examples/Hello/Sender/Sender_exec.h b/TAO/CIAO/DAnCE/examples/Hello/Sender/Sender_exec.h index e8610a919c5..ba611c4072e 100644 --- a/TAO/CIAO/DAnCE/examples/Hello/Sender/Sender_exec.h +++ b/TAO/CIAO/DAnCE/examples/Hello/Sender/Sender_exec.h @@ -43,15 +43,24 @@ namespace Sender_Impl /// Default destructor. virtual ~Sender_exec_i (); - /// Operation to set the value of the attribute + /// Operation to set the value of the attribute "local_message" virtual void local_message (const char * local_message ACE_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); - /// Operation to get the value of the attribute + /// Operation to get the value of the attribute "local_message" virtual char * local_message (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); + /// Operation to set the value of the attribute "hertz" + virtual void hertz (CORBA::Long hertz + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + + /// Operation to get the value of the attribute "hertz" + virtual CORBA::Long hertz (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + /* Operations for obtaining the interface reference. */ /* This method will be used in the assembly face so the * ObjRef of this read_message facet will be sent to the @@ -100,6 +109,8 @@ namespace Sender_Impl private: CORBA::String_var message_; + CORBA::Long hertz_; + friend class Message_Impl; }; |