Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

ON THIS PAGE

This object is returned by the GetServces() and GetService() methods on the roUPnPDevice object.

ifUPnPService

Invoke(actionName As String, params As Object) As Integer

Invokes an action asynchronously on the UPnP service. This method returns a transaction ID that can be used to match it against the associated roUPnPActionResult instance.

Subscribe() As Integer

Subscribes to events on the UPnP service asynchronously.

RenewSubscription() As Integer

Resubscribes to events on the UPnP service asynchronously. This method should only be called after calling Subscribe().

GetSID() As String

Returns the subscription ID. This method should only be called after calling Subscribe().

GetTimeout() As Integer

Returns the service timeout period. This method should only be called after calling Subscribe().

ifMessagePort

SetPort(port As roMessagePort)

Specifies the port that will receive events generated by the roUPnPService instance.

ifUserData

SetUserData(user_data As Object)

Sets the user data that will be returned when events are raised.

GetUserData() As Object

Returns the user data that has previously been set via SetUserData(). It will return Invalid if no data has been set.

 

  • No labels