Changeset 9284 in orxonox.OLD for branches/proxy/src/lib/network/network_stream.h
- Timestamp:
- Jul 14, 2006, 10:32:02 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.h
r9282 r9284 60 60 inline bool isUserClient( int userID ){ if ( !isUserIdActive(userID) ) return false; return peers[userID].isClient(); } 61 61 62 /* peering interface */ 63 inline PeerInfo & getPeerInfo( int userId ) { return peers[userId]; } 64 inline PeerInfo* getPeerInfo() { return this->pInfo; } 65 inline PeerList getPeerInfoList() { return this->peers; } 62 66 67 /* data processing*/ 63 68 virtual void processData(); 64 69 70 /* debugging */ 65 71 void debug(); 66 72 … … 70 76 inline SynchronizeableList::const_iterator getSyncBegin(){ return synchronizeables.begin(); } 71 77 inline SynchronizeableList::const_iterator getSyncEnd(){ return synchronizeables.end(); } 72 inline PeerInfo & getPeerInfo( int userId ) { return peers[userId]; }73 78 void cleanUpOldSyncList(); 74 79 int getSyncCount(); … … 88 93 PeerList peers; //!< list of the network node informations 89 94 95 PeerInfo* pInfo; //!< the info about the local peer node (not in the PeerList) 90 96 int nodeType; //!< the type of this host (NET_CLIENT, NET_MASTER_SERVER,...) 91 97 int myHostId; //!< the host id of the localhost
Note: See TracChangeset
for help on using the changeset viewer.