TAO_SSLIOP  3.0.0
Public Member Functions | List of all members
TAO::SSLIOP::Transport Class Reference

SSLIOP-specific transport implementation. More...

#include <SSLIOP_Transport.h>

Inheritance diagram for TAO::SSLIOP::Transport:
Inheritance graph
[legend]
Collaboration diagram for TAO::SSLIOP::Transport:
Collaboration graph
[legend]

Public Member Functions

 Transport (Connection_Handler *handler, TAO_ORB_Core *orb_core)
 Constructor. More...
 
 ~Transport (void)
 Default destructor. More...
 
virtual int handle_input (TAO_Resume_Handle &rh, ACE_Time_Value *max_wait_time=0)
 
- Public Member Functions inherited from TAO_Transport
 TAO_Transport (CORBA::ULong tag, TAO_ORB_Core *orb_core, size_t input_cdr_size=ACE_CDR::DEFAULT_BUFSIZE)
 
virtual ~TAO_Transport ()
 
CORBA::ULong tag () const
 
TAO_ORB_Coreorb_core () const
 
TAO_Transport_Mux_Strategytms () const
 
TAO_Wait_Strategywait_strategy () const
 
Drain_Result handle_output (TAO::Transport::Drain_Constraints const &c)
 
int bidirectional_flag () const
 
void bidirectional_flag (int flag)
 
void cache_map_entry (TAO::Transport_Cache_Manager::HASH_MAP_ENTRY *entry)
 
TAO::Transport_Cache_Manager::HASH_MAP_ENTRY * cache_map_entry ()
 
size_t id () const
 
void id (size_t id)
 
TAO::Connection_Role opened_as () const
 
void opened_as (TAO::Connection_Role)
 
unsigned long purging_order () const
 
void purging_order (unsigned long value)
 
bool queue_is_empty ()
 
bool register_if_necessary ()
 
void provide_handler (TAO::Connection_Handler_Set &handlers)
 
bool provide_blockable_handler (TAO::Connection_Handler_Set &handlers)
 
virtual int register_handler ()
 
virtual int remove_handler ()
 
bool idle_after_send ()
 
bool idle_after_reply ()
 
virtual void close_connection ()
 
bool idle_after_send ()
 
bool idle_after_reply ()
 
virtual void close_connection ()
 
void messaging_init (TAO_GIOP_Message_Version const &version)
 
virtual bool post_connect_hook ()
 
ACE_Event_Handler::Reference_Count add_reference ()
 
ACE_Event_Handler::Reference_Count remove_reference ()
 
TAO_GIOP_Message_Basemessaging_object ()
 
bool is_connected () const
 
bool connection_closed_on_read () const
 
bool post_open (size_t id)
 
void pre_close ()
 
TAO_Connection_Handlerconnection_handler ()
 
TAO_OutputCDRout_stream ()
 
TAO_SYNCH_MUTEXoutput_cdr_lock ()
 
bool can_be_purged ()
 
int generate_locate_request (TAO_Target_Specification &spec, TAO_Operation_Details &opdetails, TAO_OutputCDR &output)
 
virtual int generate_request_header (TAO_Operation_Details &opd, TAO_Target_Specification &spec, TAO_OutputCDR &msg)
 
int recache_transport (TAO_Transport_Descriptor_Interface *desc)
 
virtual int send_message_shared (TAO_Stub *stub, TAO_Message_Semantics message_semantics, const ACE_Message_Block *message_block, ACE_Time_Value *max_wait_time)
 
int format_queue_message (TAO_OutputCDR &stream, ACE_Time_Value *max_wait_time, TAO_Stub *stub)
 
int send_message_block_chain (const ACE_Message_Block *message_block, size_t &bytes_transferred, ACE_Time_Value *max_wait_time=0)
 
int send_message_block_chain_i (const ACE_Message_Block *message_block, size_t &bytes_transferred, TAO::Transport::Drain_Constraints const &dc)
 
