Adapter 4

Author: Rohit

Date: December 14, 2011

by Rohit
12-14-11
Jojo that was excellent, But why You named your interface as ServerInterface
This interface represents the functions that controlled objects like Light or Fan will perform. we can name it ControlledInterface.
So Do you want to give the ownership of ServerInterface or let's say ControlledInterface to Controlled Objects and deploy it along with them.
Yes ofCourse !
But here is a problem !
What now ?