![]() |
TrinityCore
|
#include <ServiceDispatcher.h>
Public Member Functions | |
| void | Dispatch (Session *session, uint32 serviceHash, uint32 token, uint32 methodId, MessageBuffer buffer) |
Static Public Member Functions | |
| static ServiceDispatcher & | Instance () |
Private Types | |
| typedef void(* | ServiceMethod) (Session *, uint32, uint32, MessageBuffer) |
Private Member Functions | |
| ServiceDispatcher () | |
| template<class Service > | |
| void | AddService () |
Static Private Member Functions | |
| template<class Service > | |
| static void | Dispatch (Session *session, uint32 token, uint32 methodId, MessageBuffer buffer) |
Private Attributes | |
| std::unordered_map< uint32, ServiceMethod > | _dispatchers |
Definition at line 28 of file ServiceDispatcher.h.
|
private |
Definition at line 50 of file ServiceDispatcher.h.
|
private |
Definition at line 38 of file ServiceDispatcher.cpp.
|
inlineprivate |
Definition at line 39 of file ServiceDispatcher.h.
| void Battlenet::ServiceDispatcher::Dispatch | ( | Session * | session, |
| uint32 | serviceHash, | ||
| uint32 | token, | ||
| uint32 | methodId, | ||
| MessageBuffer | buffer | ||
| ) |
|
inlinestaticprivate |
Definition at line 45 of file ServiceDispatcher.h.
|
static |
Definition at line 66 of file ServiceDispatcher.cpp.
|
private |
Definition at line 51 of file ServiceDispatcher.h.