#include <IIOP_Transport.h>
Inheritance diagram for TAO_IIOP_Transport
Overridden Template Methods | |
Please check the documentation in "tao/Transport.h" for more details. | |
virtual int | send_request (TAO_Stub *stub, TAO_ORB_Core *orb_core, TAO_OutputCDR &stream, int twoway, ACE_Time_Value *max_wait_time) |
TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing. More... | |
virtual int | send_message (TAO_OutputCDR &stream, TAO_Stub *stub = 0, int twoway = 1, ACE_Time_Value *max_time_wait = 0) |
This method formats the stream and then sends the message on the transport. More... | |
virtual int | generate_request_header (TAO_Operation_Details &opdetails, TAO_Target_Specification &spec, TAO_OutputCDR &msg) |
This is a request for the transport object to write a request header before it sends out the request. | |
virtual int | messaging_init (CORBA::Octet major, CORBA::Octet minor) |
virtual int | tear_listen_point_list (TAO_InputCDR &cdr) |
Extracts the list of listen points from the <cdr> stream. The list would have the protocol specific details of the ListenPoints. | |
virtual ACE_Event_Handler* | event_handler_i (void) |
Return the event handler used to receive notifications from the Reactor. More... | |
virtual TAO_Pluggable_Messaging* | messaging_object (void) |
Access the underlying messaging object. | |
virtual ssize_t | send_i (iovec *iov, int iovcnt, size_t &bytes_transferred, const ACE_Time_Value *timeout = 0) |
Write the complete iovec chain to the connection. More... | |
virtual ssize_t | recv_i (char *buf, size_t len, const ACE_Time_Value *s = 0) |
virtual int | register_handler_i (void) |
Register the handler with the reactor. More... | |
virtual void | transition_handler_state_i (void) |
Method to do whatever it needs to do when the connection handler is being closed and destroyed. | |
Public Methods | |
TAO_IIOP_Transport (TAO_IIOP_Connection_Handler *handler, TAO_ORB_Core *orb_core, CORBA::Boolean flag) | |
Constructor. | |
~TAO_IIOP_Transport (void) | |
Default destructor. | |
Private Methods | |
void | set_bidir_context_info (TAO_Operation_Details &opdetails) |
Set the Bidirectional context info in the service context list. | |
int | get_listen_point (IIOP::ListenPointList &listen_point_list, TAO_Acceptor *acceptor) |
Add the listen points in to the <listen_point_list> if this connection is in the same interface as that of the endpoints in the . | |
Private Attributes | |
TAO_IIOP_Connection_Handler* | connection_handler_ |
The connection service handler used for accessing lower layer communication protocols. | |
TAO_Pluggable_Messaging* | messaging_object_ |
Our messaging object. |
|
Constructor.
|
|
Default destructor.
|
|
Return the event handler used to receive notifications from the Reactor. Normally a concrete TAO_Transport object has-a ACE_Event_Handler member that function as an adapter between the ACE_Reactor framework and the TAO pluggable protocol framework. In all the protocols implemented so far this role is fullfilled by an instance of ACE_Svc_Handler.
Reimplemented from TAO_Transport. |
|
This is a request for the transport object to write a request header before it sends out the request.
Reimplemented from TAO_Transport. |
|
Add the listen points in to the <listen_point_list> if this connection is in the same interface as that of the endpoints in the .
|
|
Initialising the messaging object. This would be used by the connector side. On the acceptor side the connection handler would take care of the messaging objects. Reimplemented from TAO_Transport. |
|
Access the underlying messaging object.
Reimplemented from TAO_Transport. |
|
Reimplemented from TAO_Transport. |
|
Register the handler with the reactor. This method is used by the Wait_On_Reactor strategy. The transport must register its event handler with the ORB's Reactor.
Reimplemented from TAO_Transport. |
|
Write the complete iovec chain to the connection. Often the implementation simply forwards the arguments to the underlying ACE_Svc_Handler class. Using the code factored out into ACE. Be careful with protocols that perform non-trivial transformations of the data, such as SSLIOP or protocols that compress the stream.
Reimplemented from TAO_Transport. |
|
This method formats the stream and then sends the message on the transport. Once the ORB is prepared to receive a reply (see send_request() above), and all the arguments have been marshaled the CDR stream must be 'formatted', i.e. the message_size field in the GIOP header can finally be set to the proper value.
Reimplemented from TAO_Transport. |
|
TODO: These methods IMHO should have more meaningful names. The names seem to indicate nothing. @ Reimplemented from TAO_Transport. |
|
Set the Bidirectional context info in the service context list.
|
|
Extracts the list of listen points from the <cdr> stream. The list would have the protocol specific details of the ListenPoints.
Reimplemented from TAO_Transport. |
|
Method to do whatever it needs to do when the connection handler is being closed and destroyed.
Reimplemented from TAO_Transport. |
|
The connection service handler used for accessing lower layer communication protocols.
|
|
Our messaging object.
|