diff options
Diffstat (limited to 'ace/QoS/QoS_Session.h')
-rw-r--r-- | ace/QoS/QoS_Session.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ace/QoS/QoS_Session.h b/ace/QoS/QoS_Session.h index f67a9f52416..b1919d9e71e 100644 --- a/ace/QoS/QoS_Session.h +++ b/ace/QoS/QoS_Session.h @@ -133,6 +133,13 @@ public: /// Set the source port for this session. virtual void source_port (const u_short &source_port) = 0; + //Set the source host + virtual ACE_INET_Addr* source_addr (void) const = 0; + + /// Set the source port for this session. + virtual void source_addr (ACE_INET_Addr* source_addr) = 0; + + /** * Returns the version of the underlying RSVP implementation. Is * meaningful only when the underlying implementation has @@ -151,6 +158,9 @@ protected: /// Destination address for this session. ACE_INET_Addr dest_addr_; + /// Source address for this session. + ACE_INET_Addr* src_addr_; + /// Is this a TCP or a UDP session. ACE_Protocol_ID protocol_id_; |