IAdapterHubCallbacks
Namespace: Meshmakers.Octo.Communication.Contracts.Hubs
Interfaces of callbacks that can be called by the adapter hub.
public interface IAdapterHubCallbacks
Methods
AdapterConfigurationUpdatedAsync(String, AdapterConfigurationDto)
Informs an adapter that its configuration has been updated.
Task AdapterConfigurationUpdatedAsync(string tenantId, AdapterConfigurationDto adapterConfiguration)
Parameters
tenantId
String
Tenant identifier
adapterConfiguration
AdapterConfigurationDto
The adapter configuration data transfer object
Returns
PreUpdateTenantAsync(String)
Informs an adapter that the tenant is being updated.
Task PreUpdateTenantAsync(string tenantId)
Parameters
tenantId
String
Tenant identifier
Returns
Remarks:
This disconnects the adapter from services. The adapter needs to retry connection after some time.