#include <Table_Adapter.h>
Public Member Functions | |
TAO_Table_Adapter (TAO_ORB_Core &orb_core) | |
Constructor. | |
virtual | ~TAO_Table_Adapter (void) |
Destructor. | |
virtual void | open (void) |
virtual void | close (int wait_for_completion) |
virtual void | check_close (int wait_for_completion) |
virtual int | priority (void) const |
virtual int | dispatch (TAO::ObjectKey &key, TAO_ServerRequest &request, CORBA::Object_out foward_to) |
virtual const char * | name (void) const |
virtual CORBA::Object_ptr | root (void) |
virtual CORBA::Object_ptr | create_collocated_object (TAO_Stub *, const TAO_MProfile &) |
virtual CORBA::Long | initialize_collocated_object (TAO_Stub *stub) |
Private Member Functions | |
bool | find_object (TAO::ObjectKey &key, CORBA::Object_out forward_to) |
Helper method to find an object bound in the table. | |
Static Private Member Functions | |
static ACE_Lock * | create_lock (bool enable_locking, TAO_SYNCH_MUTEX &l) |
Private Attributes | |
TAO_ORB_Core & | orb_core_ |
The ORB Core we belong to. | |
TAO_IOR_Table_Impl_var | root_ |
The table implementation. | |
bool | closed_ |
bool | enable_locking_ |
TAO_SYNCH_MUTEX | thread_lock_ |
ACE_Lock * | lock_ |
TAO_Table_Adapter::TAO_Table_Adapter | ( | TAO_ORB_Core & | orb_core ) |
Constructor.
TAO_Table_Adapter::~TAO_Table_Adapter | ( | void | ) | [virtual] |
Destructor.
void TAO_Table_Adapter::check_close | ( | int | wait_for_completion ) | [virtual] |
Implements TAO_Adapter.
void TAO_Table_Adapter::close | ( | int | wait_for_completion ) | [virtual] |
Implements TAO_Adapter.
CORBA::Object_ptr TAO_Table_Adapter::create_collocated_object | ( | TAO_Stub * | stub, |
const TAO_MProfile & | |||
) | [virtual] |
Implements TAO_Adapter.
ACE_Lock * TAO_Table_Adapter::create_lock | ( | bool | enable_locking, |
TAO_SYNCH_MUTEX & | l | ||
) | [static, private] |
int TAO_Table_Adapter::dispatch | ( | TAO::ObjectKey & | key, |
TAO_ServerRequest & | request, | ||
CORBA::Object_out | foward_to | ||
) | [virtual] |
Implements TAO_Adapter.
bool TAO_Table_Adapter::find_object | ( | TAO::ObjectKey & | key, |
CORBA::Object_out | forward_to | ||
) | [private] |
Helper method to find an object bound in the table.
CORBA::Long TAO_Table_Adapter::initialize_collocated_object | ( | TAO_Stub * | stub ) | [virtual] |
Implements TAO_Adapter.
const char * TAO_Table_Adapter::name | ( | void | ) | const [virtual] |
Implements TAO_Adapter.
void TAO_Table_Adapter::open | ( | void | ) | [virtual] |
Implements TAO_Adapter.
int TAO_Table_Adapter::priority | ( | void | ) | const [virtual] |
Implements TAO_Adapter.
CORBA::Object_ptr TAO_Table_Adapter::root | ( | void | ) | [virtual] |
Implements TAO_Adapter.
bool TAO_Table_Adapter::closed_ [private] |
bool TAO_Table_Adapter::enable_locking_ [private] |
ACE_Lock* TAO_Table_Adapter::lock_ [private] |
TAO_ORB_Core& TAO_Table_Adapter::orb_core_ [private] |
The ORB Core we belong to.
The table implementation.
TAO_SYNCH_MUTEX TAO_Table_Adapter::thread_lock_ [private] |