TAO_TransportCurrent
2.2.2
|
Implementation of the TAO::Transport::IIOPCurrent interface. More...
#include <IIOP_Current_Impl.h>
Public Member Functions | |
IIOP_Current_Impl (TAO_ORB_Core *core, size_t tss_slot_id) | |
Constructor. More... | |
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) |
![]() | |
Current_Impl (TAO_ORB_Core *core, size_t tss_slot_id) | |
Constructor. More... | |
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) |
Protected Member Functions | |
virtual | ~IIOP_Current_Impl (void) |
Destructor. More... | |
![]() | |
virtual | ~Current_Impl (void) |
dtor More... | |
const TAO_Transport * | transport (void) const |
A (strategy) method used to obtain the transport ptr. More... | |
const TAO::Transport::Stats * | transport_stats (void) const |
Obtains the current transport's stats. More... | |
![]() | |
Object (int dummy=0) | |
TAO::Object_Proxy_Broker * | proxy_broker () const |
Private Member Functions | |
TAO_IIOP_Connection_Handler * | handler (void) |
IIOP_Current_Impl (const IIOP_Current_Impl &) | |
void | operator= (const IIOP_Current_Impl &) |
Additional Inherited Members | |
![]() | |
typedef Object_ptr | _ptr_type |
typedef Object_var | _var_type |
typedef Object_out | _out_type |
![]() | |
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 (void) |
static CORBA::Object_ptr | _narrow (CORBA::Object_ptr obj) |
Implementation of the TAO::Transport::IIOPCurrent interface.
IIOP_Current_Impl is useful for obtaining information about the IIOP Transport, associated with the calling thread.
TAO::Transport::IIOP_Current_Impl::IIOP_Current_Impl | ( | TAO_ORB_Core * | core, |
size_t | tss_slot_id | ||
) |
Constructor.
Ctor.
|
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.
|
private |
Prevent copying through the copy constructor and assignment operator.
|
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.
|
virtual |
These are methods exposed by the PortableInterceptor::Current interface.
Reimplemented from TAO::Transport::Current_Impl.
|
virtual |
CORBA::Long TAO::Transport::IIOP_Current_Impl::local_port | ( | void | ) |
|
private |
Prevent copying through the copy constructor and assignment operator.
|
virtual |
CORBA::Long TAO::Transport::IIOP_Current_Impl::remote_port | ( | void | ) |
SSLIOP::Current_ptr TAO::Transport::IIOP_Current_Impl::ssliop_current | ( | void | ) |