summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2000-03-16 23:10:15 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2000-03-16 23:10:15 +0000
commit0a65e0328ec9f2086c7d0903008c357ce201ede2 (patch)
tree48bfe1bf994ba23949f8215b958b24ad5d060ff7 /ace
parent95a0aeff34edce10ec2d7cceece0e108e945b824 (diff)
downloadATCD-0a65e0328ec9f2086c7d0903008c357ce201ede2.tar.gz
ChangeLogTag:Thu Mar 16 11:51:49 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace')
-rw-r--r--ace/SOCK.cpp6
-rw-r--r--ace/SOCK.h7
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)