Jump to content

How to stop an UniGUI Server pragramatically outside the server itself?


wangxuebin

Recommended Posts

One alternative: put a standard timer in the ServerModule to check periodically something, i.e.:

  • a global variable, that you can set through an admin form you might have to adminsitrate your application
  • monitorize the presence of a flag file
  • etc.
You also can use a special URL and analyze it (if you do so, use some kind of encription to ensure that the call to stop UniGUI server is really yours).

 

When you decide to stop the server monitoring variable/file/protocol/etc., simply execute Application.Terminate...

 

Hope it helps...

 

Regards,

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...