diff options
Diffstat (limited to 'trunk/TAO/tests/Big_Reply/Big_Reply_i.cpp')
-rw-r--r-- | trunk/TAO/tests/Big_Reply/Big_Reply_i.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Big_Reply/Big_Reply_i.cpp b/trunk/TAO/tests/Big_Reply/Big_Reply_i.cpp new file mode 100644 index 00000000000..40b9cca6846 --- /dev/null +++ b/trunk/TAO/tests/Big_Reply/Big_Reply_i.cpp @@ -0,0 +1,39 @@ +//$Id$ +#include "Big_Reply_i.h" + +Big_Reply_i::Big_Reply_i (CORBA::ORB_ptr orb, + CORBA::ULong len) + : orb_ (orb), + length_ (len) +{ +} + +Big_Reply_i::~Big_Reply_i (void) +{ + // no-op +} + +Test::Octet_Seq * +Big_Reply_i::get_big_reply (ACE_ENV_SINGLE_ARG_DECL_NOT_USED /*ACE_ENV_SINGLE_ARG_PARAMETER*/) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + Test::Octet_Seq_var reply_mesg = + new Test::Octet_Seq (this->length_); + + reply_mesg->length (this->length_); + + return reply_mesg._retn (); +} + +void +Big_Reply_i::ping (ACE_ENV_SINGLE_ARG_DECL_NOT_USED /*ACE_ENV_SINGLE_ARG_PARAMETER*/) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ +} + +void +Big_Reply_i::shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED /*ACE_ENV_SINGLE_ARG_PARAMETER*/) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + this->orb_->shutdown (); +} |