summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Default_Servant_Dispatcher.cpp
blob: 4e011af125e64111bbd6ccc0f03149d6f36e037f (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// @(#) $Id$

#include "Default_Servant_Dispatcher.h"
#include "POA.h"

ACE_RCSID(tao, Default_Acceptor_Filter, "$Id$")

TAO_Default_Servant_Dispatcher::~TAO_Default_Servant_Dispatcher (void)
{
}

TAO_POA *
TAO_Default_Servant_Dispatcher::create_POA (const ACE_CString &name,
                                            TAO_POA_Manager &poa_manager,
                                            const TAO_POA_Policy_Set &policies,
                                            TAO_POA *parent,
                                            ACE_Lock &lock,
                                            TAO_SYNCH_MUTEX &thread_lock,
                                            TAO_ORB_Core &orb_core,
                                            TAO_Object_Adapter *object_adapter
                                            ACE_ENV_ARG_DECL)
{
  TAO_POA *poa;

  ACE_NEW_THROW_EX (poa,
                    TAO_POA (name,
                             poa_manager,
                             policies,
                             parent,
                             lock,
                             thread_lock,
                             orb_core,
                             object_adapter
                             ACE_ENV_ARG_PARAMETER),
                    CORBA::NO_MEMORY ());
  ACE_CHECK_RETURN (0);

  return poa;
}

void
TAO_Default_Servant_Dispatcher::pre_invoke_remote_request (TAO_POA &,
                                                           CORBA::Short,
                                                           TAO_Service_Context &,
                                                           TAO_Service_Context &,
                                                           TAO_Object_Adapter::Servant_Upcall::Pre_Invoke_State &
                                                           ACE_ENV_ARG_DECL_NOT_USED)
{
}

void
TAO_Default_Servant_Dispatcher::pre_invoke_collocated_request (TAO_POA &,
                                                               CORBA::Short,
                                                               TAO_Object_Adapter::Servant_Upcall::Pre_Invoke_State &
                                                               ACE_ENV_ARG_DECL_NOT_USED)
{
}

void
TAO_Default_Servant_Dispatcher::post_invoke (TAO_POA &,
                                             TAO_Object_Adapter::Servant_Upcall::Pre_Invoke_State &)

{
}