Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 28, 2006, 10:07:15 PM (18 years ago)
Author:
patrick
Message:

integration of the networkmonitor into the shared network data, using the new getPeerByUserId

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/shared_network_data.h

    r9494 r9583  
    1616
    1717class Synchronizeable;
     18class NetworkMonitor;
    1819
    1920
     
    6465    inline void setDefaultSyncStream(NetworkStream* defaultSyncStream) { this->defaultSyncStream = defaultSyncStream; }
    6566
     67    /** @returns the network monitor reference */
     68    inline NetworkMonitor* getNetworkMonitor() { return this->networkMonitor; }
     69    /** @param networkMonitor sets the NetworkMonitor reference */
     70    inline void setNetworkMonitor( NetworkMonitor* networkMonitor) { this->networkMonitor = networkMonitor; }
     71
    6672
    6773  private:
     
    7581    int                             hostID;                  //!< The Host-ID of the Manager
    7682    NetworkStream*                  defaultSyncStream;       //!< default synchronize NetworkStream
     83    NetworkMonitor*                 networkMonitor;          //!< reference to the NetworkMonitor
    7784
    7885    static SharedNetworkData*       singletonRef;            //!< Pointer to the only instance of this Class
Note: See TracChangeset for help on using the changeset viewer.