syncsys
|
specialised version of netlib::BasicServerClient for the sync system. More...
#include <Sync_network.h>
Public Member Functions | |
MemExServerClient (netlib::InitData &info, unsigned short StartUpdateMsg, unsigned int UpdateInterval=10, bool AllowSendBlock=false, bool DisableNagle=true, unsigned short CloseMsg=-1) | |
constructor | |
void | SetCompression (short c=Z_BEST_SPEED) |
Setter for the used compression. | |
virtual void | UpdateClient (void) |
Specialised callback of BasicServerClient. | |
Public Attributes | |
std::vector< bool > | BoolArray |
workaround | |
std::vector< unsigned int > | IDArray |
workaround |
specialised version of netlib::BasicServerClient for the sync system.
Representate a to the server connected client. Stores the changed NetEntities, packs them into a updatepacket and Sends it to the client.
void syncsys::MemExServerClient::SetCompression | ( | short | c = Z_BEST_SPEED | ) | [inline] |
Setter for the used compression.
Sets the used zlib compression. Default: Z_BEST_SPEED.
virtual void syncsys::MemExServerClient::UpdateClient | ( | void | ) | [inline, virtual] |
Specialised callback of BasicServerClient.
Calls PackData of SyncServerClient and send the returned buffer if needed.
Reimplemented from netlib::BasicServerClient.