[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [platforms/server-manager/src](../README.md) / ServerManager

# Interface: ServerManager

Defined in: [platforms/server-manager/src/index.ts:102](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L102)

Public lifecycle operations for local managed servers.

## Properties

### getState

> **getState**: (`serverId`) => [`ManagedServerState`](ManagedServerState.md)

Defined in: [platforms/server-manager/src/index.ts:106](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L106)

#### Parameters

##### serverId

`string`

#### Returns

[`ManagedServerState`](ManagedServerState.md)

***

### refresh

> **refresh**: () => `Promise`\<[`ManagedServerSnapshot`](ManagedServerSnapshot.md)\>

Defined in: [platforms/server-manager/src/index.ts:103](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L103)

#### Returns

`Promise`\<[`ManagedServerSnapshot`](ManagedServerSnapshot.md)\>

***

### start

> **start**: (`serverId`) => `Promise`\<[`ManagedServerState`](ManagedServerState.md)\>

Defined in: [platforms/server-manager/src/index.ts:104](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L104)

#### Parameters

##### serverId

`string`

#### Returns

`Promise`\<[`ManagedServerState`](ManagedServerState.md)\>

***

### stop

> **stop**: (`serverId`) => `Promise`\<[`ManagedServerState`](ManagedServerState.md)\>

Defined in: [platforms/server-manager/src/index.ts:105](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L105)

#### Parameters

##### serverId

`string`

#### Returns

`Promise`\<[`ManagedServerState`](ManagedServerState.md)\>