int purge_entry ()
 
int make_idle ()
 
int update_transport ()
 
int handle_timeout (const ACE_Time_Value &current_time, const void *act)
 
size_t recv_buffer_size () const
 
size_t sent_byte_count () const
 
TAO_Codeset_Translator_Basechar_translator () const
 
TAO_Codeset_Translator_Basewchar_translator () const
 
void char_translator (TAO_Codeset_Translator_Base *)
 
void wchar_translator (TAO_Codeset_Translator_Base *)
 
void assign_translators (TAO_InputCDR *, TAO_OutputCDR *)
 
void clear_translators (TAO_InputCDR *, TAO_OutputCDR *)
 
CORBA::Boolean is_tcs_set () const
 
void first_request_sent (bool flag=false)
 
bool first_request () const
 
void send_connection_closed_notifications ()
 
TAO::Transport::Statsstats () const
 

Overridden Template Methods

These are implementations of template methods declared by TAO_Transport.

Connection_Handlerconnection_handler_
 
virtual int send_request (TAO_Stub *stub, TAO_ORB_Core *orb_core, TAO_OutputCDR &stream, TAO_Message_Semantics message_semantics, ACE_Time_Value *max_wait_time)
 
virtual int send_message (TAO_OutputCDR &stream, TAO_Stub *stub=0, TAO_ServerRequest *request=0, TAO_Message_Semantics message_semantics=TAO_Message_Semantics(), ACE_Time_Value *max_time_wait=0)
 
virtual int tear_listen_point_list (TAO_InputCDR &cdr)
 Open the service context list and process it. More...
 
virtual ACE_Event_Handlerevent_handler_i (void)
 
virtual TAO_Connection_Handlerconnection_handler_i (void)
 
virtual ssize_t send (iovec *iov, int iovcnt, size_t &bytes_transferred, const ACE_Time_Value *timeout=0)
 Write the complete Message_Block chain to the connection. More...
 
virtual ssize_t recv (char *buf, size_t len, const ACE_Time_Value *s=0)
 Read len bytes from into buf. More...
 
void set_bidir_context_info (TAO_Operation_Details &opdetails)
 
int get_listen_point (IIOP::ListenPointList &listen_point_list, TAO_Acceptor *acceptor)
 

Additional Inherited Members

- Public Types inherited from TAO_Transport
enum  Drain_Result_Enum
 
- Public Attributes inherited from TAO_Transport
 DR_ERROR
 
 DR_OK
 
 DR_QUEUE_EMPTY
 
 DR_WOULDBLOCK
 
- Protected Member Functions inherited from TAO_Transport
int process_parsed_messages (TAO_Queued_Data *qd, TAO_Resume_Handle &rh)
 
int send_message_shared_i (TAO_Stub *stub, TAO_Message_Semantics message_semantics, const ACE_Message_Block *message_block, ACE_Time_Value *max_wait_time)
 
int queue_message_i (const ACE_Message_Block *message_block, ACE_Time_Value *max_wait_time, bool back=true)
 
ACE_Time_Value const * io_timeout (TAO::Transport::Drain_Constraints const &dc) const
 
int notify_reactor_now ()
 
- Protected Attributes inherited from TAO_Transport
CORBA::ULong const tag_
 
TAO_ORB_Core *const orb_core_
 
TAO::Transport_Cache_Manager::HASH_MAP_ENTRY * cache_map_entry_
 
TAO_Transport_Mux_Strategytms_
 
TAO_Wait_Strategyws_
 
int bidirectional_flag_
 
TAO::Connection_Role opening_connection_role_
 
TAO_Queued_Messagehead_
 
TAO_Queued_Messagetail_
 
TAO_Incoming_Message_Queue incoming_message_queue_
 
TAO::Incoming_Message_Stack incoming_message_stack_
 
ACE_Time_Value current_deadline_
 
