Archived

This forum has been archived. Please start a new discussion on GitHub.

question icephp

hello,
i have a question about icephp. in the slice file i have 2 interfaces, the first one to server->client communication, the second one client->server.
the client run with php, is it possible to create both directions in one php file (maybe with some workaround)?
Thanks for all
santi

Comments

  • benoit
    benoit Rennes, France
    I'm not sure I understand what you mean by both directions in the same php file. Do you mean implement the server and the client using PHP? If not can you detail a little more what you're trying to do?

    IcePHP allows you to implement clients, it's not possible to implement servers (see chapter 19.2.2 in the Ice manual for a discussion of the IcePHP limitations).

    Benoit.
  • hi,
    on both sides is a callback object to invoke some methodes. in this case the client acts as a server :-(. therefore i think its not possible. i decide to change the interface.
    thanks for your help, santi