TAO_TransportCurrent 4.0.2
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
TAO::Transport::IIOP_Current_Impl Class Reference

Implementation of the TAO::Transport::IIOPCurrent interface. More...

#include <IIOP_Current_Impl.h>

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

Public Member Functions

 IIOP_Current_Impl (TAO_ORB_Core *core, size_t tss_slot_id)
 Constructor.
 
virtual::CORBA::Long id ()
 
virtual::SSLIOP::Current_ptr ssliop_current ()
 
virtual::CORBA::Long remote_port ()
 
virtual char * remote_host ()
 
virtual::CORBA::Long local_port ()
 
virtual char * local_host ()
 
- Public Member Functions inherited from TAO::Transport::Current_Impl
 Current_Impl (TAO_ORB_Core *core, size_t tss_slot_id)
 Constructor.
 
virtual CounterT bytes_sent ()
 
virtual CounterT bytes_received ()
 
virtual CounterT messages_sent ()
 
virtual CounterT messages_received ()
 
virtual::TimeBase::TimeT open_since ()
 
- Public Member Functions inherited from CORBA::LocalObject
virtual ~LocalObject ()
 
virtual CORBA::Boolean _non_existent ()
 
virtual char * _repository_id ()
 
virtual CORBA::InterfaceDef_ptr _get_interface ()
 
virtual CORBA::Object_ptr _get_component ()
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual CORBA::Request_ptr _request (const char *operation)
 
virtual CORBA::ULong _hash (CORBA::ULong maximum)
 
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
 
virtual CORBA::ORB_ptr _get_orb ()
 
virtual TAO::ObjectKey_key ()
 
- Public Member Functions inherited from CORBA::Object
virtual ~Object ()
 
virtual void _add_ref ()
 
virtual void _remove_ref ()
 
virtual CORBA::ULong _refcount_value () const
 
virtual TAO_Abstract_ServantBase_servant () const
 
virtual CORBA::Boolean _is_collocated () const
 
virtual CORBA::Boolean _is_local () const
 
 Object (TAO_Stub *p, CORBA::Boolean collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0)
 
 Object (IOP::IOR *ior, TAO_ORB_Core *orb_core)
 
virtual TAO_Stub_stubobj () const
 
virtual TAO_Stub_stubobj ()
 
virtual void _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker)
 
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 
CORBA::Boolean is_evaluated () const
 
TAO_ORB_Coreorb_core () const
 
IOP::IORsteal_ior ()
 
const IOP::IORior () const
 
virtual bool can_convert_to_ior () const
 
virtual char * convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const
 
void _decr_refcount ()
 
virtual CORBA::Boolean _is_a (const char *logical_type_id)
 
virtual const char * _interface_repository_id () const
 

Protected Member Functions

virtual ~IIOP_Current_Impl ()
 Destructor.
 
- Protected Member Functions inherited from TAO::Transport::Current_Impl
const TAO_Transporttransport () const
 A (strategy) method used to obtain the transport ptr.
 
const TAO::Transport::Stats * transport_stats () const
 Obtains the current transport's stats.
 
virtual ~Current_Impl ()
 dtor
 
- Protected Member Functions inherited from CORBA::LocalObject
 LocalObject ()
 
- Protected Member Functions inherited from CORBA::Object
 Object (int dummy=0)
 
TAO::Object_Proxy_Brokerproxy_broker () const
 

Private Member Functions

TAO_IIOP_Connection_Handler * handler ()
 
 IIOP_Current_Impl (const IIOP_Current_Impl &)=delete
 
void operator= (const IIOP_Current_Impl &)=delete
 

Additional Inherited Members

- Public Types inherited from CORBA::LocalObject
typedef LocalObject_ptr _ptr_type
 
typedef LocalObject_var _var_type
 
typedef LocalObject_out _out_type
 
- Public Types inherited from CORBA::Object
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 
- Static Public Member Functions inherited from CORBA::LocalObject
static LocalObject_ptr _duplicate (LocalObject_ptr obj)
 
static LocalObject_ptr _nil ()
 
static LocalObject_ptr _narrow (CORBA::Object_ptr obj)
 
- Static Public Member Functions inherited from CORBA::Object
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
 
static void _tao_any_destructor (void *)
 
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
 
static void tao_object_initialize (Object *)
 
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil ()
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
- Protected Attributes inherited from CORBA::Object
std::atomic< uint32_t > refcount_
 

Detailed Description

Implementation of the TAO::Transport::IIOPCurrent interface.

IIOP_Current_Impl is useful for obtaining information about the IIOP Transport, associated with the calling thread.

Constructor & Destructor Documentation

◆ IIOP_Current_Impl() [1/2]

TAO::Transport::IIOP_Current_Impl::IIOP_Current_Impl ( TAO_ORB_Core * core,
size_t tss_slot_id )

Constructor.

Ctor.

◆ ~IIOP_Current_Impl()

TAO::Transport::IIOP_Current_Impl::~IIOP_Current_Impl ( )
protectedvirtual

Destructor.

Dtor.

Protected destructor to enforce the fact this class is reference counted, and should not be destroyed using delete() by anything other than the reference counting mechanism.

◆ IIOP_Current_Impl() [2/2]

TAO::Transport::IIOP_Current_Impl::IIOP_Current_Impl ( const IIOP_Current_Impl & )
privatedelete

Member Function Documentation

◆ handler()

TAO_IIOP_Connection_Handler * TAO::Transport::IIOP_Current_Impl::handler ( )
private

Returns the IIOP connection handler associated with the Transport. Will throw NoContext if the (selected) transport () == 0, or if transport->connection_handler () == 0. Will throw NoContext, if no transport has been selected yet.

Obtains the IIOP_Connection_Handler associated with the Transport. Will throw NoContext if the (selected) transport () == 0, or if transport->connection_handler () == 0. Will throw NoContext, if no transport has been selected yet.

◆ id()

CORBA::Long TAO::Transport::IIOP_Current_Impl::id ( )
virtual

These are methods exposed by the PortableInterceptor::Current interface.

Reimplemented from TAO::Transport::Current_Impl.

◆ local_host()

char * TAO::Transport::IIOP_Current_Impl::local_host ( )
virtual

◆ local_port()

CORBA::Long TAO::Transport::IIOP_Current_Impl::local_port ( )

◆ operator=()

void TAO::Transport::IIOP_Current_Impl::operator= ( const IIOP_Current_Impl & )
privatedelete

◆ remote_host()

char * TAO::Transport::IIOP_Current_Impl::remote_host ( )
virtual

◆ remote_port()

CORBA::Long TAO::Transport::IIOP_Current_Impl::remote_port ( )

◆ ssliop_current()

SSLIOP::Current_ptr TAO::Transport::IIOP_Current_Impl::ssliop_current ( )

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