// Copyright (C) 2026 SharpEmu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
using System.Net;
namespace SharpEmu.Debugger.Server;
///
/// A network front-end that exposes a debugger session to remote clients.
///
public interface IDebuggerServer : IAsyncDisposable
{
/// True once the listener is accepting connections.
bool IsListening { get; }
/// The endpoint the server is bound to, or null before start.
IPEndPoint? Endpoint { get; }
/// Binds and begins accepting client connections.
void Start();
/// Stops accepting connections and closes active clients.
Task StopAsync();
}