4 Peer::Peer (CORBA::ORB_ptr orb
)
5 : orb_ (CORBA::ORB::_duplicate (orb
))
14 Peer::create_session (Test::Session_Control_ptr control
,
15 CORBA::ULong payload_size
,
16 CORBA::ULong thread_count
,
17 CORBA::ULong message_count
,
18 CORBA::ULong peer_count
)
20 Session
*session_impl
= 0;
21 ACE_NEW_THROW_EX (session_impl
,
28 PortableServer::ServantBase_var
transfer_ownership (session_impl
);
30 return session_impl
->_this ();
37 "(%P|%t) Peer::shutdown, waiting for threads\n"));
40 "(%P|%t) Peer::shutdown, shutting down ORB\n"));
41 this->orb_
->shutdown (false);