namespace ZB.MOM.WW.OtOpcUa.Commons.Messages.Admin;
///
/// AdminUI → AdminOperationsActor: reconnect the driver actor's transport without
/// respawning the actor itself. Sends the actor back through its Reconnecting state —
/// fast, preserves in-memory state. The driver actor's supervisor performs the work.
///
/// Cluster scope identifier (for audit).
/// The driver instance to reconnect.
/// The authenticated admin user who triggered the reconnect.
/// Round-trip correlation token.
public sealed record ReconnectDriver(
string ClusterId,
string DriverInstanceId,
string ActorByUserName,
Guid CorrelationId);
/// Reply for .
/// True iff the operation was dispatched without error.
/// Failure reason; null on success.
/// Echoes the request's correlation token.
public sealed record ReconnectDriverResult(
bool Ok,
string? Message,
Guid CorrelationId);