#include <FullyConnectedMesh.h>

Public Member Functions | |
| void | Startup (const char *password, int _passwordLength) |
| Set the password to use to connect to the other systems. | |
| void | ConnectWithNatPunchthrough (NatPunchthrough *np, SystemAddress _facilitator) |
| virtual void | OnShutdown (RakPeerInterface *peer) |
| virtual void | Update (RakPeerInterface *peer) |
| virtual PluginReceiveResult | OnReceive (RakPeerInterface *peer, Packet *packet) |
| void FullyConnectedMesh::ConnectWithNatPunchthrough | ( | NatPunchthrough * | np, | |
| SystemAddress | _facilitator | |||
| ) |
Use the NAT punchthrough system to connect rather than calling directly
| [in] | np | Pointer to an attached instance of the NatPunchthrough plugin |
| [in] | _facilitator | Address of the NAT punchthrough facilitator |
| PluginReceiveResult FullyConnectedMesh::OnReceive | ( | RakPeerInterface * | peer, | |
| Packet * | packet | |||
| ) | [virtual] |
OnReceive is called for every packet.
| [in] | peer | the instance of RakPeer that is calling Receive |
| [in] | packet | the packet that is being returned to the user |
Reimplemented from PluginInterface.
| void FullyConnectedMesh::OnShutdown | ( | RakPeerInterface * | peer | ) | [virtual] |
Called when RakPeer is shutdown
| [in] | peer | the instance of RakPeer that is calling Receive |
Reimplemented from PluginInterface.
| void FullyConnectedMesh::Update | ( | RakPeerInterface * | peer | ) | [virtual] |
Update is called every time a packet is checked for .
| [in] | peer | - the instance of RakPeer that is calling Receive |
Reimplemented from PluginInterface.
1.5.7.1