#include <messageidmanager_p.h>
The MessageIdManager class provides a static lookup table that is used to identify replies to JSON-RPC requests.
- Author
- David C. Lonie
static MessageIdType registerMethod |
( |
const QString & |
method | ) |
|
|
static |
registerMethod Request a new message id that is assocated with method. The new id and method will be registered in the lookup table.
- Returns
- The assigned message id.
static QString lookupMethod |
( |
const MessageIdType & |
id | ) |
|
|
static |
lookupMethod Determine the method assocated with the id.
- Note
- This removes the id from the internal lookup table.
- Returns
- The method assocated with the given id.
The documentation for this class was generated from the following file: