tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Utils
IPortAllocator.cs
Go to the documentation of this file.
1
using
System.Threading;
2
using
System.Threading.Tasks;
3
4
namespace
Tgstation.Server.Host.Utils
5
{
9
public
interface
IPortAllocator
10
{
18
ValueTask<ushort?>
GetAvailablePort
(ushort basePort,
bool
checkOne, CancellationToken cancellationToken);
19
}
20
}
Tgstation.Server.Host.Utils.IPortAllocator
Gets unassigned ports for use by TGS.
Definition
IPortAllocator.cs:10
Tgstation.Server.Host.Utils.IPortAllocator.GetAvailablePort
ValueTask< ushort?> GetAvailablePort(ushort basePort, bool checkOne, CancellationToken cancellationToken)
Gets a port not currently in use by TGS.
Tgstation.Server.Host.Utils
Definition
AbstractHttpClientFactory.cs:10
Generated by
1.9.8