#include <FullyConnectedMesh.h>
Inherits PluginInterface2.
Public Member Functions | |
FullyConnectedMesh () | |
virtual | ~FullyConnectedMesh () |
void | Startup (const char *password, int _passwordLength) |
Set the password to use to connect to the other systems. | |
virtual PluginReceiveResult | OnReceive (Packet *packet) |
Protected Attributes | |
char * | pw |
int | passwordLength |
SystemAddress | facilitator |
Fully connected mesh plugin. This will connect RakPeer to all connecting peers, and all peers the connecting peer knows about.
Definition at line 27 of file FullyConnectedMesh.h.
FullyConnectedMesh::FullyConnectedMesh | ( | ) |
Definition at line 22 of file FullyConnectedMesh.cpp.
FullyConnectedMesh::~FullyConnectedMesh | ( | ) | [virtual] |
Definition at line 27 of file FullyConnectedMesh.cpp.
PluginReceiveResult FullyConnectedMesh::OnReceive | ( | Packet * | packet | ) | [virtual] |
OnReceive is called for every packet.
[in] | packet | the packet that is being returned to the user |
Reimplemented from PluginInterface2.
Definition at line 48 of file FullyConnectedMesh.cpp.
void FullyConnectedMesh::Startup | ( | const char * | password, | |
int | _passwordLength | |||
) |
Set the password to use to connect to the other systems.
Definition at line 33 of file FullyConnectedMesh.cpp.
SystemAddress FullyConnectedMesh::facilitator [protected] |
Definition at line 49 of file FullyConnectedMesh.h.
int FullyConnectedMesh::passwordLength [protected] |
Definition at line 47 of file FullyConnectedMesh.h.
char* FullyConnectedMesh::pw [protected] |
Definition at line 46 of file FullyConnectedMesh.h.