Planeshift
Public Member Functions

iNetSubscriber Struct Reference

This interface must be implemented by objects that want to receive network messages. More...

#include <subscriber.h>

List of all members.

Public Member Functions

virtual void HandleMessage (MsgEntry *msg, Client *client)=0
 Interprets a received message and executes the command.
virtual bool Verify (MsgEntry *msg, unsigned int flags, Client *&client)=0

Detailed Description

This interface must be implemented by objects that want to receive network messages.

Objects must call a provider's Subscribe function to sign up for the msg types they want.

Definition at line 37 of file subscriber.h.


Member Function Documentation

virtual void iNetSubscriber::HandleMessage ( MsgEntry msg,
Client client 
) [pure virtual]
virtual bool iNetSubscriber::Verify ( MsgEntry msg,
unsigned int  flags,
Client *&  client 
) [pure virtual]

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