Navigation
API > API/Runtime > API/Runtime/MessagingRpc
Inheritance Hierarchy
- IMessageRpcServer
- FMessageRpcServer
References
| Module | MessagingRpc |
| Header | /Engine/Source/Runtime/MessagingRpc/Public/MessageRpcServer.h |
| Include | #include "MessageRpcServer.h" |
Syntax
class FMessageRpcServer : public IMessageRpcServer
Remarks
Implements an RPC server.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FMessageEndpoint, ESPMode::ThreadSafe > | MessageEndpoint | Message endpoint. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. | |||
FMessageRpcServer
(
FMessageEndpointBuilder&& InEndpointBuilder |
|||
FMessageRpcServer
(
const FString& InDebugName, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FMessageEndpoint, ESPMode::ThreadSafe > | GetEndpoint () |
||
| void | ProcessCancelation
(
const FMessageRpcCancel& Message, |
Processes an FMessageRpcCancel message. | |
| void | ProcessRequest
(
const TSharedRef< IMessageContext, ESPMode::ThreadSafe >& Context |
Processes an RPC request message. | |
| void | SendProgress
(
const FGuid& CallId, |
Send a progress message to the RPC client that made the RPC call. | |
| void | SendResult
(
const FGuid& CallId, |
Send a result message to the RPC client that made the RPC call. |
Overridden from IMessageRpcServer
| Type | Name | Description | |
|---|---|---|---|
| void | AddHandler
(
const FTopLevelAssetPath& RequestMessageType, |
Add an RPC request handler. | |
| const FMessageAddress & | GetAddress () |
Gets the server's message address. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGSFOnMessageRpcNoHandler & | OnNoHandler () |
Get a delegate that is executed when a received RPC message has no registered handler. | |
| PRAGMA_ENABLE_DEPRECATION_WARNINGSFOnMessagePathNameRpcNoHandler & | Get a delegate that is executed when a received RPC message has no registered handler. | ||
| void | SetSendProgressUpdate
(
bool InSendProgress |
Set if the server sends progress updates |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FReturnInfo |