=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / AMI_Buffering / AMI_Buffering_Admin.cpp
blobc50ae8d98eb797a8941cb8837e76504c458e1599
1 #include "AMI_Buffering_Admin.h"
3 AMI_Buffering_Admin::AMI_Buffering_Admin (CORBA::ORB_ptr orb)
4 : orb_ (CORBA::ORB::_duplicate (orb))
5 , request_count_ (0)
6 , bytes_received_count_ (0)
10 CORBA::ULong
11 AMI_Buffering_Admin::request_count ()
13 return this->request_count_;
16 CORBA::ULong
17 AMI_Buffering_Admin::bytes_received_count ()
19 return this->bytes_received_count_;
22 void
23 AMI_Buffering_Admin::request_received (CORBA::ULong payload_length)
25 this->request_count_++;
26 this->bytes_received_count_ += payload_length;
29 void
30 AMI_Buffering_Admin::flush ()
34 void
35 AMI_Buffering_Admin::shutdown ()
37 this->orb_->shutdown (false);