i6engine  1.0
i6e::modules::NetworkMailbox Class Reference

Extracts the contents of incoming messages on the "Network" channel and calls the corresponding methods. More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/modules/network/NetworkMailbox.h>

Protected Member Functions

 NetworkMailbox ()
 constructor More...
 
 ~NetworkMailbox ()
 destructor More...
 
void News (const api::GameMessage::Ptr &msg) const
 See Class-Description. More...
 
void NetworkNews (const api::GameMessage::Ptr &msg) const
 processes messages received over the network More...
 
void setManager (NetworkManager *manager)
 setter for the manager More...
 

Friends

class NetworkController
 
class NetworkManager
 

Detailed Description

Extracts the contents of incoming messages on the "Network" channel and calls the corresponding methods.

Please consult the messaging documentation found in the "Related Pages" on top of this page for in-depth usage details.

Definition at line 43 of file NetworkMailbox.h.

Constructor & Destructor Documentation

i6e::modules::NetworkMailbox::NetworkMailbox ( )
protected

constructor

i6e::modules::NetworkMailbox::~NetworkMailbox ( )
protected

destructor

Member Function Documentation

void i6e::modules::NetworkMailbox::NetworkNews ( const api::GameMessage::Ptr msg) const
protected

processes messages received over the network

void i6e::modules::NetworkMailbox::News ( const api::GameMessage::Ptr msg) const
protected

See Class-Description.

Parameters
objMessageAny message on the channel
void i6e::modules::NetworkMailbox::setManager ( NetworkManager manager)
inlineprotected

setter for the manager

Definition at line 72 of file NetworkMailbox.h.

Friends And Related Function Documentation

friend class NetworkController
friend

Definition at line 44 of file NetworkMailbox.h.

friend class NetworkManager
friend

Definition at line 45 of file NetworkMailbox.h.


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