Sever Event that works without Client calling for it

Options
Janidu
edited November 2011 in Photon Server
Hi everybody,

I am struggling to figure out this part, so any help is highly appreciated. I know that Events are asynchronous messages sent to clients. I want to know how they are triggered without client calling for them. The server should send messages to the client automatically without client calling for them. Can anyone show me some pointers to implement server side code of an Event that works accordingly.

Comments

  • dreamora
    Options
    Events aren't triggered by clients, only Operation Responses.

    Events are raised by you actively.

    The problem that you have to solve when you want to send events 'without responding' is that you actually have to track to who you want to send them, cause without a client asking for it you naturally also have no peer at hand 'for free' to send them to.