Skip to content

Latest commit

 

History

History
353 lines (155 loc) · 4.21 KB

tryorama.trycpconductor.md

File metadata and controls

353 lines (155 loc) · 4.21 KB

Home > @holochain/tryorama > TryCpConductor

TryCpConductor class

A class to manage a conductor running on a TryCP server.

Signature:

export declare class TryCpConductor implements IConductor 

Implements: IConductor

Constructors

Constructor

Modifiers

Description

(constructor)(tryCpClient, id)

Constructs a new instance of the TryCpConductor class

Properties

Property

Modifiers

Type

Description

id

readonly

string

tryCpClient

readonly

TryCpClient

Methods

Method

Modifiers

Description

adminWs()

Get all Admin API methods of the Holochain client.

configure(partialConfig, noDpki, dpkiNetworkSeed)

Create conductor configuration.

connectAppInterface(token, port)

Connect a web socket to the App API.

connectAppWs(_token, port)

Get all App API methods of the Holochain client.

defaultPartialConfig()

static

disconnectAppInterface(port)

Disconnect a web socket from the App API.

disconnectClient()

Disconnect the TryCP client from the TryCP server.

downloadDna(url)

Download a DNA from a URL to the server's file system.

downloadLogs()

installAgentsApps(options)

Install a hApp bundle into the conductor.

installApp(appBundleSource, options)

Install a hApp bundle into the conductor.

off(port)

Detach the registered signal handler.

on(port, signalHandler)

Attach a signal handler.

saveDna(dnaContent)

Upload a DNA file from the local file system to the server.

shutDown()

Shut down the conductor.

startUp(options)

Start a configured conductor.