TAO_SSLIOP 4.0.0
|
Handles requests on a single connection. More...
#include <SSLIOP_Connection_Handler.h>
Public Member Functions | |
Connection_Handler (ACE_Thread_Manager *t=0) | |
Connection_Handler (TAO_ORB_Core *orb_core) | |
Constructor. | |
~Connection_Handler () | |
Destructor. | |
Connection Handler overloads | |
Connection Handler overloads. | |
virtual int | open_handler (void *) |
int | close (u_long=0) |
Event Handler overloads | |
virtual int | resume_handler () |
Add ourselves to cache. | |
virtual int | close_connection () |
Add ourselves to cache. | |
virtual int | handle_input (ACE_HANDLE) |
Add ourselves to cache. | |
virtual int | handle_output (ACE_HANDLE) |
Add ourselves to cache. | |
virtual int | handle_close (ACE_HANDLE, ACE_Reactor_Mask) |
Add ourselves to cache. | |
virtual int | handle_timeout (const ACE_Time_Value ¤t_time, const void *act=0) |
Add ourselves to cache. | |
virtual int | open (void *) |
Add ourselves to cache. | |
int | add_transport_to_cache () |
Add ourselves to cache. | |
int | process_listen_point_list (IIOP::ListenPointList &listen_list) |
Process the listen_list. | |
int | setup_ssl_state (TAO::SSLIOP::Current_Impl *&previous_current_impl, TAO::SSLIOP::Current_Impl *new_current_impl, bool &setup_done) |
void | teardown_ssl_state (TAO::SSLIOP::Current_Impl *previous_current_impl, bool &setup_done) |
Teardown the SSL session state. | |
bool | check_host () |
![]() | |
ACE_Svc_Handler (ACE_Thread_Manager *thr_mgr=0, ACE_Message_Queue< SYNCH_TRAITS > *mq=0, ACE_Reactor *reactor=ACE_Reactor::instance()) | |
virtual | ~ACE_Svc_Handler () |
virtual int | idle (u_long flags=0) |
virtual ACE_Recyclable_State | recycle_state () const |
virtual int | recycle_state (ACE_Recyclable_State new_state) |
virtual void | cleanup_hint (void **act_holder=0) |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
virtual int | fini () |
virtual int | info (ACE_TCHAR **info_string, size_t length) const |
virtual ACE_HANDLE | get_handle () const |
virtual void | set_handle (ACE_HANDLE) |
PEER_STREAM & | peer () const |
void * | operator new (size_t n) |
void * | operator new (size_t n, const std::nothrow_t &) noexcept |
void | operator delete (void *p, const std::nothrow_t &) noexcept |
void * | operator new (size_t n, void *p) |
virtual void | destroy () |
void | operator delete (void *) |
void | operator delete (void *, void *) |
void | shutdown () |
void | dump () const |
virtual void | recycler (ACE_Connection_Recycling_Strategy *recycler, const void *recycling_act) |
virtual ACE_Connection_Recycling_Strategy * | recycler () const |
virtual const void * | recycling_act () const |
virtual int | recycle (void *=0) |
![]() | |
ACE_Task (ACE_Thread_Manager *thr_mgr=0, ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > *mq=0) | |
virtual | ~ACE_Task () |
ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > * | msg_queue () |
void | msg_queue (ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > *) |
ACE_Time_Value_T< TIME_POLICY > | gettimeofday () const |
void | set_time_policy (TIME_POLICY const &time_policy) |
int | putq (ACE_Message_Block *, ACE_Time_Value *timeout=0) |
int | getq (ACE_Message_Block *&mb, ACE_Time_Value *timeout=0) |
int | ungetq (ACE_Message_Block *, ACE_Time_Value *timeout=0) |
int | reply (ACE_Message_Block *mb, ACE_Time_Value *tv=0) |
int | put_next (ACE_Message_Block *msg, ACE_Time_Value *timeout=0) |
const ACE_TCHAR * | name () const |
virtual ACE_Task< ACE_SYNCH_USE, TIME_POLICY > * | next () |
void | next (ACE_Task< ACE_SYNCH_USE, TIME_POLICY > *) |
ACE_Task< ACE_SYNCH_USE, TIME_POLICY > * | sibling () |
virtual int | flush (u_long flag=ACE_Task_Flags::ACE_FLUSHALL) |
void | water_marks (ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds, size_t) |
void | dump () const |
![]() | |
ACE_Task_Base (ACE_Thread_Manager *=0) | |
virtual | ~ACE_Task_Base () |
virtual int | module_closed () |
virtual int | put (ACE_Message_Block *, ACE_Time_Value *=0) |
virtual int | svc () |
virtual int | activate (long flags=THR_NEW_LWP|THR_JOINABLE|THR_INHERIT_SCHED, int n_threads=1, int force_active=0, long priority=ACE_DEFAULT_THREAD_PRIORITY, int grp_id=-1, ACE_Task_Base *task=0, ACE_hthread_t thread_handles[]=0, void *stack[]=0, size_t stack_size[]=0, ACE_thread_t thread_ids[]=0, const char *thr_name[]=0) |
virtual int | wait () |
virtual int | suspend () |
virtual int | resume () |
int | grp_id () const |
void | grp_id (int) |
ACE_Thread_Manager * | thr_mgr () const |
void | thr_mgr (ACE_Thread_Manager *) |
int | is_reader () const |
int | is_writer () const |
size_t | thr_count () const |
ACE_thread_t | last_thread () const |
![]() | |
ACE_Service_Object (ACE_Reactor *=0) | |
virtual | ~ACE_Service_Object () |
![]() | |
virtual | ~ACE_Event_Handler ()=default |
virtual int | priority () const |
virtual void | priority (int priority) |
virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_exit (ACE_Process *) |
virtual int | handle_signal (int signum, siginfo_t *=0, ucontext_t *=0) |
virtual int | handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual int | handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual void | reactor (ACE_Reactor *reactor) |
virtual ACE_Reactor * | reactor () const |
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface () const |
virtual Reference_Count | add_reference () |
virtual Reference_Count | remove_reference () |
Reference_Counting_Policy & | reference_counting_policy () |
![]() | |
ACE_Shared_Object () | |
virtual | ~ACE_Shared_Object () |
![]() | |
TAO_Connection_Handler (TAO_ORB_Core *orb_core) | |
virtual | ~TAO_Connection_Handler () |
TAO_Transport * | transport () |
void | transport (TAO_Transport *transport) |
bool | is_closed () const |
bool | is_open () const |
bool | is_timeout () const |
bool | is_connecting () const |
int | svc_i () |
virtual int | close_handler (u_long flags=0) |
void | connection_pending () |
void | cancel_pending_connection () |
virtual int | set_dscp_codepoint (CORBA::Boolean set_network_priority) |
virtual int | set_dscp_codepoint (CORBA::Long dscp_codepoint) |
![]() | |
TAO_LF_CH_Event () | |
virtual | ~TAO_LF_CH_Event () |
![]() | |
TAO_LF_Event () | |
virtual | ~TAO_LF_Event () |
void | state_changed (LFS_STATE new_state, TAO_Leader_Follower &lf) |
bool | successful (TAO_Leader_Follower &lf) const |
bool | error_detected (TAO_Leader_Follower &lf) const |
bool | keep_waiting (TAO_Leader_Follower &lf) const |
void | reset_state (LFS_STATE new_state) |
TAO_Connection Handler overloads | |
TAO::SSLIOP::Current_var | current_ |
virtual int | release_os_resources () |
virtual void | pos_io_hook (int &return_value) |
virtual int | handle_write_ready (const ACE_Time_Value *timeout) |
Handles requests on a single connection.
The Connection handler which is common for the Acceptor and the Connector
TAO::SSLIOP::Connection_Handler::Connection_Handler | ( | ACE_Thread_Manager * | t = 0 | ) |
TAO::SSLIOP::Connection_Handler::Connection_Handler | ( | TAO_ORB_Core * | orb_core | ) |
Constructor.
TAO::SSLIOP::Connection_Handler::~Connection_Handler | ( | ) |
Destructor.
int TAO::SSLIOP::Connection_Handler::add_transport_to_cache | ( | ) |
Add ourselves to cache.
bool TAO::SSLIOP::Connection_Handler::check_host | ( | ) |
Return true if the host name matches the name/domain in the peer certificate.
|
virtual |
Close called by the Acceptor or Connector when connection establishment fails.
Reimplemented from ACE_Svc_Handler< typename PEER_STREAM, typename SYNCH_TRAITS >.
|
virtual |
Add ourselves to cache.
Implements TAO_Connection_Handler.
|
virtual |
Add ourselves to cache.
Reimplemented from ACE_Svc_Handler< typename PEER_STREAM, typename SYNCH_TRAITS >.
|
virtual |
Add ourselves to cache.
Reimplemented from ACE_Event_Handler.
|
virtual |
Add ourselves to cache.
Reimplemented from ACE_Event_Handler.
|
virtual |
Add ourselves to cache.
Reimplemented from ACE_Svc_Handler< typename PEER_STREAM, typename SYNCH_TRAITS >.
|
protectedvirtual |
Reference to the SSLIOP::Current object (downcast to gain access to the low-level management methods).
Reimplemented from TAO_Connection_Handler.
|
virtual |
Add ourselves to cache.
Reimplemented from ACE_Svc_Handler< typename PEER_STREAM, typename SYNCH_TRAITS >.
|
virtual |
Close called by the Acceptor or Connector when connection establishment fails.
Implements TAO_Connection_Handler.
|
protectedvirtual |
Reference to the SSLIOP::Current object (downcast to gain access to the low-level management methods).
Reimplemented from TAO_Connection_Handler.
int TAO::SSLIOP::Connection_Handler::process_listen_point_list | ( | IIOP::ListenPointList & | listen_list | ) |
Process the listen_list.
|
protectedvirtual |
Reference to the SSLIOP::Current object (downcast to gain access to the low-level management methods).
Reimplemented from TAO_Connection_Handler.
|
virtual |
Add ourselves to cache.
Reimplemented from ACE_Event_Handler.
int TAO::SSLIOP::Connection_Handler::setup_ssl_state | ( | TAO::SSLIOP::Current_Impl *& | previous_current_impl, |
TAO::SSLIOP::Current_Impl * | new_current_impl, | ||
bool & | setup_done ) |
Make the SSL session state available to the SSLIOP::Current object.
void TAO::SSLIOP::Connection_Handler::teardown_ssl_state | ( | TAO::SSLIOP::Current_Impl * | previous_current_impl, |
bool & | setup_done ) |
Teardown the SSL session state.
|
protected |
Reference to the SSLIOP::Current object (downcast to gain access to the low-level management methods).