diff options
Diffstat (limited to 'ace')
-rw-r--r-- | ace/SOCK.cpp | 6 | ||||
-rw-r--r-- | ace/SOCK.h | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/ace/SOCK.cpp b/ace/SOCK.cpp index 5175876e868..8edfb747169 100644 --- a/ace/SOCK.cpp +++ b/ace/SOCK.cpp @@ -106,13 +106,12 @@ ACE_SOCK::open (int type, return 0; } -// Adds the given session to the list of session objects -// joined by this socket. +// Adds the given session to the list of session objects joined by +// this socket. int ACE_SOCK::join_qos_session (ACE_QoS_Session *qos_session) { - if (this->qos_session_set ().insert (qos_session) != 0) ACE_ERROR_RETURN ((LM_ERROR, "Error in adding a new session to the " @@ -122,6 +121,7 @@ ACE_SOCK::join_qos_session (ACE_QoS_Session *qos_session) } // Returns the QoS session set for this socket. + ACE_Unbounded_Set <ACE_QoS_Session *> ACE_SOCK::qos_session_set (void) { diff --git a/ace/SOCK.h b/ace/SOCK.h index 9ce912d095c..8df2949fcf6 100644 --- a/ace/SOCK.h +++ b/ace/SOCK.h @@ -89,9 +89,9 @@ public: // Wrapper around the QoS-enabled <WSASocket> function. int join_qos_session (ACE_QoS_Session *qos_session); - // Join the given QoS session. A socket can join multiple QoS sessions. - // This call adds the given QoS session to the list of QoS sessions - // that the socket has already joined. + // Join the given QoS session. A socket can join multiple QoS + // sessions. This call adds the given QoS session to the list of + // QoS sessions that the socket has already joined. typedef ACE_Unbounded_Set <ACE_QoS_Session *> ACE_QOS_SESSION_SET; @@ -122,7 +122,6 @@ protected: ACE_QOS_SESSION_SET qos_session_set_; // Set of QoS sessions that this socket has joined. - }; #if !defined (ACE_LACKS_INLINE_FUNCTIONS) |