00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef IIOP_CURRENT_IMPL_H
00012 #define IIOP_CURRENT_IMPL_H
00013
00014 #include "ace/pre.h"
00015
00016 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00017 # pragma once
00018 #endif
00019
00020 #if TAO_HAS_TRANSPORT_CURRENT == 1
00021
00022 #include "tao/TransportCurrent/TC_IIOPC.h"
00023 #include "tao/TransportCurrent/Current_Impl.h"
00024
00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00026
00027 class TAO_Transport;
00028 class TAO_IIOP_Connection_Handler;
00029
00030 namespace TAO
00031 {
00032 namespace Transport
00033 {
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 class TAO_Transport_Current_Export IIOP_Current_Impl
00045 : public virtual IIOP::Current
00046 , public virtual Current_Impl
00047 {
00048 public:
00049
00050
00051 IIOP_Current_Impl (TAO_ORB_Core* core, size_t tss_slot_id);
00052
00053
00054 virtual ::CORBA::Long id (void);
00055
00056 virtual ::SSLIOP::Current_ptr ssliop_current (void);
00057
00058 virtual ::CORBA::Long remote_port (void);
00059
00060 virtual char* remote_host (void);
00061
00062 virtual ::CORBA::Long local_port (void);
00063
00064 virtual char* local_host (void);
00065
00066
00067
00068 protected:
00069
00070
00071
00072
00073
00074
00075
00076 virtual ~IIOP_Current_Impl (void);
00077
00078 private:
00079
00080
00081
00082
00083
00084 TAO_IIOP_Connection_Handler* handler (void);
00085
00086 private:
00087
00088
00089
00090
00091 IIOP_Current_Impl (const IIOP_Current_Impl &);
00092 void operator= (const IIOP_Current_Impl &);
00093
00094
00095 };
00096 }
00097
00098 }
00099
00100 TAO_END_VERSIONED_NAMESPACE_DECL
00101
00102 #endif
00103
00104 #include "ace/post.h"
00105
00106 #endif