summaryrefslogtreecommitdiff
path: root/TAO/tao/Connection_Handler.i
blob: 1a79e07a6e0744142c96b1ca8e66a095c7cecb5b (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
//* -*- C++ -*- */
//$Id$

ACE_INLINE
TAO_Connection_Handler::TAO_Connection_Handler (void)
  : orb_core_ (0),
    tss_resources_ (0),
    recycle_state_ (ACE_RECYCLABLE_UNKNOWN)
{
}

ACE_INLINE void
TAO_Connection_Handler::recycle_state (ACE_Recyclable_State new_state)
{
  this->recycle_state_ = new_state;
}

ACE_INLINE ACE_Recyclable_State
TAO_Connection_Handler::recycle_state (void)
{
  return this->recycle_state_;
}

ACE_INLINE TAO_Connection_Cache_Manager::HASH_MAP_ENTRY *
TAO_Connection_Handler::cache_map_entry (void)
{
  return this->cache_map_entry_;
}

ACE_INLINE void
TAO_Connection_Handler::cache_map_entry (
    TAO_Connection_Cache_Manager::HASH_MAP_ENTRY *entry)
{
  this->cache_map_entry_ = entry;
}


ACE_INLINE TAO_ORB_Core *
TAO_Connection_Handler::orb_core (void)
{
  return this->orb_core_;
}

ACE_INLINE TAO_ORB_Core_TSS_Resources *
TAO_Connection_Handler::tss_resources (void)
{
  return this->tss_resources_;
}

ACE_INLINE int
TAO_Connection_Handler::make_idle (void)
{
  return this->orb_core_->connection_cache ().make_idle (this->cache_map_entry_);
}