Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2005, 5:49:48 PM (18 years ago)
Author:
patrick
Message:

network: changed the synchronizeable interface, since the data synchronizeables, more debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_stream.h

    r5798 r5804  
    2020  NetworkStream();
    2121  NetworkStream(IPaddress& address, Synchronizeable& sync, NodeType type);
    22   NetworkStream(Synchronizeable& sync, int port, NodeType type);
    23  
     22  NetworkStream(Synchronizeable& sync, unsigned int port, NodeType type);
     23
    2424  ~NetworkStream();
    25    
     25
    2626  void init();
    27  
     27
    2828  inline bool isServer() { return (this->type == NET_SERVER)? true:false; }
    2929  virtual void processData();
     
    3131private:
    3232   NetworkProtocol* networkProtocol;
    33    //NetworkSocket*       networkSockets;
     33   //NetworkSocket*       networkSockets;
    3434   ConnectionMonitor*      connectionMonitor;
    3535   // tList<Synchronizeable>* synchronizeables;
    36    Synchronizeable*         synchronizeables;
     36   Synchronizeable*         synchronizeables;
    3737   NetworkSocket* networkSocket;
    3838   int                    type;
Note: See TracChangeset for help on using the changeset viewer.