Commit graph

26 commits

Author SHA1 Message Date
Alistair Riddoch
4a9c7078f7 Refactor to use LocatedEntity as base class
All IG code should use the interface of LocatedEntity when dealing
with any entity, rather than sometimes requiring Entity. Add virtual
functions to the interface where required, and modify all other interfaces
to stop them using Entity. This makes the code way cleaner, and much better
de-coupled.
2013-01-17 10:17:07 +00:00
Alistair Riddoch
71cbcdcfc1 Modify externalOperation to include Link
The Link reference provided is the object allowing direct communication
back to the external source of the operation. This allows us to handle
things more cleanly in some cases.
2012-12-04 20:39:35 +00:00
Alistair Riddoch
d3bef94345 Make CommSocket fully abstract 2012-11-22 23:19:55 +00:00
Alistair Riddoch
9d0852f47f Move virtual functions out of the headers 2012-11-19 13:42:02 +00:00
Alistair Riddoch
23ebd9d6f5 Add externalOperation to the Router interface 2012-11-19 13:42:02 +00:00
Alistair Riddoch
6d8bb9ccd8 Merge pull request #12 from anthonypesce/salt_shaker
Salt shaker
2012-11-15 15:33:15 -08:00
Alistair Riddoch
6998d59ecd Rename ConnectedRouter to ConnectableRouter
Objects using this base class are all long lived, so while they are
often associated with a connection, they most commonly will outlive
that connection, and be unconnected.
2012-11-13 00:09:05 +00:00
anthonypesce
99ef95e65d Added Shaker.h stub. 2012-10-25 10:40:59 -04:00
Alistair Riddoch
cf4930fbf4 Re-factor test stubs into per-class files 2012-08-03 23:11:39 +01:00
Alistair Riddoch
96a59a83fc Fix up a few more tests 2012-08-01 21:13:14 +01:00
Alistair Riddoch
c279f56b06 Remove test stubs for deleted method 2012-07-27 16:46:37 +01:00
Alistair Riddoch
b53f8ec5d5 Fic up the tests 2012-07-19 22:58:30 +01:00
Alistair Riddoch
b3cb2c2c6b Fix stub for tests 2012-07-18 23:24:59 +01:00
Alistair Riddoch
6b7b3505f7 Remove unused argument from connect function 2012-07-17 16:16:15 +00:00
Alistair Riddoch
540d2891bb Fix info op for connect success
It was in the wrong place, but was also being passed to entirely the wrong
function. The info was getting handled as if it had come from the peer
server, rather than being passed to the client that initiated the connect.
2012-05-21 10:04:32 +01:00
Alistair Riddoch
e944b6c999 Update tests for modified interface 2011-10-31 13:04:55 +00:00
Alistair Riddoch
8a4fcc6ff6 Fix up the tests 2011-10-30 01:04:54 +02:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
691431e1c3 Fix up test stubs 2010-12-13 14:54:47 +00:00
Alistair Riddoch
9ed65676e4 Fix up tests 2010-12-13 08:06:08 +00:00
Alistair Riddoch
716d12a5e9 Too many bits 2010-12-09 16:33:05 +00:00
Alistair Riddoch
81023cb584 Fix up the tests 2010-12-09 16:06:31 +00:00
Alistair Riddoch
66cbbf5ac9 Fill out full Juncture coverage 2010-12-09 15:40:20 +00:00
Alistair Riddoch
25c630eef1 Stub out Juncture test so it runs again. 2010-12-07 23:56:38 +00:00
Alistair Riddoch
de30bb6aff Patch in part of the connect and login parsing code. 2010-12-06 23:34:58 +00:00
Alistair Riddoch
09cd6a46aa Add test for Juncture 2010-12-06 23:12:51 +00:00