ISHELL_PostEvent() | developer.brewmp.com ISHELL_PostEvent() | developer.brewmp.com

Developer

ISHELL_PostEvent()

I'm wondering if I can post an event from within my actor to alert itself about the status of a download.

Said another way, where will the ISHELL_PostEvent send a posted event from within my actor. I'm hoping my actor's HandleNodeEvent function will be a recipient... ?

Thanks

You would send it to your trig applet's class ID. Within your trig, you would set an actor notification mask telling TrigPlayer to propagate the event to your actor. Take a look at "System events and notifications" within the uiOne SDK tutorial.

You would send it to your trig applet's class ID. Within your trig, you would set an actor notification mask telling TrigPlayer to propagate the event to your actor. Take a look at "System events and notifications" within the uiOne SDK tutorial.

Ok, so I set a user defined event mask in my trig (i.e. /trigml/config/actors//eventmask = 0x40000000), and called ISHELL_PostEvent using the classid for that triglet. The call to ISHELL_PostEvent returned TRUE, and the AppLogger showed the message "App_New(FOUND)", but the custom event was never reached in my actor's event handler.

Ok, so I set a user defined event mask in my trig (i.e. /trigml/config/actors//eventmask = 0x40000000), and called ISHELL_PostEvent using the classid for that triglet. The call to ISHELL_PostEvent returned TRUE, and the AppLogger showed the message "App_New(FOUND)", but the custom event was never reached in my actor's event handler.

max wrote:You would send it to your trig applet's class ID. Within your trig, you would set an actor notification mask telling TrigPlayer to propagate the event to your actor. Take a look at "System events and notifications" within the uiOne SDK tutorial.
Hi
Is there any way an Applet can communicate(send event/ notify) to TrigMl.
1) I want to write/read some data on/from EFS (file system)
2) Data is passed from TrigMl -> Actor -> Applet -> EFS
3) Now i want to read data and Send it to Actor/TrigMl
4) By any means TrigMl should be able to get the data saved by Applet. ???
It would be great if i could get a sample code for this two way (Trigml -> Applet and Applet -> TrigMl) communication
Thanks
GM

max wrote:You would send it to your trig applet's class ID. Within your trig, you would set an actor notification mask telling TrigPlayer to propagate the event to your actor. Take a look at "System events and notifications" within the uiOne SDK tutorial.
Hi
Is there any way an Applet can communicate(send event/ notify) to TrigMl.
1) I want to write/read some data on/from EFS (file system)
2) Data is passed from TrigMl -> Actor -> Applet -> EFS
3) Now i want to read data and Send it to Actor/TrigMl
4) By any means TrigMl should be able to get the data saved by Applet. ???
It would be great if i could get a sample code for this two way (Trigml -> Applet and Applet -> TrigMl) communication
Thanks
GM