FullyConnectedMesh Class Reference
[FullyConnectedMesh]

#include <FullyConnectedMesh.h>

Inheritance diagram for FullyConnectedMesh:

PluginInterface List of all members.

Public Member Functions

void Initialize (const char *password)
virtual void OnDisconnect (RakPeerInterface *peer)
virtual void Update (RakPeerInterface *peer)
virtual PluginReceiveResult OnReceive (RakPeerInterface *peer, Packet *packet)

Protected Attributes

char * pw

Detailed Description

Fully connected mesh plugin. This will connect RakPeer to all connecting peers, and all peers the connecting peer knows about.
Precondition:
You must also install the ConnectionGraph plugin. If you want a password, set it there.


Member Function Documentation

void FullyConnectedMesh::OnDisconnect RakPeerInterface peer  )  [virtual]
 

Called when RakPeer is shutdown

Parameters:
[in] peer the instance of RakPeer that is calling Receive

Reimplemented from PluginInterface.

PluginReceiveResult FullyConnectedMesh::OnReceive RakPeerInterface peer,
Packet packet
[virtual]
 

OnReceive is called for every packet.

Parameters:
[in] peer the instance of RakPeer that is calling Receive
[in] packet the packet that is being returned to the user
Returns:
True to allow the game and other plugins to get this message, false to absorb it

Reimplemented from PluginInterface.

void FullyConnectedMesh::Update RakPeerInterface peer  )  [virtual]
 

Update is called every time a packet is checked for .

Parameters:
[in] peer - the instance of RakPeer that is calling Receive

Reimplemented from PluginInterface.


The documentation for this class was generated from the following files:
Generated on Sat Oct 14 08:37:38 2006 for RakNet by  doxygen 1.4.6-NO