QoS_Manager.cpp

Go to the documentation of this file.
00001 // QoS_Manager.cpp
00002 // $Id: QoS_Manager.cpp 80826 2008-03-04 14:51:23Z wotte $
00003 
00004 #include "QoS_Manager.h"
00005 #include "ace/Log_Msg.h"
00006 
00007 ACE_RCSID(ace, QoS_Manager, "$Id: QoS_Manager.cpp 80826 2008-03-04 14:51:23Z wotte $")
00008 
00009 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00010 
00011 ACE_ALLOC_HOOK_DEFINE(ACE_QOS_MANAGER)
00012 
00013 ACE_QoS_Manager::ACE_QoS_Manager (void)
00014 {}
00015 
00016 ACE_QoS_Manager::~ACE_QoS_Manager (void)
00017 {}
00018 
00019 // Adds the given session to the list of session objects joined by
00020 // this socket.
00021 
00022 int
00023 ACE_QoS_Manager::join_qos_session (ACE_QoS_Session *qos_session)
00024 {
00025   if (this->qos_session_set ().insert (qos_session) != 0)
00026     ACE_ERROR_RETURN ((LM_ERROR,
00027                        ACE_TEXT ("Error in adding a new session to the ")
00028                        ACE_TEXT ("socket session set\n")),
00029                       -1);
00030   return 0;
00031 }
00032 
00033 // Returns the QoS session set for this socket.
00034 
00035 ACE_Unbounded_Set <ACE_QoS_Session *>
00036 ACE_QoS_Manager::qos_session_set (void)
00037 {
00038   return this->qos_session_set_;
00039 }
00040 
00041 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:36:39 2010 for ACE_QoS by  doxygen 1.4.7