Skip to main content

IPoolHub

Namespace: Meshmakers.Octo.Communication.Contracts.Hubs

Interface of the pool hub that is responsible for registering and unregistering pools and managing their state.

public interface IPoolHub

Methods

RegisterPoolOperatorAsync(String)

Registers a pool at the controller

Task<PoolConfigurationDto> RegisterPoolOperatorAsync(string poolName)

Parameters

poolName String
The name of the pool

Returns

Task<PoolConfigurationDto>

UnregisterPoolOperatorAsync(String)

Unregisters a pool from the controller

Task UnregisterPoolOperatorAsync(string poolName)

Parameters

poolName String
The name of the pool

Returns

Task

UpdateAdapterDeploymentStateAsync(String, RtEntityId, Boolean)

Updates the deployment state of an adapter in a pool

Task UpdateAdapterDeploymentStateAsync(string poolName, RtEntityId adapterRtEntityId, bool deployed)

Parameters

poolName String
The name of the pool

adapterRtEntityId RtEntityId
Runtime entity id of the adapter

deployed Boolean
True if the adapter is deployed, false otherwise

Returns

Task