MistServer
2.5.3-Pro-19-gf5e75b1 ( Generic_64)
|
This is a comparison and storage class that keeps sessions apart from each other. More...
#include <controller_statistics.h>
Public Member Functions | |
sessIndex (std::string host, unsigned int crc, std::string streamName, std::string connector) | |
sessIndex (IPC::statExchange &data) | |
Initializes a sessIndex from a statExchange object, converting binary format IP addresses into strings. More... | |
sessIndex () | |
bool | operator!= (const sessIndex &o) const |
bool | operator< (const sessIndex &o) const |
bool | operator<= (const sessIndex &o) const |
bool | operator== (const sessIndex &o) const |
bool | operator> (const sessIndex &o) const |
bool | operator>= (const sessIndex &o) const |
Data Fields | |
std::string | connector |
unsigned int | crc |
std::string | host |
std::string | streamName |
This is a comparison and storage class that keeps sessions apart from each other.
Whenever two of these objects are not equal, it will create a new session.
Controller::sessIndex::sessIndex | ( | std::string | host, |
unsigned int | crc, | ||
std::string | streamName, | ||
std::string | connector | ||
) |
Controller::sessIndex::sessIndex | ( | IPC::statExchange & | data | ) |
Initializes a sessIndex from a statExchange object, converting binary format IP addresses into strings.
This extracts the host, stream name, connector and crc field, ignoring everything else.
Controller::sessIndex::sessIndex | ( | ) |
bool Controller::sessIndex::operator!= | ( | const sessIndex & | o | ) | const |
bool Controller::sessIndex::operator< | ( | const sessIndex & | o | ) | const |
bool Controller::sessIndex::operator<= | ( | const sessIndex & | o | ) | const |
bool Controller::sessIndex::operator== | ( | const sessIndex & | o | ) | const |
bool Controller::sessIndex::operator> | ( | const sessIndex & | o | ) | const |
bool Controller::sessIndex::operator>= | ( | const sessIndex & | o | ) | const |
std::string Controller::sessIndex::connector |
unsigned int Controller::sessIndex::crc |
std::string Controller::sessIndex::host |
std::string Controller::sessIndex::streamName |