4 * @brief Defines the TAO::Transport::Current interface
6 * @author Iliyan Jeliazkov <iliyan@ociweb.com>
9 #ifndef TAO_TRANSPORT_CURRENT_IDL
10 #define TAO_TRANSPORT_CURRENT_IDL
12 #include
"tao/IOP.pidl"
13 #include
"tao/TimeBase.pidl"
17 /// A type used to represent counters
18 typedef unsigned long long CounterT
;
22 /// Used to signal that a call was made within improper invocation
23 /// context. Also, this exception is thrown if no Transport has
24 /// been selected for the current thread, for example in a
25 /// collocated invocation.
30 /// The primary interface, providing access to Transport
31 /// information, available to the current thread.
32 local interface Current
34 /// Transport ID, unique within the process.
35 readonly attribute
long id raises
(NoContext
);
37 /// Bytes sent/received through the transport.
38 readonly attribute CounterT bytes_sent raises
(NoContext
);
39 readonly attribute CounterT bytes_received raises
(NoContext
);
41 /// Messages (requests and replies) sent/received using the current
43 readonly attribute CounterT messages_sent raises
(NoContext
);
44 readonly attribute CounterT messages_received raises
(NoContext
);
46 /// The absolute time (miliseconds) since the transport has been
48 readonly attribute TimeBase
::TimeT open_since raises
(NoContext
);
53 #endif
/* TAO_TRANSPORT_CURRENT_IDL */