syncsys
Public Member Functions | Public Attributes

syncsys::MemExServerClient Class Reference

specialised version of netlib::BasicServerClient for the sync system. More...

#include <Sync_network.h>

Inheritance diagram for syncsys::MemExServerClient:
netlib::BasicServerClient syncsys::SyncServerClient netlib::Clientclass netlib::Network

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file: