RSB
0.7.0
|
#include <SpreadGroup.h>
Public Member Functions | |
SpreadGroup (const std::string &n) | |
virtual | ~SpreadGroup () |
std::string | getName () const |
virtual void | join (SpreadConnectionPtr con) |
Joins it's group on the given connection. | |
virtual void | leave (SpreadConnectionPtr con) |
Leaves it's group on the given connection. |
Private Member Functions | |
void | handleRetCode (const int &code, const std::string &actionName) |
Private Attributes | |
std::string | name |
rsc::logging::LoggerPtr | logger |
SpreadConnectionPtr | con |
Definition at line 43 of file SpreadGroup.h.
rsb::spread::SpreadGroup::SpreadGroup | ( | const std::string & | n | ) |
Definition at line 43 of file SpreadGroup.cpp.
References logger.
|
virtual |
Definition at line 48 of file SpreadGroup.cpp.
string rsb::spread::SpreadGroup::getName | ( | ) | const |
Definition at line 52 of file SpreadGroup.cpp.
References name.
|
private |
|
virtual |
Joins it's group on the given connection.
con | the connection to join on |
CommException | spread error joining |
Definition at line 56 of file SpreadGroup.cpp.
References handleRetCode(), and name.
|
virtual |
Leaves it's group on the given connection.
con | the connection to leave on |
CommException | spread error leaving |
Definition at line 67 of file SpreadGroup.cpp.
References handleRetCode(), and name.
|
private |
Definition at line 72 of file SpreadGroup.h.
|
private |
Definition at line 71 of file SpreadGroup.h.
Referenced by handleRetCode(), SpreadGroup(), and ~SpreadGroup().
|
private |
Definition at line 70 of file SpreadGroup.h.
Referenced by getName(), handleRetCode(), join(), leave(), and ~SpreadGroup().