AutopatcherServer Class Reference
The server plugin for the autopatcher. Must be running for the client to get patches.
More...
#include <AutopatcherServer.h>
List of all members.
Detailed Description
The server plugin for the autopatcher. Must be running for the client to get patches.
Member Function Documentation
virtual void AutopatcherServer::OnAttach |
( |
void |
|
) |
[virtual] |
Called when the interface is attached
- Parameters:
-
[in] | peer | the instance of RakPeer that is calling Receive |
Reimplemented from PluginInterface2.
Called when a connection is dropped because the user called RakPeer::CloseConnection() for a particular system
- Parameters:
-
[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.
virtual void AutopatcherServer::OnDetach |
( |
void |
|
) |
[virtual] |
Called when the interface is detached
- Parameters:
-
[in] | peer | the instance of RakPeer that is calling Receive |
Reimplemented from PluginInterface2.
OnReceive is called for every packet.
- Parameters:
-
[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 PluginInterface2.
This class only does the network transfers for the autopatcher. All the data is stored in a repository. Pass the interface to your repository with this function. RakNet comes with AutopatcherPostgreRepository if you wish to use that.
- Parameters:
-
[in] | ari | An implementation of the interface for the autopatcher repository. |
This plugin has a dependency on the FileListTransfer plugin, which it uses to actually send the files. So you need an instance of that plugin registered with RakPeerInterface, and a pointer to that interface should be passed here.
- Parameters:
-
void AutopatcherServer::SetUploadSendParameters |
( |
PacketPriority |
_priority, |
|
|
char |
_orderingChannel | |
|
) |
| | |
The documentation for this class was generated from the following file: