summaryrefslogtreecommitdiff
path: root/TAO/tests/Big_Reply/Big_Reply_i.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-19 02:30:21 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-19 02:30:21 +0000
commit29c839087ba280df4469c614a823359d17b35fd3 (patch)
tree54f3a11c1ee5034a634de02ebf693a463be8551a /TAO/tests/Big_Reply/Big_Reply_i.cpp
parent2cd4167ead0eb5e66985fac64cd01ea1516569e0 (diff)
downloadATCD-29c839087ba280df4469c614a823359d17b35fd3.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.cpp38
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;
+}