On Thu, 19 Jun 2008 10:56:11 +0200 Niklas Therning <[EMAIL PROTECTED]> wrote:
> Ok, you're right, it's a bit overkill to have an interface just to > avoid a cast. But SocketService still had its right to exist I think. > What if you want to explicitly depend on an IoService which handles > socket based transports? Removing SocketService means that one would > need to use IoService instead and then do the type checking at > runtime rather than at compile time. > > /Niklas You still got SocketAcceptor and SocketConnector, I don't see much interest in a general SocketService iface with 2 methods. I think you need to depend on a Socket based acceptor or connector, not a SocketService no ? Julien
signature.asc
Description: PGP signature
