I have a need to handle external events/messages (from a non-photon
application/process) within a photon application.
I have managed to implement a handler and I registered it via a call to
PtAppAddInput. From this handler I plan on emitting an appropriate event to
a specific widget.
The issue I am having is it is not clear to me what I need to do on the
client (external non-photon application/process) side to communicate with
this photon application. I believe I should be able to use QNX message
passing but I need to get a Node ID, process ID and channel ID for the
photon application in question. Is this not correct? How do I go about
getting this info for a photon application?
Can I simply use POSIX calls to send messages to the photon application? If
so, does the input handler registered via PtAppAddInput get called as well
when using the method?
The help documentation is a bit weak of how an external client
application/process needs to configure itself for message sending to a
photon application when using the input handler methodology. The example,
from the sending end, uses a photon to external message send. The receive
side makes sense to me, less the process needed to setup the client end, in
the case of a external to photon message send.
Any help would be great and thank you for you time,