- 26 Mar, 2009 3 commits
-
-
Aurel authored
fix class name git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@291 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@290 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Revert commit 254: super(MTClientConnection, self).__init__ sends self to event_manager, which registers it to epoll, and epoll_wait is pending in another thread. So this lock is really needed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@289 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 25 Mar, 2009 11 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@288 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@287 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@286 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@285 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@284 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@283 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@282 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Allow providing non-basestring values as connector parameter, which are then passedthrough as replacements for Connector classes. This is usefull to modify Connector class behaviour in tests. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@281 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@280 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@279 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Move conector handler retrieval code from Storage.py to app.py, to make it consistent with other nodes. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@278 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 Mar, 2009 18 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@277 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@276 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@275 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Remove the need to use a global queue for unexpected messages. They will be handled in the Dispatcher thread directly, to prevent them from piling up until a client enters app._waitMessage . git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@274 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Fix handler, 3rd try: do not call EventHandler.packetReceived since it will call self.dispatch instead of going through Dispatcher instance. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@273 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
On the contrary of what is advertised by python manual, acquire doesn't accept any keyword argument... git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@272 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Revert commit r264 and apply a modified version with same intent: "dispatch" method is used as an entry point to ClientEventHandler class, which is called by the thread the packet was dispatched to. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@271 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@270 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Make ClientEventHandler.dispatch call a method on Dispatcher class to avoid accessing instance properties from a foreign class. Make dispatch thread-safe by accessing message_table atomicaly. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@269 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Make Dispatcher.registered locally compute key value from connection, so that it is easier to change the way key is computed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@268 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@267 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Use a (non-blocking) lock to prevent two simultaneous reconnection attemps to master instead of a simple variable. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@266 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@265 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Overload dispatch instead of packetReceived, to preserve packet logging provided by EventHandler class. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@264 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@263 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@262 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@261 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@260 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 23 Mar, 2009 7 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@259 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@258 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@257 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@256 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@255 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@254 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@253 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 19 Mar, 2009 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@252 71dcc9de-d417-0410-9af5-da40c76e7ee4
-