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

#include <Current_Impl.h>

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

Public Member Functions

 Current_Impl (TAO_ORB_Core *core, size_t tss_slot_id)
 Constructor.
 
virtual CORBA::Long id ()
 
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

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

 Current_Impl (const Current_Impl &)=delete
 
void operator= (const Current_Impl &)=delete
 

Private Attributes

TAO_ORB_Corecore_
 
size_t tss_slot_id_
 

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_
 

Constructor & Destructor Documentation

◆ Current_Impl() [1/2]

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

Constructor.

ctor

◆ ~Current_Impl()

TAO::Transport::Current_Impl::~Current_Impl ( )
protectedvirtual

dtor

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

◆ Current_Impl() [2/2]

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

Member Function Documentation

◆ bytes_received()

CounterT TAO::Transport::Current_Impl::bytes_received ( )
virtual

◆ bytes_sent()

CounterT TAO::Transport::Current_Impl::bytes_sent ( )
virtual

◆ id()

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

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

Reimplemented in TAO::Transport::IIOP_Current_Impl.

◆ messages_received()

CounterT TAO::Transport::Current_Impl::messages_received ( )
virtual

◆ messages_sent()

CounterT TAO::Transport::Current_Impl::messages_sent ( )
virtual

◆ open_since()

TimeBase::TimeT TAO::Transport::Current_Impl::open_since ( )

◆ operator=()

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

◆ transport()

const TAO_Transport * TAO::Transport::Current_Impl::transport ( ) const
protected

A (strategy) method used to obtain the transport ptr.

Some helper methods

Obtains the current transport. Throws a NoContext exception if, there was no "current" transport selected on the current thread.

◆ transport_stats()

const TAO::Transport::Stats * TAO::Transport::Current_Impl::transport_stats ( ) const
protected

Obtains the current transport's stats.

A Stats instance. If protocol is unavailable (0) or the TAO_HAS_TRANSPORT_CURRENT macro is defined as anything but 1, a single static instance will be used.

Member Data Documentation

◆ core_

TAO_ORB_Core* TAO::Transport::Current_Impl::core_
private

◆ tss_slot_id_

size_t TAO::Transport::Current_Impl::tss_slot_id_
private

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