On 11. 6. 2019 18:49, Emmanuel Lécharny wrote:
The main issue is the fact the API is asynchronous. It makes *everything* insanely complex. Anyone claiming concurrent code is simple is either a genious or an imbecile.
Curious how thin can be a boundary between an imbecile and a genius, isn't it?
However, even if MINA is async in nature, the client is usually using it is a very sync way. Opening connection, waiting, sending request, waiting for response and so on. There is hardly any multiplexing. And if there is, it is not essential for a basic use of the API. I'm thinking about a way how to select sync implementation instead of MINA. The *Async methods from LdapNetworkConnection won't work (throwing unsupported operation exception). But they are not needed for simple sync use of the API. That may simplify the things.
-- Radovan Semancik Software Architect evolveum.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
