- Timestamp:
- Feb 13, 2011, 9:34:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network6/src/libraries/network/Connection.h
r7825 r7878 118 118 119 119 void processQueue(); 120 void waitOutgoingQueue(); // wait for the outgoing queue to become empty (everything processed by communication thread) 120 121 virtual void addPeer(uint32_t peerID)=0; 121 122 virtual void removePeer(uint32_t peerID)=0; … … 128 129 void processIncomingEvent(ENetEvent& event); 129 130 void processOutgoingEvent(outgoingEvent& event); 131 132 void disconnectPeersInternal(); 130 133 131 134 ENetHost* host_; … … 140 143 boost::mutex* incomingEventsMutex_; 141 144 boost::mutex* outgoingEventsMutex_; 145 boost::mutex* overallMutex_; 142 146 std::map<uint32_t, ENetPeer*> peerMap_; 143 147 std::map<ENetPeer*, uint32_t> peerIDMap_; 144 148 uint32_t nextPeerID_; 145 146 // static Connection *instance_;147 149 148 150 };
Note: See TracChangeset
for help on using the changeset viewer.