Go to the documentation of this file.00001
00002
00003 #include "tao/Strategies/COIOP_Transport.h"
00004
00005 #if defined (TAO_HAS_COIOP) && (TAO_HAS_COIOP != 0)
00006
00007 #include "tao/Strategies/COIOP_Connection_Handler.h"
00008 #include "tao/Strategies/COIOP_Acceptor.h"
00009 #include "tao/Strategies/COIOP_Profile.h"
00010 #include "tao/Acceptor_Registry.h"
00011 #include "tao/operation_details.h"
00012 #include "tao/Timeprobe.h"
00013 #include "tao/CDR.h"
00014 #include "tao/Transport_Mux_Strategy.h"
00015 #include "tao/Wait_Strategy.h"
00016 #include "tao/Stub.h"
00017 #include "tao/ORB_Core.h"
00018 #include "tao/debug.h"
00019 #include "tao/Resume_Handle.h"
00020 #include "tao/GIOP_Message_Base.h"
00021
00022 ACE_RCSID (tao, COIOP_Transport, "$Id: COIOP_Transport.cpp 80288 2007-12-17 20:05:04Z johnnyw $")
00023
00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00025
00026 TAO_COIOP_Transport::TAO_COIOP_Transport (TAO_COIOP_Connection_Handler *handler,
00027 TAO_ORB_Core *orb_core)
00028 : TAO_Transport (TAO_TAG_COIOP_PROFILE,
00029 orb_core)
00030 , connection_handler_ (handler)
00031 {
00032 }
00033
00034 TAO_COIOP_Transport::~TAO_COIOP_Transport (void)
00035 {
00036 }
00037
00038 ACE_Event_Handler *
00039 TAO_COIOP_Transport::event_handler_i (void)
00040 {
00041 return this->connection_handler_;
00042 }
00043
00044 TAO_Connection_Handler *
00045 TAO_COIOP_Transport::connection_handler_i (void)
00046 {
00047 return this->connection_handler_;
00048 }
00049
00050 ssize_t
00051 TAO_COIOP_Transport::send (iovec *,
00052 int ,
00053 size_t &bytes_transferred,
00054 const ACE_Time_Value *)
00055 {
00056
00057 bytes_transferred = 0;
00058
00059 return 1;
00060 }
00061
00062 ssize_t
00063 TAO_COIOP_Transport::recv (char *, size_t , const ACE_Time_Value *)
00064 {
00065 return 0;
00066 }
00067
00068 int
00069 TAO_COIOP_Transport::handle_input (TAO_Resume_Handle &,
00070 ACE_Time_Value *)
00071 {
00072 return 0;
00073 }
00074
00075
00076 int
00077 TAO_COIOP_Transport::register_handler (void)
00078 {
00079
00080
00081
00082
00083
00084
00085
00086 return 0;
00087 }
00088
00089
00090 int
00091 TAO_COIOP_Transport::send_request (TAO_Stub *,
00092 TAO_ORB_Core *,
00093 TAO_OutputCDR &,
00094 TAO_Message_Semantics,
00095 ACE_Time_Value *)
00096 {
00097 return 0;
00098 }
00099
00100 int
00101 TAO_COIOP_Transport::send_message (TAO_OutputCDR &,
00102 TAO_Stub *,
00103 TAO_Message_Semantics,
00104 ACE_Time_Value *)
00105 {
00106 return 1;
00107 }
00108
00109 int
00110 TAO_COIOP_Transport::send_message_shared (TAO_Stub *,
00111 TAO_Message_Semantics,
00112 const ACE_Message_Block *,
00113 ACE_Time_Value *)
00114 {
00115 return 1;
00116 }
00117
00118 TAO_END_VERSIONED_NAMESPACE_DECL
00119
00120 #endif