Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / LoadBalancing / LBPerf / RPS / ServerRequestInterceptor.cpp
blob05012b1fb74550088307686ee7dcd3d9fb7f020b
1 #include "ServerRequestInterceptor.h"
3 ServerRequestInterceptor::ServerRequestInterceptor ()
4 : request_count_ (0)
8 ServerRequestInterceptor::~ServerRequestInterceptor ()
12 char *
13 ServerRequestInterceptor::name ()
15 return CORBA::string_dup ("ServerRequestInterceptor");
18 void
19 ServerRequestInterceptor::destroy ()
23 void
24 ServerRequestInterceptor::receive_request_service_contexts (
25 PortableInterceptor::ServerRequestInfo_ptr /* ri */)
27 ++this->request_count_;
30 void
31 ServerRequestInterceptor::receive_request (
32 PortableInterceptor::ServerRequestInfo_ptr)
36 void
37 ServerRequestInterceptor::send_reply (
38 PortableInterceptor::ServerRequestInfo_ptr /* ri */)
42 void
43 ServerRequestInterceptor::send_exception (
44 PortableInterceptor::ServerRequestInfo_ptr)
48 void
49 ServerRequestInterceptor::send_other (
50 PortableInterceptor::ServerRequestInfo_ptr)
54 CORBA::Long
55 ServerRequestInterceptor::request_count ()
57 const CORBA::Long r = this->request_count_.value ();
58 this->request_count_ = 0;
60 return r;