blob: 04d12398ace0fb77f30cc5f167c451e416a8444a (
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
|
// -*- C++ -*-
#include "ClientORBInitializer.h"
void
ClientORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr)
{
// No-op
}
void
ClientORBInitializer::post_init (PortableInterceptor::ORBInitInfo_ptr info)
{
PortableInterceptor::ClientRequestInterceptor_ptr cri =
PortableInterceptor::ClientRequestInterceptor::_nil ();
ACE_NEW_THROW_EX (cri,
ClientRequest_Interceptor,
CORBA::NO_MEMORY ());
PortableInterceptor::ClientRequestInterceptor_var
client_interceptor = cri;
info->add_client_request_interceptor (client_interceptor.in ());
}
|