diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-06-19 02:30:21 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-06-19 02:30:21 +0000 |
commit | 66153e463c871397b35c216dfbd266c781b954a6 (patch) | |
tree | 54f3a11c1ee5034a634de02ebf693a463be8551a /TAO/tests/Big_Reply/Big_Reply_i.cpp | |
parent | b89c087f166c6832359f7ef3028004333050827f (diff) | |
download | ATCD-66153e463c871397b35c216dfbd266c781b954a6.tar.gz |
ChangeLogTag: Mon Jun 18 20:32:07 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tests/Big_Reply/Big_Reply_i.cpp')
-rw-r--r-- | TAO/tests/Big_Reply/Big_Reply_i.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/TAO/tests/Big_Reply/Big_Reply_i.cpp b/TAO/tests/Big_Reply/Big_Reply_i.cpp new file mode 100644 index 00000000000..58622b0d0ca --- /dev/null +++ b/TAO/tests/Big_Reply/Big_Reply_i.cpp @@ -0,0 +1,38 @@ +//$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 (CORBA::Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + Test::Octet_Seq_var reply_mesg; + + ACE_NEW_THROW_EX (reply_mesg, + Test::Octet_Seq (this->length_), + CORBA::NO_MEMORY ()); + + reply_mesg->length (this->length_); + + return reply_mesg._retn (); +} + + +void +Big_Reply_i::shutdown (CORBA::Environment & /*ACE_TRY_ENV*/) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + this->orb_->shutdown (); + ACE_CHECK; +} |