GSToGroup is a utility class for deriving the group name for a group session service based on the provided gsid or protocol and/or partition id. More...
#include <protocol.h>
Public Member Functions | |
GSToGroup () | |
const string & | gs_protocol_group (const wisp_message_protocol protocol) |
const string & | gs_protocol_partition_group (const wisp_message_protocol protocol, const unsigned int partition_id) |
const string & | gsid_protocol_group (const gsid_type gsid) |
Detailed Description
GSToGroup is a utility class for deriving the group name for a group session service based on the provided gsid or protocol and/or partition id.
It is more efficient than using the free functions because it hangs on to a ToString instance and a std::string instance instead of creating new ones on each call.
Definition at line 511 of file group_session/protocol.h.
Constructor & Destructor Documentation
GSToGroup::GSToGroup | ( | ) | [inline] |
Definition at line 518 of file group_session/protocol.h.
Member Function Documentation
const string& GSToGroup::gs_protocol_group | ( | const wisp_message_protocol | protocol | ) | [inline] |
Definition at line 524 of file group_session/protocol.h.
Referenced by gs_protocol_group(), and gsid_protocol_group().
const string& GSToGroup::gs_protocol_partition_group | ( | const wisp_message_protocol | protocol, |
const unsigned int | partition_id | ||
) | [inline] |
Definition at line 530 of file group_session/protocol.h.
Referenced by gs_protocol_partition_group().
const string& GSToGroup::gsid_protocol_group | ( | const gsid_type | gsid | ) | [inline] |
Definition at line 541 of file group_session/protocol.h.
References gs_protocol_group(), and gsid_to_protocol().
Referenced by gsid_protocol_group().
The documentation for this class was generated from the following file: