summaryrefslogtreecommitdiff
path: root/TAO/tao/Connection_Handler.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-08-09 11:53:16 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-08-09 11:53:16 +0000
commit5eab0611201c153800002942b0bd5d06743085a5 (patch)
tree9db9c40b62eb2bf93e31f5fbf3a479f450148a10 /TAO/tao/Connection_Handler.cpp
parent659b1d7d4d4d401cff367f8d6e53f07eaf75057a (diff)
downloadATCD-5eab0611201c153800002942b0bd5d06743085a5.tar.gz
ChangeLogTag: Mon Aug 9 11:51:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Connection_Handler.cpp')
-rw-r--r--TAO/tao/Connection_Handler.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/TAO/tao/Connection_Handler.cpp b/TAO/tao/Connection_Handler.cpp
index 9ae1a7c2583..601d11ac066 100644
--- a/TAO/tao/Connection_Handler.cpp
+++ b/TAO/tao/Connection_Handler.cpp
@@ -265,7 +265,7 @@ TAO_Connection_Handler::close_connection_eh (ACE_Event_Handler *eh)
{
ACE_DEBUG ((LM_DEBUG,
"TAO (%P|%t) - Connection_Handler[%d]::"
- "close_connection, purging entry from cache\n",
+ "close_connection_eh, purging entry from cache\n",
handle));
}
@@ -311,7 +311,7 @@ TAO_Connection_Handler::close_connection_eh (ACE_Event_Handler *eh)
{
ACE_DEBUG ((LM_DEBUG,
"TAO (%P|%t) - Connection_Handler[%d]::"
- "close_connection, removing from the reactor\n",
+ "close_connection_eh, removing from the reactor\n",
handle));
}
@@ -325,7 +325,7 @@ TAO_Connection_Handler::close_connection_eh (ACE_Event_Handler *eh)
{
ACE_DEBUG ((LM_DEBUG,
"TAO (%P|%t) - Connection_Handler[%d]::"
- "close_connection, cancel all timers\n",
+ "close_connection_eh, cancel all timers\n",
handle));
}
@@ -349,7 +349,7 @@ TAO_Connection_Handler::close_connection_eh (ACE_Event_Handler *eh)
{
ACE_DEBUG ((LM_DEBUG,
"TAO (%P|%t) - Connection_Handler[%d]::"
- "close_connection\n",
+ "close_connection_eh\n",
id));
}
@@ -371,3 +371,11 @@ void
TAO_Connection_Handler::pos_io_hook (int & )
{
}
+
+int
+TAO_Connection_Handler::close_handler (void)
+{
+ this->state_changed (TAO_LF_Event::LFS_CONNECTION_CLOSED);
+ this->transport ()->remove_reference ();
+ return 0;
+}