Configuring the Provider to Receive Method Requests

For a provider to receive invoke requests, we need to override the invoke method. Once that is done, the requestor can invoke the setNewAlarmTime method to set the alarm time from the incoming parameters and respond with the value of the AlarmActive property.

How It Works

All invoke operations from a requestor are handled by the invoke method. The action that gets performed is defined by the interface item the method was sent on. A method can have multiple input values that the requestor specified and can return multiple values that the provider will supply.