Changeset 6658 in orxonox.OLD for branches/network/src/lib/network/network_stream.h
- Timestamp:
- Jan 23, 2006, 2:43:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.h
r6634 r6658 57 57 inline bool isUserIdActive( int userID ) { if (userID>=networkSockets.size()) return false; else return networkSockets[userID]!=NULL; } 58 58 59 void debug(); 60 61 59 62 private: 60 NetworkProtocol* networkProtocol; 61 ConnectionMonitor* connectionMonitor; 62 SynchronizeableList synchronizeables; 63 NetworkSocketVector networkSockets; 64 HandshakeVector handshakes; 65 ServerSocket* serverSocket; 66 int type; 67 Header packetHeader; 68 bool bActive; 69 std::list<int> freeSocketSlots; 63 void updateConnectionList(); 70 64 71 int myHostId;72 int maxConnections;73 65 74 NetworkGameManager* networkGameManager; 66 private: 67 NetworkProtocol* networkProtocol; 68 ConnectionMonitor* connectionMonitor; 69 SynchronizeableList synchronizeables; 70 NetworkSocketVector networkSockets; 71 HandshakeVector handshakes; 72 ServerSocket* serverSocket; 73 int type; 74 Header packetHeader; 75 bool bActive; 76 std::list<int> freeSocketSlots; 75 77 76 void updateConnectionList(); 78 int myHostId; 79 int maxConnections; 80 81 NetworkGameManager* networkGameManager; 77 82 }; 78 83 #endif /* _NETWORK_STREAM */
Note: See TracChangeset
for help on using the changeset viewer.