engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IAuthorizeMessageRecipients类 参考abstract

Interface for classes that authorize message subscriptions. 更多...

#include <IAuthorizeMessageRecipients.h>

Public 成员函数

virtual bool AuthorizeInterceptor (const TSharedRef< IMessageInterceptor, ESPMode::ThreadSafe > &Interceptor, const FName &MessageType)=0
 Authorizes a request to intercept messages of the specified type. 更多...
 
virtual bool AuthorizeRegistration (const TSharedRef< IMessageReceiver, ESPMode::ThreadSafe > &Recipient, const FMessageAddress &Address)=0
 Authorizes a request to register the specified recipient. 更多...
 
virtual bool AuthorizeSubscription (const TSharedRef< IMessageReceiver, ESPMode::ThreadSafe > &Subscriber, const FName &TopicPattern)=0
 Authorizes a request to add a subscription for the specified topic pattern. 更多...
 
virtual bool AuthorizeUnregistration (const FMessageAddress &Address)=0
 Authorizes a request to unregister the specified recipient. 更多...
 
virtual bool AuthorizeUnsubscription (const TSharedRef< IMessageReceiver, ESPMode::ThreadSafe > &Subscriber, const FName &TopicPattern)=0
 Authorizes a request to remove a subscription for the specified topic pattern. 更多...
 
virtual ~IAuthorizeMessageRecipients ()
 Virtual destructor.
 

详细描述

Interface for classes that authorize message subscriptions.

成员函数说明

◆ AuthorizeInterceptor()

virtual bool IAuthorizeMessageRecipients::AuthorizeInterceptor ( const TSharedRef< IMessageInterceptor, ESPMode::ThreadSafe > &  Interceptor,
const FName &  MessageType 
)
pure virtual

Authorizes a request to intercept messages of the specified type.

参数
InterceptorThe message interceptor to authorize.
MessageTypeThe type of messages to intercept.
返回
true if the request was authorized, false otherwise.

◆ AuthorizeRegistration()

virtual bool IAuthorizeMessageRecipients::AuthorizeRegistration ( const TSharedRef< IMessageReceiver, ESPMode::ThreadSafe > &  Recipient,
const FMessageAddress &  Address 
)
pure virtual

Authorizes a request to register the specified recipient.

参数
RecipientThe recipient to register.
AddressThe recipient's address.
返回
true if the request was authorized, false otherwise.

◆ AuthorizeSubscription()

virtual bool IAuthorizeMessageRecipients::AuthorizeSubscription ( const TSharedRef< IMessageReceiver, ESPMode::ThreadSafe > &  Subscriber,
const FName &  TopicPattern 
)
pure virtual

Authorizes a request to add a subscription for the specified topic pattern.

参数
SubscriberThe subscriber.
TopicPatternThe message topic pattern to subscribe to.
返回
true if the request is authorized, false otherwise.

◆ AuthorizeUnregistration()

virtual bool IAuthorizeMessageRecipients::AuthorizeUnregistration ( const FMessageAddress &  Address)
pure virtual

Authorizes a request to unregister the specified recipient.

参数
AddressThe address of the recipient to unregister.
返回
true if the request was authorized, false otherwise.

◆ AuthorizeUnsubscription()

virtual bool IAuthorizeMessageRecipients::AuthorizeUnsubscription ( const TSharedRef< IMessageReceiver, ESPMode::ThreadSafe > &  Subscriber,
const FName &  TopicPattern 
)
pure virtual

Authorizes a request to remove a subscription for the specified topic pattern.

参数
SubscriberThe subscriber.
TopicPatternThe message topic pattern to unsubscribe from.
返回
true if the request is authorized, false otherwise.

该类的文档由以下文件生成: