blob: fa37c2c2ee156bc0936c7302d1a55ea784085a29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include "Session.h"
#include "Implicit_Deactivator.h"
Session::Session (Test::Callback_ptr cb,
PortableServer::POA_ptr poa)
: cb_ (Test::Callback::_duplicate (cb))
, poa_ (PortableServer::POA::_duplicate (poa))
{
}
void
Session::sample (Test::Timestamp the_timestamp)
{
this->cb_->sample (the_timestamp);
}
void
Session::shutdown (void)
{
Implicit_Deactivator deactivator (this);
}
PortableServer::POA_ptr
Session::_default_POA (void)
{
return PortableServer::POA::_duplicate (this->poa_.in ());
}
|