using System;
using System.Threading.Tasks;
namespace Robust.Shared.Network
{
///
/// The server version of the INetManager.
///
[NotContentImplementable]
public interface IServerNetManager : INetManager
{
public delegate Task NetApprovalDelegate(NetApprovalEventArgs eventArgs);
byte[]? CryptoPublicKey { get; }
AuthMode Auth { get; }
Func>? AssignUserIdCallback { get; set; }
NetApprovalDelegate? HandleApprovalCallback { get; set; }
///
/// Disconnects this channel from the remote peer.
///
/// NetChannel to disconnect.
/// Reason why it was disconnected.
void DisconnectChannel(INetChannel channel, string reason);
}
}