Changeset 61 for remote_control/puzzlebox_brainstorms_server_thinkgear.py
- Timestamp:
- 06/22/10 13:59:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
remote_control/puzzlebox_brainstorms_server_thinkgear.py
r60 r61 234 234 # Special socket handling for Flash applications 235 235 if (data == FLASH_POLICY_FILE_REQUEST): 236 self.packet_queue. append(FLASH_SOCKET_POLICY_FILE)236 self.packet_queue.insert(0, FLASH_SOCKET_POLICY_FILE) 237 237 238 238 elif (type(data) == type({}) and \ … … 244 244 response['isAuthorized'] = authorized 245 245 246 self.packet_queue. append(response)246 self.packet_queue.insert(0, response) 247 247 248 248 else: … … 273 273 self.looping_timer.stop() 274 274 275 276 ################################################################## 277 278 ## def get_next_packet(self) 279 ## 280 ## for packet in self.packet_queue: 281 ## 282 ## try: 283 ## 284 ## if packet.has_key('isAuthorized'): 275 285 276 286 ################################################################## … … 390 400 packet = self.factory.packet_queue[0] 391 401 del self.factory.packet_queue[0] 402 ## packet = self.factory.packet_queue.pop() 392 403 393 404 # Special socket handling for Flash applications
Note: See TracChangeset
for help on using the changeset viewer.