Is this the proxy
pattern?
I have a interface called DataIntf which has all of the public methods of the Data class. This interface is extended by my RemoteDataIntf interface, which also extends Remote. My remote implementation implements this interface. The subclass of Data implements this interface as well. On the client I use a factory that contains one method getConnection which returns an implementation of the DataInt interface. It will either return the remote implementation or the local, which is the subclass of the Data class. The client will make calls to this implementation. Is this considered the proxy pattern or do I have to have another class that is client specific and contains an instance of the subclass of Data and delegates all of the calls to the instance?
Replies are greatly appreciated!
Rama Ituarte