hiding interfaces...

  • Thread starter Thread starter Nando
  • Start date Start date
N

Nando

I'm developing an application based on the old client-server pattern. in
order for the server object to do its work the client objects has to
implement an interface. However the the client object have to perform tasks
in other sections of the application, some of the methods of the interface
shouldn't be used by anyone else but the server.

Is it posible to hide interface implemented methods to code other than the
server?

Thanks in advance,
Nando
 
I think you need to implement a second interface for the internal functions and mark that interface as internal.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top