Method

FoundryAcpAgentopen_session

unstable since: 1.2

Declaration [src]

DexFuture*
foundry_acp_agent_open_session (
  FoundryAcpAgent* self,
  FoundryAcpClient* client,
  FoundryBuildPipeline* pipeline
)

Description [src]

Starts a fresh ACP session for self.

Available since: 1.2

Parameters

client

Type: FoundryAcpClient

A FoundryAcpClient to receive client-side requests.

The data is owned by the caller of the method.
pipeline

Type: FoundryBuildPipeline

A FoundryBuildPipeline to use for launch.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.