Commit graph

19 commits

Author SHA1 Message Date
Erik Ogenvik
da0d9549a8 Use boost::asio in CommPeer. 2014-01-31 22:00:32 +01:00
Olek Wojnar
7f9ff2246d Remove CVS $Id tags
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00
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
23ebd9d6f5 Add externalOperation to the Router interface 2012-11-19 13:42:02 +00: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
Alistair Riddoch
792b3538b3 Add more docs to Juncture
Flesh out the objects role, and relation to other objects
2012-07-19 18:50:39 +01:00
Alistair Riddoch
c7abbed387 Rename these methods to clarify what they do 2012-07-19 12:46:40 +01:00
Alistair Riddoch
9d637f07da Refactor the way hosts are stored 2012-07-19 10:05:45 +01:00
Alistair Riddoch
db021919bf Re-work connecting to allow control of retry 2012-07-19 00:18:28 +01:00
Alistair Riddoch
2ce8f48f09 Add Atlas repr for Juncture 2012-06-06 19:37:52 -07:00
Alistair Riddoch
81d4bb2a2f Hook up to get notified when connected 2012-05-21 09:37:44 +01:00
Alistair Riddoch
e774a02e37 Track reference number for connect in the Juncture 2012-05-18 14:23:48 +01:00
Alistair Riddoch
f8730323de Use ConnectedRouter for Juncture as well 2010-12-13 14:53:18 +00:00
Alistair Riddoch
5b6e656cbc Add a signal to allow Juncture to get replies from the Peer 2010-12-08 17:13:54 +00:00
Alistair Riddoch
3928eccadc Hook Juncture up to Peer::destroyed so we don't keep a stray pointer 2010-12-08 16:11:09 +00:00
Alistair Riddoch
7ae2fa2c76 Add drop through call to Peer::teleportEntity, and fix sending of login 2010-12-07 22:39:59 +00:00
Alistair Riddoch
3e6f99aca0 Add a connection pointer to Juncture, and patch in connect and login code 2010-12-07 15:48:26 +00:00
Alistair Riddoch
47ea001a25 New class to encapsulate managing peer connections 2010-12-06 22:24:18 +00:00