Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 21, 2009, 12:27:19 AM (15 years ago)
Author:
scheusso
Message:

rest of the cleanup ( mostly client connection handling)
network is now single-threaded ( only in order to become multithreaded again, but thats another story ;) )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp5/src/network/Client.h

    r3084 r3202  
    6161  *
    6262  */
    63   class _NetworkExport Client : public Host{
     63  class _NetworkExport Client : public Host, public ClientConnection{
    6464  public:
    6565    Client();
    6666    Client(const std::string& address, int port);
    67     Client(const char *address, int port);
    6867    ~Client();
    6968
     
    7473    virtual bool chat(const std::string& message);
    7574    virtual bool broadcast(const std::string& message) { return false; }
    76     //bool sendChat(packet::Chat *chat);
    7775
    7876    void update(const Clock& time);
     
    8280    virtual bool isServer_(){return false;}
    8381
    84     ClientConnection client_connection;
    8582    GamestateClient gamestate;
    86     bool isConnected;
    8783    bool isSynched_;
    8884
Note: See TracChangeset for help on using the changeset viewer.