Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Asynch_Reply_Dispatcher_Base.cpp

Go to the documentation of this file.
00001 #include "tao_pch.h"
00002 // $Id: Asynch_Reply_Dispatcher_Base.cpp,v 1.1.1.1.2.1 2003/03/14 16:05:12 chad Exp $
00003 
00004 #include "tao/Asynch_Reply_Dispatcher_Base.h"
00005 
00006 #include "tao/Pluggable_Messaging_Utils.h"
00007 #include "tao/ORB_Core.h"
00008 #include "tao/debug.h"
00009 #include "tao/ORB_Core.h"
00010 #include "tao/Transport.h"
00011 
00012 #if !defined (__ACE_INLINE__)
00013 #include "tao/Asynch_Reply_Dispatcher_Base.i"
00014 #endif /* __ACE_INLINE__ */
00015 
00016 ACE_RCSID(tao, Asynch_Reply_Dispatcher_Base, "$Id: Asynch_Reply_Dispatcher_Base.cpp,v 1.1.1.1.2.1 2003/03/14 16:05:12 chad Exp $")
00017 
00018 // Constructor.
00019 TAO_Asynch_Reply_Dispatcher_Base::TAO_Asynch_Reply_Dispatcher_Base (TAO_ORB_Core *orb_core)
00020   : db_ (sizeof buf_,
00021          ACE_Message_Block::MB_DATA,
00022          this->buf_,
00023          orb_core->input_cdr_buffer_allocator (),
00024          orb_core->locking_strategy (),
00025          ACE_Message_Block::DONT_DELETE,
00026          orb_core->input_cdr_dblock_allocator ()),
00027     reply_cdr_ (&db_,
00028                 ACE_Message_Block::MB_DATA,
00029                 TAO_ENCAP_BYTE_ORDER,
00030                 TAO_DEF_GIOP_MAJOR,
00031                 TAO_DEF_GIOP_MINOR,
00032                 orb_core),
00033     transport_ (0)
00034 {
00035 }
00036 
00037 // Destructor.
00038 TAO_Asynch_Reply_Dispatcher_Base::~TAO_Asynch_Reply_Dispatcher_Base (void)
00039 {
00040   if (this->transport_ != 0)
00041     {
00042       this->transport_->idle_after_reply ();
00043       TAO_Transport::release (this->transport_);
00044     }
00045 }
00046 
00047 // Must override pure virtual method in TAO_Reply_Dispatcher.
00048 int
00049 TAO_Asynch_Reply_Dispatcher_Base::dispatch_reply (
00050     TAO_Pluggable_Reply_Params & /*params*/
00051   )
00052 {
00053   return 0;
00054 }
00055 
00056 
00057 void
00058 TAO_Asynch_Reply_Dispatcher_Base::connection_closed (void)
00059 {
00060 }
00061 
00062 void
00063 TAO_Asynch_Reply_Dispatcher_Base::reply_timed_out (void)
00064 {
00065 }
00066 
00067 long
00068 TAO_Asynch_Reply_Dispatcher_Base::schedule_timer (CORBA::ULong /*request_id */,
00069                                                   const ACE_Time_Value & /*max_wait_time*/)
00070 {
00071   return 0;
00072 }

Generated on Mon Jun 16 13:48:01 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002