summaryrefslogtreecommitdiff
path: root/TAO/tao/Transport.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-07-04 13:03:01 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-07-04 13:03:01 +0000
commitba40e7138012608eac071bc6f1861ef65efe1da7 (patch)
tree669c2895e18cb05744844a5cb5c0f3ef59f4f394 /TAO/tao/Transport.cpp
parentace6dc87df53d709165226ce1cf6fa4a1d557e4c (diff)
downloadATCD-ba40e7138012608eac071bc6f1861ef65efe1da7.tar.gz
ChangeLogTag:Thu Jul 04 08:17:11 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Transport.cpp')
-rw-r--r--TAO/tao/Transport.cpp34
1 files changed, 7 insertions, 27 deletions
diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp
index 2125cd4e982..3f34a44507a 100644
--- a/TAO/tao/Transport.cpp
+++ b/TAO/tao/Transport.cpp
@@ -478,23 +478,15 @@ TAO_Transport::release (TAO_Transport* transport)
}
}
-// @@ TODO Somebody needs to go throught this code and change those
-// stupidly long calls sequences:
-//
-// this->orb_core_->lane_resources ().transport_cache ().
-//
-// to a single inline function!!
-
int
TAO_Transport::recache_transport (TAO_Transport_Descriptor_Interface *desc)
{
// First purge our entry
- this->orb_core_->lane_resources ().transport_cache ().purge_entry (
- this->cache_map_entry_);
+ this->transport_cache_manager ().purge_entry (this->cache_map_entry_);
// Then add ourselves to the cache
- return this->orb_core_->lane_resources ().transport_cache ().cache_transport (desc,
- this);
+ return this->transport_cache_manager ().cache_transport (desc,
+ this);
}
void
@@ -502,7 +494,7 @@ TAO_Transport::purge_entry (void)
{
if (this->cache_map_entry_ != 0)
{
- (void) this->orb_core_->lane_resources ().transport_cache ().purge_entry (this->cache_map_entry_);
+ (void) this->transport_cache_manager ().purge_entry (this->cache_map_entry_);
}
}
@@ -511,9 +503,9 @@ TAO_Transport::make_idle (void)
{
if (this->cache_map_entry_ != 0)
{
- return this->orb_core_->lane_resources ().transport_cache ().make_idle (
- this->cache_map_entry_);
+ return this->transport_cache_manager ().make_idle (this->cache_map_entry_);
}
+
return -1;
}
@@ -545,8 +537,7 @@ TAO_Transport::close_connection_shared (int disable_purge,
// Purge the entry
if (!disable_purge && this->cache_map_entry_ != 0)
{
- this->orb_core_->lane_resources ().transport_cache ().purge_entry (
- this->cache_map_entry_);
+ this->transport_cache_manager ().purge_entry (this->cache_map_entry_);
}
if (eh == 0)
@@ -1534,17 +1525,6 @@ TAO_Transport::register_handler (void)
return this->register_handler_i ();
}
-int
-TAO_Transport::id (void) const
-{
- return this->id_;
-}
-
-void
-TAO_Transport::id (int id)
-{
- this->id_ = id;
-}
int
TAO_Transport::schedule_output_i (void)