Domanda di colloquio di AT&T

Software Design: how would you implement a system that have multiple protocols such as: TCP, UDP and few encryption algorithms: AES, DES and exc. Give a solution of implementation - class diagram.