Server Starting Plugin

Is it possible to implement a plugin started by the event server that works independently of SC e MC but accessible to MC for parameters configuration?

Many Thanks,

Freddy

Yes, you can. There are more than one sample that does this. ServerSideCarrousel sample might be interesting for you.

https://doc.developer.milestonesys.com/html/index.html?base=samples/serversidecarrousel_sample.html&tree=tree_1.html

Rie,

thank you for your answer.

To be sure to understand I will ask you some questions related to the ServerSideCarrousel example:

  • the plugin don’t override method Close(), so, I hope, it will be always running
  • the plugin don’t override method BackgroundPlugin(), but I need a background task “to do the job”, should I use a different name? for example BackgroundJob
  • the plugin override method Init(), can I instantiate my BackgroundJob here?
  • OK for Admin part, I don’t need Client part
  • last but not least, what kind of license should I use? I have no devices, nor concurrent clients

Many Thanks,

Freddy

if you create a new plugin using the plugin template you will see an example of an ever running thread. Yes, you can have something running non stop in the Event Server.

Yes, the sample is a good example of the admin part and I hope you can take this as good inspiration even if you do not need the client part.

On licensing the MIP SDK has three samples on using MIP licensing, you can use your own scheme or leave it out. MIP licensing is an offer to you if you want to sell licenses to your customers, there is no license cost for you or your customers to be paid to Milestone for a plugin.