Thanx for reply can you provide some code snippet here?
or some link for it. On Tue, Feb 7, 2012 at 11:30 PM, Prem Krishna Chettri <[email protected]>wrote: > This is a simple implementation to Factory Design Pattern. What you have > to do is make an arbitrary class (Your Adapter) and always call this. > However, the implementation of this class should be smart enough to route > your call accordingly. As suggested by DON , its the c++ implementation of > Factory Class. However , if you are designing in any other language, It is > alwasyz advisable to have a sample implementation of Factory design > pattern. > > > > On Tue, Feb 7, 2012 at 11:23 PM, Don <[email protected]> wrote: > >> Provide an interface class for the client to access. The client needs >> to know the name of the method in the interface, but only the >> interface needs to know the name of the function in the server. >> Don >> >> On Feb 7, 8:38 am, Aman Kumar <[email protected]> wrote: >> > Hii to all >> > >> > If client want to make a function call to a server(vice versa), but it >> > doesn't know exact name . so we need a adapter. >> > >> > for this i have to design a adapter (middleware) so that client can >> > make a call and adapter make that call to exact match. >> > >> > please help me for same. >> > >> > how to design adapter? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
