Navigation
API > API/Plugins > API/Plugins/ConcertClient
References
| Module | ConcertClient |
| Header | /Engine/Plugins/Developer/Concert/ConcertMain/Source/ConcertClient/Public/IConcertClient.h |
| Include | #include "IConcertClient.h" |
Syntax
class IConcertClient
Remarks
Interface for Concert client
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TFuture< EConcertResponseCode > | ArchiveSession
(
const FGuid& ServerAdminEndpointId, |
Archive a live session on the server hosting the session. | |
| TFuture< FConcertAdmin_BatchDeleteSessionResponse > | BatchDeleteSessions
(
const FGuid& ServerAdminEndpointId, |
Deletes several live or archives sessions from the server. | |
| bool | Returns true if the client is configured for auto connection. | ||
| void | Configure
(
const UConcertClientConfig* InSettings |
Configure the client settings and its information. | |
| TFuture< EConcertResponseCode > | CopySession
(
const FGuid& ServerAdminEndpointId, |
Copy a live or and archived session into a new live session on server, matching the configured settings. | |
| TFuture< EConcertResponseCode > | CreateSession
(
const FGuid& ServerAdminEndpointId, |
Create a session on the server, matching the client configured settings. | |
| TFuture< EConcertResponseCode > | DeleteSession
(
const FGuid& ServerAdminEndpointId, |
Delete a live or archived session from the server if the client is the owner of the session. | |
| void | Disconnect from the current session. | ||
| TFuture< FConcertAdmin_DropSessionRepositoriesResponse > | DropSessionRepositories
(
const FGuid& ServerAdminEndpointId, |
Drop a set of repositories (and delete the files) from the server. | |
| TFuture< FConcertAdmin_GetSessionsResponse > | GetArchivedSessions
(
const FGuid& ServerAdminEndpointId |
Get the list of the archived sessions data from a server | |
| const FConcertClientInfo & | 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(). | ||
| const UConcertClientConfig * | Return The configuration of this client, or null if it hasn't been configured. | ||
| TSharedPtr< IConcertClientSession > | Get the current client session (if any). | ||
| TArray< FConcertServerInfo > | Get the list of discovered server information | ||
| FConcertConnectionError | Get the last connection error | ||
| TFuture< FConcertAdmin_GetSessionsResponse > | GetLiveSessions
(
const FGuid& ServerAdminEndpointId |
Get the list of the live sessions data from a server | |
| const FString & | GetRole () |
Get the role of this client (eg, MultiUser, DisasterRecovery, etc) | |
| EConcertSendReceiveState | Get the send/receive state for this session. | ||
| TFuture< FConcertAdmin_GetAllSessionsResponse > | GetServerSessions
(
const FGuid& ServerAdminEndpointId |
Get the list of sessions available on a server | |
| TFuture< FConcertAdmin_GetSessionActivitiesResponse > | GetSessionActivities
(
const FGuid& ServerAdminEndpointId, |
Get the specified session activities, ordered by Activity ID (ascending) from a live or archived session without being connected to it. | |
| TFuture< FConcertAdmin_GetSessionClientsResponse > | GetSessionClients
(
const FGuid& ServerAdminEndpointId, |
Get the list of clients connected to a session on the server | |
| EConcertConnectionStatus | Get the connection status of client session or disconnected if no session is present | ||
| TFuture< FConcertAdmin_GetSessionRepositoriesResponse > | GetSessionRepositories
(
const FGuid& ServerAdminEndpointId |
Request the list of existing session repositories from the server. | |
| bool | Returns true if the client has an active auto connection routine. | ||
| bool | IsConfigured () |
Return true if the client has been configured. | |
| bool | Returns true if server discovery is enabled. | ||
| bool | IsOwnerOf
(
const FConcertSessionInfo& InSessionInfo |
Does the client think it is the owner of the session? | |
| bool | IsStarted () |
Returns if the client has already been started up. | |
| TFuture< EConcertResponseCode > | JoinSession
(
const FGuid& ServerAdminEndpointId, |
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. | |
| TFuture< FConcertAdmin_MountSessionRepositoryResponse > | MountSessionRepository
(
const FGuid& ServerAdminEndpointId, |
Create or load a repository (directory structure) containing sessions. | |
| FOnConcertClientSessionGetPreConnectionTasks & | Get the delegate that is called to get the pre-connection tasks for a client session | ||
| FSimpleMulticastDelegate & | Get the delegate callback for when the known server list is updated | ||
| FOnConcertClientSessionConnectionChanged & | Get the delegate that is called when the session connection state changes | ||
| FOnConcertClientSessionStartupOrShutdown & | Get the delegate that is called right before the client session shutdown | ||
| FOnConcertClientSessionStartupOrShutdown & | Get the delegate that is called right before the client session startup | ||
| TFuture< EConcertResponseCode > | RenameSession
(
const FGuid& ServerAdminEndpointId, |
Rename a live or archived session if the client has the permission. | |
| TFuture< EConcertResponseCode > | RestoreSession
(
const FGuid& ServerAdminEndpointId, |
Copy an archived session into a new live session on the server, matching the client configured settings. | |
| void | SetSendReceiveState
(
EConcertSendReceiveState InSendReceiveState |
Set the send/receive state for this session. | |
| void | Shutdown () |
Shutdown the client, its discovery and session, if any. | |
| void | Start attempting to auto connect the client to the default session on the default server. | ||
| void | Start the discovery service for the client This will look for Concert server and populate the known servers list | ||
| void | Startup () |
Startup the client, this can be called multiple time Configure needs to be called before startup | |
| void | Stop the current auto connection if currently enabled. | ||
| void | Stop the discovery service for the client |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Use GetSendReceiveState to query the live update status. | ||
| void | Use SetSendReceiveState to change live update status. | ||
| void | Use SetSendReceiveState to change live update status. |