|
TreeFrogFramework 2.10
|
Searching...
No Matches
TWebSocketSession Class Reference
#include <twebsocketsession.h>
Inheritance diagram for TWebSocketSession:

Collaboration diagram for TWebSocketSession:

Public Member Functions | |
| TWebSocketSession () | |
| TWebSocketSession (const TWebSocketSession &) | |
| const QVariant | value (const QString &key, const QVariant &defaultValue) const |
Detailed Description
The TWebSocketSession class holds information associated with individual visitors for WebSocket connection.
This class inherits QVariantMap class.
Constructor & Destructor Documentation
◆ TWebSocketSession() [1/2]
|
inline |
Constructor.
◆ TWebSocketSession() [2/2]
|
inline |
Copy constructor.
Member Function Documentation
◆ insert()
|
inline |
Inserts a new item with the key and a value of value.
If there is already an item with the key, that item's value is replaced with value.
◆ operator=()
|
inline |
◆ reset()
|
inline |
Resets the session.
◆ unite()
| TWebSocketSession & TWebSocketSession::unite | ( | const TSession & | session | ) |
Inserts all the items in the other session into this session.
If a key is common to both sessions, its value will be replaced with the value stored in session.
◆ value() [1/2]
|
inline |
Returns the value associated with the key.
◆ value() [2/2]
|
inline |
This is an overloaded function.
If the session contains no item with the given key, the function returns defaultValue.
The documentation for this class was generated from the following files: