blob: 17c87602d0af21fe8317c7d348e9de91300d18f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/**
* @file TC_IIOP.idl
*
* @brief Defines the TAO::Transport::IIOP::Current interface
*
* $Id:$
*
* @author Iliyan Jeliazkov <iliyan@ociweb.com>
*/
#ifndef TAO_TRANSPORT_IIOP_CURRENT_IDL
#define TAO_TRANSPORT_IIOP_CURRENT_IDL
#include "TC.idl"
/// Provide a forward reference for the SSLIOP::Current
module SSLIOP
{
interface Current;
};
module TAO
{
module Transport
{
module IIOP
{
// The primary interface, providing access to IIOP-specific
// transport information, if it is indeed an IIOP (-like) transport
// that has been selected.
local interface Current : TAO::Transport::Current
{
/// Remote host
readonly attribute string remote_host raises (NoContext);
/// Remote port Using long (signed) type to better accomodate
/// the Java mapping, which has no support for unsigned values
readonly attribute long remote_port raises (NoContext);
/// Local host
readonly attribute string local_host raises (NoContext);
/// Local port
readonly attribute long local_port raises (NoContext);
/// If this is a "secure" transport, this method will give you
/// the corresponding SSLIOP::Current
readonly attribute ::SSLIOP::Current ssliop_current raises (NoContext);
};
};
};
};
#endif /* TAO_TRANSPORT_IIOP_CURRENT_IDL */
|