vendredi 22 avril 2016

What design pattern is better when I want to obstacle interprocess communication?

I have a class which communicates with other process with my socket library. But soon, some of my team members will release another socket library. So I have to replace socket communication module with it.

So I want to obstacle the communication way with a design pattern. In such situation, what design pattern is better for me? My class shouldn't access my socket library directly.

Aucun commentaire:

Enregistrer un commentaire