1.

What Is The Difference Between Ishell_sendevent() And Ishell_ Postevent()?

Answer»

XML is no way clashes with HTML, SINCE they are for two different purposes.

ISHELL_SendEvent() :

  • In the case of ISHELL_SendEvent(), the event is IMMEDIATELY sent to the application of the specified CLASS ID. If an instance of that class is not currently present, the AEE Shell creates one, and then invokes its IAPPLET_HandleEvent() function with the specified event code and data parameters. Unless it chooses to start itself, the application terminates after it completes processing of the event.
  • The ISHELL_SendEvent() function allows for control over the destination applet. This function sends the event DIRECTLY to the destination applet.

ISHELL_PostEvent() :

  • ISHELL_PostEvent() is similar, except that the destination class's IAPPLET_HandleEvent() function is not called immediately. The event is placed in a queue and is sent at a later time, which allows the calling application to CONTINUE its processing without interruption.
  • The processing of events posted using ISHELL_PostEvent() is deferred until the next iteration of the event loop. This is useful in providing continued execution while allowing other events to be processed.

XML is no way clashes with HTML, since they are for two different purposes.

ISHELL_SendEvent() :

ISHELL_PostEvent() :



Discussion

No Comment Found