Navigation
API > API/Plugins > API/Plugins/ConcertServer
References
| Module | ConcertServer |
| Header | /Engine/Plugins/Developer/Concert/ConcertMain/Source/ConcertServer/Public/IConcertServer.h |
| Include | #include "IConcertServer.h" |
Syntax
class IConcertServer
Remarks
Interface for Concert server
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FGuid | ArchiveSession
(
const FGuid& SessionId, |
Archive a Concert session on the server. | |
| void | Configure
(
const UConcertServerConfig* ServerConfig |
Configure the Concert settings and its information | |
| TSharedPtr< IConcertServerSession > | CopySession
(
const FGuid& SrcSessionId, |
Create a new live server session from another session. | |
| TSharedPtr< IConcertServerSession > | CreateSession
(
const FConcertSessionInfo& SessionInfo, |
Create a new Concert server session based on the passed session info | |
| FConcertSessionInfo | Create a session description for this server | ||
| bool | DestroySession
(
const FGuid& SessionId, |
Destroy a live or archived Concert server session. | |
| bool | ExportSession
(
const FGuid& SessionId, |
Copy the session data to a destination folder for external usage. | |
| FGuid | GetArchivedSessionIdByName
(
const FString& InName |
Get the ID of an archived session from its name. | |
| TOptional< FConcertSessionInfo > | GetArchivedSessionInfo
(
const FGuid& SessionId |
Gets an archived session info | |
| TArray< FConcertSessionInfo > | Gets the archived session information list | ||
| const UConcertServerConfig * | Return The configuration of this server, or null if it hasn't been configured. | ||
| TSharedPtr< IConcertServerSession > | GetLiveSession
(
const FGuid& SessionId |
Get a live server session | |
| FGuid | GetLiveSessionIdByName
(
const FString& InName |
Get the ID of a live session from its name. | |
| TArray< FConcertSessionInfo > | Get the live session information list | ||
| TArray< TSharedPtr< IConcertServerSession > > | Get all live server sessions | ||
| FMessageAddress | GetRemoteAddress
(
const FGuid& AdminEndpointId |
Gets the address of a remote admin endpoint, i.e. a client that is sending FConcertEndpointDiscoveryEvents. | |
| TArray< FConcertEndpointContext > | Gets all remote admin endpoint IDs. | ||
| const FString & | GetRole () |
Get the role of this server (eg, MultiUser, DisasterRecovery, etc) | |
| const FConcertServerInfo & | Get the server information set by Configure | ||
| bool | IsConfigured () |
Return true if the server has been configured. | |
| bool | IsStarted () |
Returns if the server has already been started up. | |
| FOnConcertMessageAcknowledgementReceivedFromLocalEndpoint & | Callback when a message has been acknowledged by a remote endpoint | ||
| FOnConcertParticipantCanJoinSession & | Callback to check whether a participant should be allowed to join a session. | ||
| FOnConcertServerSessionStartup & | Callback for when a concert server session has been created. | ||
| FOnConcertServerStartup & | Callback for when a concert server has been created. | ||
| FOnConcertRemoteEndpointConnectionChanged & | Callback when a remote admin endpoint connection changes. | ||
| bool | RenameSession
(
const FGuid& SessionId, |
Rename a live or archived Concert session on the server. | |
| TSharedPtr< IConcertServerSession > | RestoreSession
(
const FGuid& SessionId, |
Restore an archived Concert server session based on the passed session info | |
| void | Shutdown () |
Shutdown the server, this can be called multiple time with no ill effect. | |
| void | Startup () |
Startup the server, this can be called multiple time Configure needs to be called before startup |