IConcertClient

Interface for Concert client

Windows
MacOS
Linux

References

Module

Concert

Header

/Engine/Plugins/Developer/Concert/ConcertMain/Source/Concert/Public/IConcertClient.h

Include

#include "IConcertClient.h"

Syntax

class IConcertClient

Remarks

Interface for Concert client

Destructors

Name Description

Public function Virtual

~IConcertClient()

Functions

Name Description

Public function

TFuture< ECo...

 

ArchiveSession

(
    const FGuid& ServerAdminEndpointId,
    const FConcertArchiveSessionArgs& ...
)

Archive a live session on the server hosting the session.

Public function Const

bool

 

CanAutoConnect()

Returns true if the client is configured for auto connection.

Public function

void

 

Configure

(
    const UConcertClientConfig* In...
)

Configure the client settings and its information.

Public function

TFuture< ECo...

 

CopySession

(
    const FGuid& ServerAdminEndpointId,
    const FConcertCopySessionArgs& Cop...
)

Copy a live or and archived session into a new live session on server, matching the configured settings.

Public function

TFuture< ECo...

 

CreateSession

(
    const FGuid& ServerAdminEndpointId,
    const FConcertCreateSessionArgs& C...
)

Create a session on the server, matching the client configured settings.

Public function

TFuture< ECo...

 

DeleteSession

(
    const FGuid& ServerAdminEndpointId,
    const FGuid& SessionId
)

Delete a live or archived session from the server if the client is the owner of the session.

Public function

void

 

DisconnectSession()

Disconnect from the current session.

Public function Const

TFuture< FCo...

 

DropSessionRepositories

(
    const FGuid& ServerAdminEndpointId,
    const TArray< FGuid >& RepositoryI...
)

Drop a set of repositories (and delete the files) from the server.

Public function Const

TFuture< FCo...

 

GetArchivedSessions

(
    const FGuid& ServerAdminEndpointId
)

Get the list of the archived sessions data from a server

Public function Const

const FConce...

 

GetClientInfo()

Get the client information passed to Configure() if the client is not in a session, otherwise, returns the current session client info as returned by IConcertClientSession::GetLocalClientInfo().

Public function Const

const UConce...

 

GetConfiguration()

Return The configuration of this client, or null if it hasn't been configured.

Public function Const

TSharedPtr< ...

 

GetCurrentSession()

Get the current client session (if any).

Public function Const

TArray< FCon...

 

GetKnownServers()

Get the list of discovered server information

Public function Const

FConcertConn...

 

GetLastConnectionError()

Get the last connection error

Public function Const

TFuture< FCo...

 

GetLiveSessions

(
    const FGuid& ServerAdminEndpointId
)

Get the list of the live sessions data from a server

Public function Const

const FStrin...

 

GetRole()

Get the role of this client (eg, MultiUser, DisasterRecovery, etc)

Public function Const

TFuture< FCo...

 

GetServerSessions

(
    const FGuid& ServerAdminEndpointId
)

Get the list of sessions available on a server

Public function Const

TFuture< FCo...

 

GetSessionActivities

(
    const FGuid& ServerAdminEndpointId,
    const FGuid& SessionId,
    int64 FromActivityId,
    int64 ActivityCount,
    bool bIncludeDetails
)

Get the specified session activities, ordered by Activity ID (ascending) from a live or archived session without being connected to it.

Public function Const

TFuture< FCo...

 

GetSessionClients

(
    const FGuid& ServerAdminEndpointId,
    const FGuid& SessionId
)

Get the list of clients connected to a session on the server

Public function Const

EConcertConn...

 

GetSessionConnectionStatus()

Get the connection status of client session or disconnected if no session is present

Public function Const

TFuture< FCo...

 

GetSessionRepositories

(
    const FGuid& ServerAdminEndpointId
)

Request the list of existing session repositories from the server.

Public function Const

bool

 

IsAutoConnecting()

Returns true if the client has an active auto connection routine.

Public function Const

bool

 

IsConfigured()

Return true if the client has been configured.

Public function Const

bool

 

IsDiscoveryEnabled()

Returns true if server discovery is enabled.

Public function Const

bool

 

IsOwnerOf

(
    const FConcertSessionInfo& InSessi...
)

Does the client think he is the owner of the session?

Public function Const

bool

 

IsSessionSuspended()

Does the current session have live-updates suspended?

Public function Const

bool

 

IsStarted()

Returns if the client has already been started up.

Public function

TFuture< ECo...

 

JoinSession

(
    const FGuid& ServerAdminEndpointId,
    const FGuid& SessionId
)

Join a session on the server, the settings of the sessions needs to be compatible with the client settings or the connection will be refused.

Public function Const

TFuture< FCo...

 

MountSessionRepository

(
    const FGuid& ServerAdminEndpointId,
    const FString& RepositoryRootDir,
    const FGuid& RepositoryId,
    bool bCreateIfNotExist,
    bool bAsDefault
)

Create or load a repository (directory structure) containing sessions.

Public function

FOnConcertCl...

 

OnGetPreConnectionTasks()

Get the delegate that is called to get the pre-connection tasks for a client session

Public function

FSimpleMulti...

 

OnKnownServersUpdated()

Get the delegate callback for when the known server list is updated

Public function

FOnConcertCl...

 

OnSessionConnectionChanged()

Get the delegate that is called when the session connection state changes

Public function

FOnConcertCl...

 

OnSessionShutdown()

Get the delegate that is called right before the client session shutdown

Public function

FOnConcertCl...

 

OnSessionStartup()

Get the delegate that is called right before the client session startup

Public function

TFuture< ECo...

 

RenameSession

(
    const FGuid& ServerAdminEndpointId,
    const FGuid& SessionId,
    const FString& NewName
)

Rename a live or archived session if the client has the permission.

Public function

TFuture< ECo...

 

RestoreSession

(
    const FGuid& ServerAdminEndpointId,
    const FConcertCopySessionArgs& Res...
)

Copy an archived session into a new live session on the server, matching the client configured settings.

Public function

void

 

ResumeSession()

Resume live-updates for the current session (must be paired with a call to SuspendSession).

Public function

void

 

Shutdown()

Shutdown the client, its discovery and session, if any.

Public function

void

 

StartAutoConnect()

Start attempting to auto connect the client to the default session on the default server.

Public function

void

 

StartDiscovery()

Start the discovery service for the client This will look for Concert server and populate the known servers list

Public function

void

 

Startup()

Startup the client, this can be called multiple time Configure needs to be called before startup

Public function

void

 

StopAutoConnect()

Stop the current auto connection if currently enabled.

Public function

void

 

StopDiscovery()

Stop the discovery service for the client

Public function

void

 

SuspendSession()

Suspend live-updates for the current session.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss