title: How to differentiate multiple classes with the same function
body: <p>Lets say I have a room with two doors. A central system is controlling both of them. This is done by using sockets. The <code>DoorController</code> class has to implement two instances of door. These door classes have an interface to talk to the socket. How do I implement these two classes with the same behaviour in my class diagram so that <code>DoorController</code> knows which door he is operating?</p>