TAO_TransportCurrent  2.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | Protected Member Functions | Private Member Functions
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
Collaboration diagram for TAO::Transport::IIOP_Current_Impl:
Collaboration graph

List of all members.

Public Member Functions

 IIOP_Current_Impl (TAO_ORB_Core *core, size_t tss_slot_id)
 Constructor.
virtual ::CORBA::Long id (void)
virtual ::SSLIOP::Current_ptr ssliop_current (void)
virtual ::CORBA::Long remote_port (void)
virtual char * remote_host (void)
virtual ::CORBA::Long local_port (void)
virtual char * local_host (void)
- 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 (void)
virtual CounterT bytes_received (void)
virtual CounterT messages_sent (void)
virtual CounterT messages_received (void)
virtual ::TimeBase::TimeT open_since (void)
- Public Member Functions inherited from CORBA::LocalObject
virtual ~LocalObject (void)
virtual CORBA::Boolean _non_existent (void)
virtual char * _repository_id (void)
virtual CORBA::InterfaceDef_ptr _get_interface (void)
virtual CORBA::Object_ptr _get_component (void)
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)
CORBA::Policy_ptr _get_policy (CORBA::PolicyType type)
CORBA::Policy_ptr _get_cached_policy (TAO_Cached_Policy_Type type)
CORBA::Object_ptr _set_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add)
CORBA::PolicyList * _get_policy_overrides (const CORBA::PolicyTypeSeq &types)
CORBA::Boolean _validate_connection (CORBA::PolicyList_out inconsistent_policies)
virtual CORBA::ULong _hash (CORBA::ULong maximum)
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
virtual CORBA::ORB_ptr _get_orb (void)
virtual TAO::ObjectKey * _key (void)
virtual ~Object (void)
virtual TAO_Abstract_ServantBase_servant (void) const
virtual CORBA::Boolean _is_collocated (void) const
virtual CORBA::Boolean _is_local (void) 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 (void) const
virtual TAO_Stub_stubobj (void)
virtual void _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker)
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
CORBA::Boolean is_evaluated (void) const
TAO_ORB_Coreorb_core (void) const
IOP::IOR * steal_ior (void)
const IOP::IOR & ior (void) const
virtual bool can_convert_to_ior (void) const
virtual char * convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const
void _decr_refcount (void)
virtual void _add_ref (void)
virtual void _remove_ref (void)
virtual CORBA::ULong _refcount_value (void) const
virtual CORBA::Boolean _is_a (const char *logical_type_id)
virtual const char * _interface_repository_id (void) const

Protected Member Functions

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

Private Member Functions

TAO_IIOP_Connection_Handlerhandler (void)
 IIOP_Current_Impl (const IIOP_Current_Impl &)
void operator= (const IIOP_Current_Impl &)

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

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

Constructor.

Ctor.

TAO::Transport::IIOP_Current_Impl::~IIOP_Current_Impl ( void  )
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.

TAO::Transport::IIOP_Current_Impl::IIOP_Current_Impl ( const IIOP_Current_Impl )
private

Prevent copying through the copy constructor and assignment operator.


Member Function Documentation

TAO_IIOP_Connection_Handler * TAO::Transport::IIOP_Current_Impl::handler ( void  )
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.

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

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

Reimplemented from TAO::Transport::Current_Impl.

char * TAO::Transport::IIOP_Current_Impl::local_host ( void  )
virtual
CORBA::Long TAO::Transport::IIOP_Current_Impl::local_port ( void  )
void TAO::Transport::IIOP_Current_Impl::operator= ( const IIOP_Current_Impl )
private

Prevent copying through the copy constructor and assignment operator.

char * TAO::Transport::IIOP_Current_Impl::remote_host ( void  )
virtual
CORBA::Long TAO::Transport::IIOP_Current_Impl::remote_port ( void  )
SSLIOP::Current_ptr TAO::Transport::IIOP_Current_Impl::ssliop_current ( void  )

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