Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / AMI_Buffering / AMI_Buffering_Admin.cpp
blob8182e47a7b54d4db6c7fb0c9bd6bbc54c894fbb4
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 (void)
13 return this->request_count_;
16 CORBA::ULong
17 AMI_Buffering_Admin::bytes_received_count (void)
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 (void)
34 void
35 AMI_Buffering_Admin::shutdown (void)
37 this->orb_->shutdown (0);