Erik Ogenvik
e7fa53214b
Use nullptr instead of NULL.
2018-02-06 13:45:11 +01:00
Erik Ogenvik
4d530e25e4
Move domain property Entity.
...
And rename and fixup smaller things.
2017-07-25 23:40:39 +02:00
Erik Ogenvik
0286bcd47d
Replace "parents" with "parent".
2017-07-24 15:05:18 +02:00
Erik Ogenvik
7aaa9b9ba7
Optimize includes.
2017-03-19 21:36:52 +01:00
Erik Ogenvik
642faeeb28
Adapt to boost 1.46.
...
Since we're targetting the latest LTS release of Ubuntu as a nice
baseline, and that currently only supports 1.46, we need to remove the
nice steady_timer code. For now.
This commit should probably be reverted once a newer version of Ubuntu
LTS is available.
2014-02-04 12:25:18 +01:00
Erik Ogenvik
6a85c63220
Use std::chrono rather than boost::chrono.
2014-01-31 22:08:23 +01:00
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
e9cb84388a
Stop using OpNo here too
2013-02-28 15:39:59 +00:00
Alistair Riddoch
e89ae282f6
Stop using OpNo typedef
2013-02-28 15:27:54 +00: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
d8b2d96078
Remove many unnecessary dynamic_casts
...
The last few changes made these obsolete, as the pointer is now to the
correct type.
2012-11-25 00:04:12 +00:00
Alistair Riddoch
e7d238e91f
Move ExternalMind into rulesets
2012-11-23 16:11:21 +00:00
Alistair Riddoch
1eea99fdf2
Move CommSocket and Link classes into common
2012-11-23 11:05:59 +00:00
Alistair Riddoch
23ebd9d6f5
Add externalOperation to the Router interface
2012-11-19 13:42:02 +00:00
Alistair Riddoch
928e48a2e7
Weaken the coupling between ExternalMind and Connection
2012-08-13 22:08:22 +01:00
Alistair Riddoch
e776106ae9
Move CommClient to being a template - final changes
...
This required cleaning up a bunch of other things:
Expose functions to disconnect and flush sockets generally
Make a new base class for objects that link a socket to the server
2012-07-31 20:21:58 +01:00
Alistair Riddoch
9d637f07da
Refactor the way hosts are stored
2012-07-19 10:05:45 +01:00
Alistair Riddoch
693012e188
No need to specialize this template explicitly
2012-03-05 14:15:34 +00:00
Alistair Riddoch
6213337fd3
Clear up the dependencies
2012-03-05 09:31:33 +00:00
Alistair Riddoch
ad04394cb0
Get time from CommServer for performance
2011-10-31 19:07:21 +00:00
Erik Hjortsberg
15ee842b17
Fixed incorrect parsing of account type.
2011-04-08 21:59:32 +02:00
Alistair Riddoch
07a45eaf76
Actually emit the destroyed signal when we are deleted.
2010-12-11 11:32:23 +00:00
Alistair Riddoch
9fd382fcb4
When a Peer gets a reply op, pass it to Juncture to be returned to the owning client
2010-12-08 18:42:26 +00:00
Alistair Riddoch
b066d282ba
Remove a bunch of verbose logging that looked to be for debugging purposes
2010-11-30 21:51:20 +00:00
Alistair Riddoch
6aa6599d67
Add logging of teleport related events
2010-11-30 21:38:29 +00:00
Alistair Riddoch
1c17db68cb
Sort the teleport transfer op args a bit more cleanly
2010-11-30 09:48:52 +00:00
Alistair Riddoch
217459c9ef
Always pass in integer ID when creating objects.
2010-11-26 16:07:29 +00:00
Alistair Riddoch
7d020b0457
Slight code simplification
2010-11-25 17:44:26 +00:00
Alistair Riddoch
6fffbae55a
Fix up the mind logic
2010-11-25 17:11:33 +00:00
Alistair Riddoch
deab49a320
Simplify mind logic
2010-11-25 16:48:51 +00:00
Alistair Riddoch
7321ca0b8a
Clean ups and minor efficiency improvements
2010-11-25 09:54:48 +00:00
Alistair Riddoch
1adcfe5abd
Update doc string
2010-11-25 00:45:07 +00:00
Alistair Riddoch
5e3560b402
Simplify teleport logic
2010-11-25 00:43:25 +00:00
Alistair Riddoch
3d14488264
Simplify a bit.
2010-11-25 00:29:53 +00:00
Alistair Riddoch
d11f42836f
Simplify teleport API, and remove double lookup
2010-11-24 23:17:50 +00:00
Alistair Riddoch
24cccee141
Remove the need for second arg by using int ids as serial/refno
2010-11-24 18:49:07 +00:00
Alistair Riddoch
faaa56d64b
Add FIXME note
2010-11-24 10:36:04 +00:00
Alistair Riddoch
908e28f489
Add another state to track if a Peer has failed to authenticate
2010-11-24 01:44:45 +00:00
Alistair Riddoch
743f9a4bd2
Remove redundant state check
2010-11-24 00:16:29 +00:00
Alistair Riddoch
45a17de68e
Report an error on login failure
2010-11-23 23:23:10 +00:00
Manohar Vanga
e6e0929b15
Fixed bug in Peer::peerTeleportResponse
2010-08-20 22:14:31 +05:30
Manohar Vanga
e6968fc277
Fixed small bug in Peer::cleanTeleports()
2010-08-20 20:54:56 +05:30
Manohar Vanga
a397621b15
Fixed build errors. Adding extra debug output.
2010-08-20 16:25:23 +05:30
Manohar Vanga
2944f984bc
Fixed small bug in setting time of TeleportState objects
2010-08-20 14:39:12 +05:30
Manohar Vanga
9da02ffae3
Teleport objects are now deleted on timeout of 10 seconds
2010-08-20 14:35:56 +05:30
Manohar Vanga
bd67b6c0f6
Added comments to server/Peer.cpp
2010-08-17 11:58:21 +05:30
Manohar Vanga
2bee904920
Removed unnecessary checks in Peer.cpp
2010-08-17 11:58:21 +05:30
Manohar Vanga
0a4e385a7b
Added comments as a cleanup todo list
2010-08-17 11:58:21 +05:30