OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 virtual void SetEnabledEvents(uint8_t events); | 196 virtual void SetEnabledEvents(uint8_t events); |
197 virtual void EnableEvents(uint8_t events); | 197 virtual void EnableEvents(uint8_t events); |
198 virtual void DisableEvents(uint8_t events); | 198 virtual void DisableEvents(uint8_t events); |
199 | 199 |
200 static int TranslateOption(Option opt, int* slevel, int* sopt); | 200 static int TranslateOption(Option opt, int* slevel, int* sopt); |
201 | 201 |
202 PhysicalSocketServer* ss_; | 202 PhysicalSocketServer* ss_; |
203 SOCKET s_; | 203 SOCKET s_; |
204 bool udp_; | 204 bool udp_; |
205 CriticalSection crit_; | 205 CriticalSection crit_; |
206 int error_ GUARDED_BY(crit_); | 206 int error_ RTC_GUARDED_BY(crit_); |
207 ConnState state_; | 207 ConnState state_; |
208 AsyncResolver* resolver_; | 208 AsyncResolver* resolver_; |
209 | 209 |
210 #if !defined(NDEBUG) | 210 #if !defined(NDEBUG) |
211 std::string dbg_addr_; | 211 std::string dbg_addr_; |
212 #endif | 212 #endif |
213 | 213 |
214 private: | 214 private: |
215 uint8_t enabled_events_ = 0; | 215 uint8_t enabled_events_ = 0; |
216 }; | 216 }; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 #if defined(WEBRTC_USE_EPOLL) | 261 #if defined(WEBRTC_USE_EPOLL) |
262 void MaybeUpdateDispatcher(uint8_t old_events); | 262 void MaybeUpdateDispatcher(uint8_t old_events); |
263 | 263 |
264 int saved_enabled_events_ = -1; | 264 int saved_enabled_events_ = -1; |
265 #endif | 265 #endif |
266 }; | 266 }; |
267 | 267 |
268 } // namespace rtc | 268 } // namespace rtc |
269 | 269 |
270 #endif // WEBRTC_RTC_BASE_PHYSICALSOCKETSERVER_H_ | 270 #endif // WEBRTC_RTC_BASE_PHYSICALSOCKETSERVER_H_ |
OLD | NEW |