#include <FullyConnectedMesh2.h>

Public Member Functions | |
| RakNetGUID | GetConnectedHost (void) const |
| RakNetGUID | GetHostSystem (void) const |
| virtual void | Update (void) |
| Update is called every time a packet is checked for . | |
| virtual PluginReceiveResult | OnReceive (Packet *packet) |
| virtual void | OnStartup (void) |
| Called when RakPeer is initialized. | |
| virtual void | OnAttach (void) |
| virtual void | OnShutdown (void) |
| Called when RakPeer is shutdown. | |
| virtual void | OnClosedConnection (SystemAddress systemAddress, RakNetGUID rakNetGUID, PI2_LostConnectionReason lostConnectionReason) |
| virtual void | OnNewConnection (SystemAddress systemAddress, RakNetGUID rakNetGUID, bool isIncoming) |
| RakNetGUID FullyConnectedMesh2::GetConnectedHost | ( | void | ) | const |
| RakNetGUID FullyConnectedMesh2::GetHostSystem | ( | void | ) | const |
| void FullyConnectedMesh2::OnAttach | ( | void | ) | [virtual] |
Called when the interface is attached
| [in] | peer | the instance of RakPeer that is calling Receive |
Reimplemented from PluginInterface2.
| void FullyConnectedMesh2::OnClosedConnection | ( | SystemAddress | systemAddress, | |
| RakNetGUID | rakNetGUID, | |||
| PI2_LostConnectionReason | lostConnectionReason | |||
| ) | [virtual] |
Called when a connection is dropped because the user called RakPeer::CloseConnection() for a particular system
| [in] | systemAddress | The system whose connection was closed |
| [in] | rakNetGuid | The guid of the specified system |
| [in] | lostConnectionReason | How the connection was closed: manually, connection lost, or notification of disconnection |
Reimplemented from PluginInterface2.
| void FullyConnectedMesh2::OnNewConnection | ( | SystemAddress | systemAddress, | |
| RakNetGUID | rakNetGUID, | |||
| bool | isIncoming | |||
| ) | [virtual] |
Called when we got a new connection
| [in] | systemAddress | Address of the new connection |
| [in] | rakNetGuid | The guid of the specified system |
| [in] | isIncoming | If true, this is ID_NEW_INCOMING_CONNECTION, or the equivalent |
Reimplemented from PluginInterface2.
| PluginReceiveResult FullyConnectedMesh2::OnReceive | ( | Packet * | packet | ) | [virtual] |
OnReceive is called for every packet.
| [in] | packet | the packet that is being returned to the user |
Reimplemented from PluginInterface2.
1.5.7.1