09-27-2017 03:08 PM
I'm starting to understand this architecture, but I've got a long way to go.
I've built a basic SMO, started adding events and methods and found something that confused me. I created a public event titled "SetPressure", which was created in the "Private" folder (but appears as a Public Event), and I created a public method that is in the "API" folder, but shows up as a private event. I want other SMOs to be able to call the GetPressure method.
What have I done? What am I missing?
09-27-2017 03:31 PM
I think public and private refer to the receiver of the event, but the API method is the sender. Anyone can send a “private event” that only the SMO can receive. Only the SMO can send a “public event” that anyone can receive.
I don’t use SMO myself, but I think that’s the issue. The DQMH, which borrows the event architecture, uses different terminology to avoid this confusion.