Navigation
API > API/Plugins > API/Plugins/ConcertTransport
Interface representing a local endpoint you can send from either reliably or not for Concert
| Name | IConcertLocalEndpoint |
| Type | class |
| Header File | /Engine/Plugins/Developer/Concert/ConcertMain/Source/ConcertTransport/Public/IConcertEndpoint.h |
| Include Path | #include "IConcertEndpoint.h" |
Syntax
class IConcertLocalEndpoint
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IConcertLocalEndpoint() |
Virtual destructor | IConcertEndpoint.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FConcertEndpointContext & GetEndpointContext() |
Get the context for this endpoint. | IConcertEndpoint.h | |
FMessageAddress GetRemoteAddress
(
const FGuid& ConcertEndpointId |
Gets the remote address of a client or the server. | IConcertEndpoint.h | |
TArray< FConcertEndpointContext > GetRemoteEndpoints() |
Gets all remote endpoints connected to this local endpoint. | IConcertEndpoint.h | |
FOnConcertMessageAcknowledgementReceivedFromLocalEndpoint & OnConcertMessageAcknowledgementReceived() |
Callback when a message has been acknowledged by a remote endpoint | IConcertEndpoint.h | |
FOnConcertRemoteEndpointConnectionChanged & OnRemoteEndpointConnectionChanged() |
Callback when a remote endpoint connection changes. | IConcertEndpoint.h | |
void PublishEvent
(
const EventType& Event |
Publish an event, other remote endpoint need to subscribe to the event to receive it | IConcertEndpoint.h | |
void RegisterEventHandler
(
typename TConcertFunctionEventHandler::FFuncType Func |
Register an handler for event received by this endpoint | IConcertEndpoint.h | |
void RegisterEventHandler
(
HandlerType* Handler, |
Register an handler for event received by this endpoint | IConcertEndpoint.h | |
void RegisterRequestHandler
(
typename TConcertFunctionRequestHandler< ResponseType >::FFuncType Func |
Register an handler for request received by this endpoint | IConcertEndpoint.h | |
void RegisterRequestHandler
(
HandlerType* Handler, |
Register an handler for request received by this endpoint | IConcertEndpoint.h | |
void SendEvent
(
const EventType& Event, |
Send an event to a remote endpoint | IConcertEndpoint.h | |
| Send a request to a remote endpoint | IConcertEndpoint.h | ||
void SubscribeEventHandler
(
HandlerType* Handler, |
Subscribe an handler for event received by this endpoint, this will handle published event | IConcertEndpoint.h | |
void UnregisterEventHandler() |
Unregister the handler for event received by this endpoint of type EventType | IConcertEndpoint.h | |
void UnregisterRequestHandler() |
Unregister the handler for request received by this endpoint of type RequestType | IConcertEndpoint.h | |
void UnsubscribeEventHandler() |
Unregister the handler for event received by this endpoint of type EventType | IConcertEndpoint.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InternalAddEventHandler
(
const FTopLevelAssetPath& EventMessageType, |
Add an Event Handler | IConcertEndpoint.h | |
void InternalAddRequestHandler
(
const FTopLevelAssetPath& RequestMessageType, |
Add a Request Handler | IConcertEndpoint.h | |
void InternalPublishEvent
(
const TSharedRef< IConcertEvent >& Event |
Publish an event to any listening endpoints | IConcertEndpoint.h | |
void InternalQueueEvent
(
const TSharedRef< IConcertEvent >& Event, |
Queue an event to be sent to a remote endpoint | IConcertEndpoint.h | |
void InternalQueueRequest
(
const TSharedRef< IConcertRequest >& Request, |
Queue a request to be sent to a remote endpoint | IConcertEndpoint.h | |
void InternalQueueResponse
(
const TSharedRef< IConcertResponse >& Response, |
Queue a response to be sent back to a remote endpoint | IConcertEndpoint.h | |
void InternalRemoveEventHandler
(
const FTopLevelAssetPath& EventMessageType |
Remove an Event Handler | IConcertEndpoint.h | |
void InternalRemoveRequestHandler
(
const FTopLevelAssetPath& RequestMessageType |
Remove an Request Handler | IConcertEndpoint.h | |
void InternalSubscribeToEvent
(
const FTopLevelAssetPath& EventMessageType |
Subscribe to an Event | IConcertEndpoint.h | |
void InternalUnsubscribeFromEvent
(
const FTopLevelAssetPath& EventMessageType |
Unsubscribe from an Event | IConcertEndpoint.h | |
void SetMessageSendingInfo
(
const TSharedRef< IConcertMessage >& Message |
Set message ID and sender ID | IConcertEndpoint.h | |
void SetResponseSendingInfo
(
const TSharedRef< IConcertResponse >& Response, |
Set message ID and sender ID | IConcertEndpoint.h |