summaryrefslogtreecommitdiff
path: root/examples/QOS/Fill_ACE_QoS.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/QOS/Fill_ACE_QoS.h')
-rw-r--r--examples/QOS/Fill_ACE_QoS.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/examples/QOS/Fill_ACE_QoS.h b/examples/QOS/Fill_ACE_QoS.h
index 9c48633d47f..3dd92f548e4 100644
--- a/examples/QOS/Fill_ACE_QoS.h
+++ b/examples/QOS/Fill_ACE_QoS.h
@@ -26,10 +26,10 @@
class Fill_ACE_QoS
{
// TITLE
- // This class helps users to add new flow specs and provides
+ // This class helps users to add new flow specs and provides
// utility functions for filling up the flow specs for simplex/duplex
// sessions.
-
+
public:
typedef ACE_Hash_Map_Manager <ACE_CString, ACE_Flow_Spec *, ACE_Null_Mutex> FLOW_SPEC_HASH_MAP;
@@ -44,32 +44,34 @@ public:
const ACE_CString &recv_flow_name);
// To be used by receivers. Fills the receiver qos and sets the
// sender qos to NO_TRAFFIC.
-
+
int fill_simplex_sender_qos (ACE_QoS &ace_qos,
const ACE_CString &send_flow_name);
// To be used by senders. Fills the sender qos and sets the receiver
// qos to NO_TRAFFIC.
-
+
int fill_duplex_qos (ACE_QoS &ace_qos,
const ACE_CString &recv_flow_name,
const ACE_CString &send_flow_name);
// To be used by applications that wish to be both receivers and
// senders.
- FLOW_SPEC_HASH_MAP& map (void);
+ FLOW_SPEC_HASH_MAP map (void);
// Returns the hash map of flowspecs indexed by flowspec name.
-
+
private:
-
- // The Service Provider is currently set to NULL for all ACE_QoS.
+
+ // The Service Provider is currently set to NULL for all ACE_QoS.
static const iovec iov_;
-
+
// A NO_TRAFFIC flow spec. Senders set the receiving qos to this
// while the receivers set the sending qos to this.
ACE_Flow_Spec *default_traffic_;
// A list of flowspecs indexed by the flowspec name.
FLOW_SPEC_HASH_MAP flow_spec_map_;
+
+
};
#endif /* FILL_ACE_QOS_H */