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 

Reply via email to