Mikael Hallendal <micke@imendio.com> [Mon, 14 Jul 2008 01:10:57 +0200] rev 461
Added protocol for srv lookups
Mikael Hallendal <micke@imendio.com> [Mon, 14 Jul 2008 00:48:04 +0200] rev 460
More work on the blocking resolver
Mikael Hallendal <micke@imendio.com> [Mon, 14 Jul 2008 00:35:25 +0200] rev 459
Implemented the idle "spawn" in LmBlockingResolver.
In order to simulate the asynchronous API of LmResolver the synchronous
LmBlockingResolver runs in an idle callback. That means the lm_resolver_lookup
call will return just as it does in the asynchronous version and instead the
result will come through the given callback.
Mikael Hallendal <micke@imendio.com> [Mon, 14 Jul 2008 00:14:28 +0200] rev 458
Added LmBlockingResolver which will handle the case when we do not have libasyncns.
The blocking resolver will be blocking while waiting for response from a web
server.
Mikael Hallendal <micke@imendio.com> [Mon, 14 Jul 2008 00:02:50 +0200] rev 457
Added LmAsyncnsResolver
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 23:54:50 +0200] rev 456
Fixed some spaces
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 23:50:23 +0200] rev 455
Added type property to LmResolver
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 23:33:46 +0200] rev 454
Changed so that we create a resolver with various arguments depending on type.
Instead of having the lookup_host and lookup_srv virtual methods there is now
only one lookup method and the resolver is created using new_for_host or
new_for_srv instead.
The host or domain/srv values are set as properties on the base class for the
sub classes to read out.
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 23:22:42 +0200] rev 453
Made LmResolver an object for subclassing instead of an interface
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 19:22:27 +0200] rev 452
Added LmResolver interface.
The LmResolver interface will be implemented in one blocking fashion and one
implementation that uses Libasyncns. Designing this as an interface will make
it easy to implement an asynchronous version using platform specific
technologies for Windows and Mac OS X.
It will also make it easier to create a mock implementation to simulate various
error codes to test the layers using the resolver.