mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
15 lines
420 B
Dart
15 lines
420 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 Server {
|
|
ServerPrivateInfo spi;
|
|
ServerStatus status;
|
|
SSHClient? client;
|
|
ServerConnectionState cs;
|
|
|
|
Server(this.spi, this.status, this.client, this.cs);
|
|
}
|
|
|
|
enum ServerConnectionState { disconnected, connecting, connected, failed }
|