#include <COIOP_Transport.h>
Inheritance diagram for TAO_COIOP_Transport:
Public Member Functions | |
TAO_COIOP_Transport (TAO_COIOP_Connection_Handler *handler, TAO_ORB_Core *orb_core) | |
Constructor. | |
~TAO_COIOP_Transport (void) | |
Default destructor. | |
virtual int | handle_input (TAO_Resume_Handle &rh, ACE_Time_Value *max_wait_time=0) |
Look for the documentation in Transport.h. | |
virtual int | send_request (TAO_Stub *stub, TAO_ORB_Core *orb_core, TAO_OutputCDR &stream, int message_semantics, ACE_Time_Value *max_wait_time) |
virtual int | send_message (TAO_OutputCDR &stream, TAO_Stub *stub=0, int message_semantics=TAO_Transport::TAO_TWOWAY_REQUEST, ACE_Time_Value *max_time_wait=0) |
virtual int | messaging_init (CORBA::Octet major, CORBA::Octet minor) |
Initialising the messaging object. | |
Protected Member Functions | |
Overridden Template Methods | |
virtual ACE_Event_Handler * | event_handler_i (void) |
virtual TAO_Connection_Handler * | connection_handler_i (void) |
virtual TAO_Pluggable_Messaging * | messaging_object (void) |
virtual ssize_t | send (iovec *iov, int iovcnt, size_t &bytes_transferred, const ACE_Time_Value *max_wait_time) |
Write the complete Message_Block chain to the connection. | |
virtual ssize_t | recv (char *buf, size_t len, const ACE_Time_Value *s=0) |
Read len bytes from into buf. | |
virtual int | send_message_shared (TAO_Stub *stub, int message_semantics, const ACE_Message_Block *message_block, ACE_Time_Value *max_wait_time) |
virtual int | register_handler (void) |
Private Attributes | |
TAO_COIOP_Connection_Handler * | connection_handler_ |
TAO_Pluggable_Messaging * | messaging_object_ |
Our messaging object. |
Definition at line 50 of file COIOP_Transport.h.
|
Constructor.
Definition at line 26 of file COIOP_Transport.cpp. References ACE_NEW, and TAO_TAG_COIOP_PROFILE.
00028 : TAO_Transport (TAO_TAG_COIOP_PROFILE, 00029 orb_core) 00030 , connection_handler_ (handler) 00031 , messaging_object_ (0) 00032 { 00033 /* 00034 * Hook to customize the messaging object when the concrete messaging 00035 * object is known a priori. In this case, the flag is ignored. 00036 */ 00037 //@@ MESSAGING_SPL_COMMENT_HOOK_START 00038 00039 ACE_NEW (this->messaging_object_, 00040 TAO_GIOP_Message_Base (orb_core, 00041 this)); 00042 //@@ MESSAGING_SPL_COMMENT_HOOK_END 00043 00044 } |
|
Default destructor.
Definition at line 46 of file COIOP_Transport.cpp.
00047 { 00048 delete this->messaging_object_; 00049 } |
|
Implements TAO_Transport. Definition at line 58 of file COIOP_Transport.cpp.
00059 { 00060 return this->connection_handler_; 00061 } |
|
Implements TAO_Transport. Definition at line 52 of file COIOP_Transport.cpp.
00053 { 00054 return this->connection_handler_; 00055 } |
|
Look for the documentation in Transport.h.
Reimplemented from TAO_Transport. Definition at line 88 of file COIOP_Transport.cpp.
00090 {
00091 return 0;
00092 }
|
|
Initialising the messaging object.
Implements TAO_Transport. Definition at line 138 of file COIOP_Transport.cpp. References TAO_Pluggable_Messaging::init().
00140 { 00141 this->messaging_object_->init (major, minor); 00142 return 1; 00143 } |
|
Implements TAO_Transport. Definition at line 64 of file COIOP_Transport.cpp.
00065 { 00066 return this->messaging_object_; 00067 } |
|
Read len bytes from into buf.
Implements TAO_Transport. Definition at line 82 of file COIOP_Transport.cpp.
00083 {
00084 return 0;
00085 }
|
|
Reimplemented from TAO_Transport. Definition at line 96 of file COIOP_Transport.cpp.
00097 { 00098 // We do never register register the handler with the reactor 00099 // as we never need to be informed about any incoming data, 00100 // assuming we only use one-ways. 00101 // If we would register and ICMP Messages would arrive, e.g 00102 // due to a not reachable server, we would get informed - as this 00103 // disturbs the general COIOP assumptions of not being 00104 // interested in any network failures, we ignore ICMP messages. 00105 return 0; 00106 } |
|
Write the complete Message_Block chain to the connection.
Implements TAO_Transport. Definition at line 70 of file COIOP_Transport.cpp.
00074 { 00075 // We don't send data over the wire with COIOP 00076 bytes_transferred = 0; 00077 00078 return 1; 00079 } |
|
Implements TAO_Transport. Definition at line 120 of file COIOP_Transport.cpp.
00124 {
00125 return 1;
00126 }
|
|
Reimplemented from TAO_Transport. Definition at line 129 of file COIOP_Transport.cpp.
00133 {
00134 return 1;
00135 }
|
|
Implements TAO_Transport. Definition at line 110 of file COIOP_Transport.cpp.
00115 {
00116 return 0;
00117 }
|
|
The connection service handler used for accessing lower layer communication protocols. Definition at line 115 of file COIOP_Transport.h. |
|
Our messaging object.
Definition at line 118 of file COIOP_Transport.h. |