long flush_timer_id_
 
TAO_Transport_Timer transport_timer_
 
ACE_Lockhandler_lock_
 
size_t id_
 
unsigned long purging_order_
 
size_t recv_buffer_size_
 
size_t sent_byte_count_
 
bool is_connected_
 
bool connection_closed_on_read_
 

Detailed Description

SSLIOP-specific transport implementation.

SSLIOP-specific transport implementation.

Constructor & Destructor Documentation

◆ Transport()

TAO::SSLIOP::Transport::Transport ( Connection_Handler handler,
TAO_ORB_Core orb_core 
)

Constructor.

◆ ~Transport()

TAO::SSLIOP::Transport::~Transport ( void  )

Default destructor.

Member Function Documentation

◆ connection_handler_i()

TAO_Connection_Handler * TAO::SSLIOP::Transport::connection_handler_i ( void  )
protectedvirtual

The connection service handler used for accessing lower layer communication protocols.

Implements TAO_Transport.

◆ event_handler_i()

ACE_Event_Handler * TAO::SSLIOP::Transport::event_handler_i ( void  )
protectedvirtual

The connection service handler used for accessing lower layer communication protocols.

Implements TAO_Transport.

◆ get_listen_point()

int TAO::SSLIOP::Transport::get_listen_point ( IIOP::ListenPointList listen_point_list,
TAO_Acceptor acceptor 
)
private

Add the listen points in acceptor to the listen_point_list if this connection is in the same interface as that of the endpoints in the acceptor.

◆ handle_input()

int TAO::SSLIOP::Transport::handle_input ( TAO_Resume_Handle rh,
ACE_Time_Value max_wait_time = 0 
)
virtual

Overload of the handle_input () in the TAO_Transport class. This is required to set up the state guard. The thread-per-connection and wait on RW strategies call this handle_input ().

Reimplemented from TAO_Transport.

◆ recv()

ssize_t TAO::SSLIOP::Transport::recv ( char *  buf,
size_t  len,
const ACE_Time_Value s = 0 
)
protectedvirtual

Read len bytes from into buf.

Implements TAO_Transport.

◆ send()

ssize_t TAO::SSLIOP::Transport::send ( iovec *  iov,
int  iovcnt,
size_t &  bytes_transferred,
const ACE_Time_Value timeout = 0 
)
protectedvirtual

Write the complete Message_Block chain to the connection.

Implements TAO_Transport.

◆ send_message()

int TAO::SSLIOP::Transport::send_message ( TAO_OutputCDR stream,
TAO_Stub stub = 0,
TAO_ServerRequest request = 0,
TAO_Message_Semantics  message_semantics = TAO_Message_Semantics (),
ACE_Time_Value max_time_wait = 0 
)
virtual

The connection service handler used for accessing lower layer communication protocols.

Implements TAO_Transport.

◆ send_request()

int TAO::SSLIOP::Transport::send_request ( TAO_Stub stub,
TAO_ORB_Core orb_core,
TAO_OutputCDR stream,
TAO_Message_Semantics  message_semantics,
ACE_Time_Value max_wait_time 
)
virtual
Todo:
These methods IMHO should have more meaningful names. The names seem to indicate nothing.

Implements TAO_Transport.

◆ set_bidir_context_info()

void TAO::SSLIOP::Transport::set_bidir_context_info ( TAO_Operation_Details opdetails)
privatevirtual

Set the Bidirectional context info in the service context list.

Reimplemented from TAO_Transport.

◆ tear_listen_point_list()

int TAO::SSLIOP::Transport::tear_listen_point_list ( TAO_InputCDR cdr)
virtual

Open the service context list and process it.

Reimplemented from TAO_Transport.

Member Data Documentation

◆ connection_handler_

Connection_Handler* TAO::SSLIOP::Transport::connection_handler_
private

The connection service handler used for accessing lower layer communication protocols.


The documentation for this class was generated from the following files: