MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Public Member Functions | Data Fields
Controller::sessIndex Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

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

Field Documentation

std::string Controller::sessIndex::connector
unsigned int Controller::sessIndex::crc
std::string Controller::sessIndex::host
std::string Controller::sessIndex::streamName

The documentation for this class was generated from the following files: