diff options
author | bala <balanatarajan@users.noreply.github.com> | 2000-12-07 23:49:59 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2000-12-07 23:49:59 +0000 |
commit | 9c59765bf00cb46c2638e0ad7edf2fcc1eea000e (patch) | |
tree | f581994603321ef174fa5d9ea2a56cf6adbabc28 /TAO/tao/Pluggable_Messaging.cpp | |
parent | 02cc34690ecada2356e3ea9cbe358e2441a46ff2 (diff) | |
download | ATCD-9c59765bf00cb46c2638e0ad7edf2fcc1eea000e.tar.gz |
ChangeLogTag: Thu Dec 7 17:36:47 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Pluggable_Messaging.cpp')
-rw-r--r-- | TAO/tao/Pluggable_Messaging.cpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/TAO/tao/Pluggable_Messaging.cpp b/TAO/tao/Pluggable_Messaging.cpp index deba7c495b3..33b1e834ed2 100644 --- a/TAO/tao/Pluggable_Messaging.cpp +++ b/TAO/tao/Pluggable_Messaging.cpp @@ -10,68 +10,8 @@ ACE_RCSID(tao, Pluggable_Messaging, "$Id$") -////////////////////////////////////////////////////////////////////////// -// Methods for the Pluugable Messaging stuff -///////////////////////////////////////////////////////////////////////// TAO_Pluggable_Messaging::~TAO_Pluggable_Messaging (void) { - //no-op -} - -CORBA::Boolean -TAO_Pluggable_Messaging::write_reply_header (TAO_OutputCDR & /*cdr*/, - TAO_Pluggable_Reply_Params & /*params*/, - CORBA::Environment & /*ACE_TRY_ENV*/) - - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_NOTSUP_RETURN (0); -} - -int -TAO_Pluggable_Messaging:: transport_message (TAO_Transport *transport, - TAO_OutputCDR &stream, - int two_way, - TAO_Stub *stub, - ACE_Time_Value *max_wait_time) -{ - // Strictly speaking, should not need to loop here because the - // socket never gets set to a nonblocking mode ... some Linux - // versions seem to need it though. Leaving it costs little. - - // This guarantees to send all data (bytes) or return an error. - ssize_t n = transport->send (stub, - two_way, - stream.begin (), - max_wait_time); - if (n == -1) - { - if (TAO_orbdebug) - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT ("TAO: (%P|%t|%N|%l) closing conn %d after fault %p\n"), - transport->handle (), - ACE_TEXT ("transport_message ()\n"))); - - return -1; - } - - // EOF. - if (n == 0) - { - if (TAO_orbdebug) - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT ("TAO: (%P|%t|%N|%l) send_message () \n") - ACE_TEXT ("EOF, closing conn %d\n"), - transport->handle())); - return -1; - } - - return 1; -} - -TAO_Message_State_Factory::~TAO_Message_State_Factory (void) -{ - //no-op } |