open method
Opens the component.
correlationId
(optional) transaction id to trace execution through call chain. Returns Future that receives error or null no errors occured.
Implementation
@override
Future open(String? correlationId) async {
if (opened) {
return null;
}
if (controller == null) {
var err = ConnectionException(
correlationId, 'NOcontroller', 'Controller reference is missing');
throw err;
}
opened = true;
logger.info(correlationId, 'Opened direct client');
}