SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | Friends | List of all members
MessageBus Class Referencefinal

The MessageBus class is responsible for forwarding incoming events to correct subscriber's endpoints. More...

#include <MessageBus.h>

Inheritance diagram for MessageBus:
Inheritance graph
Collaboration diagram for MessageBus:
Collaboration graph

Public Member Functions

 MessageBus ()
 
bool ReadConfigAndRestart ()
 
- Public Member Functions inherited from EventProcessor
int open (void *args=nullptr)
 
int handle_timeout (const ACE_Time_Value &current_time, const void *act)
 
virtual bool per_thread_setup ()
 

Static Public Attributes

static constexpr uint32_t ALL_EVENTS = ~0U
 

Friends

class MessageBusEndpoint
 
void postGlobalEvent (SEGSEvent *ev)
 
void shutDownMessageBus ()
 shutDownMessageBus will request that all message bus handling threads terminate More...
 

Detailed Description

The MessageBus class is responsible for forwarding incoming events to correct subscriber's endpoints.

Friends And Related Function Documentation

friend class MessageBusEndpoint
friend
void postGlobalEvent ( SEGSEvent ev)
friend
void shutDownMessageBus ( )
friend

shutDownMessageBus will request that all message bus handling threads terminate

Note
this cannot be called from one of the message bus handling threads.

Member Data Documentation

constexpr uint32_t MessageBus::ALL_EVENTS = ~0U
static

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