mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
15 lines
456 B
Dart
15 lines
456 B
Dart
import 'package:dartssh2/dartssh2.dart';
|
|
import 'package:toolbox/data/model/server/server_private_info.dart';
|
|
import 'package:toolbox/data/model/server/server_status.dart';
|
|
|
|
class ServerInfo {
|
|
ServerPrivateInfo info;
|
|
ServerStatus status;
|
|
SSHClient? client;
|
|
ServerConnectionState connectionState;
|
|
|
|
ServerInfo(this.info, this.status, this.client, this.connectionState);
|
|
}
|
|
|
|
enum ServerConnectionState { disconnected, connecting, connected, failed }
|