Even if it is not yet part of the MINA3 work, you should make room for the AIO implementation
Jeff On Mon, Mar 25, 2013 at 1:36 PM, Emmanuel Lécharny <[email protected]>wrote: > Hi guys, > > the current hierarchy from IoService down to the implemtng classes is > the following : > > (IoService) > o > | > +--[[AbstractIoService]] > ^ > | > +--- [[AbstractIoClient]] ---o (IoClient) > | ^ > | | > | +--- [[AbstractTcpClient]] <--- [TcpClient] > | | > | +--- [[AbstractUdpClient]] <--- [UdpClient] > | > +--- [[AbstractIoServer]] ---o (IoServer) > ^ > | > +--- [[AbstractTcpServer]] <--- [TcpServer] > | > +--- [[AbstractUdpServer]] <--- [UdpServer] > > Here, I'm wondering if it makes any sense to have > AbstrcatXXXClient/Server classes, if we have only one single > implementation ? > > What about just having : > > (IoService) > o > | > +--[[AbstractIoService]] > ^ > | > +--- [[AbstractIoClient]] ---o (IoClient) > | ^ > | | > | +--- [TcpClient] > | | > | +--- [UdpClient] > | > +--- [[AbstractIoServer]] ---o (IoServer) > ^ > | > +--- [TcpServer] > | > +--- [UdpServer] > > Wdyt ? > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com > > -- Jeff MAURY "Legacy code" often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury
