ServiceSubscriptionInterface Class Reference

#include <network_service_discovery.h>

Detailed Description

An active service subscription.

Public Types

using ReconfirmCallback = Delegate< void(Bool isConfirmed)>
 

Public Member Functions

MAXON_METHOD ServiceBusRef GetServiceBus () const
 
MAXON_METHOD void Cancel ()
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (ServiceSubscriptionInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.servicesubscription")
 

Member Typedef Documentation

◆ ReconfirmCallback

using ReconfirmCallback = Delegate<void(Bool isConfirmed)>

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( ServiceSubscriptionInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.interface.servicesubscription"   
)
private

◆ GetServiceBus()

MAXON_METHOD ServiceBusRef GetServiceBus ( ) const

Returns the service bus this subscription is bound to.

◆ Cancel()

MAXON_METHOD void Cancel ( )

Cancels the subscription if it is active.