- 01 Apr, 2009 8 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@310 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Note: there are 3 unimplemented tests (raising NotImplementedError). test_StopOperation: looks unimplemented in current code (no action besides logging). test_knownMasterNotifyNodeInformation & test_unknownMasterNotifyNodeInformation: it is yet unsure on how to test those cases. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@309 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@308 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Remove all "isinstance(conn, MTClientConnection)" tests from client handler to make it unit-test-friendly: Client node does not have any listening socket, so there cannot be any (MT)ServerConnection instance used to reach handler. Also, Multi-Thread safety is not a runtime but a static criterion (ie, it is most likely a bug to use non-multi-thread-safe Connection subclasses in client). So this test is an always-true check, and can be removed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@307 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@306 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Change "if" into "elif": it is obviously wrong to call app.master_conn.getUUID() on None, so this test should only be executed in "not None" case. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@305 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@304 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Replace isinstance(node, ...Node) by node.getNodeType() == ..._NODE_TYPE (and similar). This makes things easier to unit test. Add missing imports. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@303 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 31 Mar, 2009 3 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@302 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@301 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@300 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 27 Mar, 2009 3 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@299 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@298 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
rows are the same rows thanks to implicit pointer git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@297 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 26 Mar, 2009 8 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@296 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@295 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@294 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@293 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@292 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
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 7 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
-