2 #include "QoS_Manager.h"
3 #include "ace/Log_Category.h"
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 ACE_ALLOC_HOOK_DEFINE(ACE_QOS_MANAGER
)
9 ACE_QoS_Manager::ACE_QoS_Manager ()
12 ACE_QoS_Manager::~ACE_QoS_Manager ()
15 // Adds the given session to the list of session objects joined by
19 ACE_QoS_Manager::join_qos_session (ACE_QoS_Session
*qos_session
)
21 if (this->qos_session_set ().insert (qos_session
) != 0)
22 ACELIB_ERROR_RETURN ((LM_ERROR
,
23 ACE_TEXT ("Error in adding a new session to the ")
24 ACE_TEXT ("socket session set\n")),
29 // Returns the QoS session set for this socket.
31 ACE_Unbounded_Set
<ACE_QoS_Session
*>
32 ACE_QoS_Manager::qos_session_set ()
34 return this->qos_session_set_
;
37 ACE_END_VERSIONED_NAMESPACE_DECL