Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / TransportCurrent / TC_IIOP.idl
blob7fcc0512c33e8bcd9b6c4303a14d5e525273c3ef
1 /**
2 * @file TC_IIOP.idl
4 * @brief Defines the TAO::Transport::IIOP::Current interface
6 * @author Iliyan Jeliazkov <iliyan@ociweb.com>
7 */
9 #ifndef TAO_TRANSPORT_IIOP_CURRENT_IDL
10 #define TAO_TRANSPORT_IIOP_CURRENT_IDL
12 #include "tao/TransportCurrent/TC.idl"
14 /// Provide a forward reference for the SSLIOP::Current
15 module SSLIOP
17 interface Current;
21 module TAO
23 module Transport
25 module IIOP
27 // The primary interface, providing access to IIOP-specific
28 // transport information, if it is indeed an IIOP (-like) transport
29 // that has been selected.
31 local interface Current : TAO::Transport::Current
33 /// Remote host
34 readonly attribute string remote_host raises (NoContext);
36 /// Remote port Using long (signed) type to better accomodate
37 /// the Java mapping, which has no support for unsigned values
38 readonly attribute long remote_port raises (NoContext);
40 /// Local host
41 readonly attribute string local_host raises (NoContext);
43 /// Local port
44 readonly attribute long local_port raises (NoContext);
46 /// If this is a "secure" transport, this method will give you
47 /// the corresponding SSLIOP::Current
48 readonly attribute ::SSLIOP::Current ssliop_current raises (NoContext);
54 #endif /* TAO_TRANSPORT_IIOP_CURRENT_IDL */