From ac6d9dbc14245e62005cda1711104c62ae009fe3 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Fri, 17 Mar 2023 09:24:24 +0200 Subject: [PATCH] ConnInfo - Added method documentation --- source/birchwood/config/conninfo.d | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/birchwood/config/conninfo.d b/source/birchwood/config/conninfo.d index ce2b9be..df69d94 100644 --- a/source/birchwood/config/conninfo.d +++ b/source/birchwood/config/conninfo.d @@ -36,16 +36,32 @@ public struct ConnectionInfo return this.bulkReadSize; } + /** + * Get the address of the endpoint server + * + * Returns: the server's address + */ public Address getAddr() { return addrInfo; } + /** + * Get the chosen fake lag + * + * Returns: the fake lag in seconds + */ public ulong getFakeLag() { return fakeLag; } + /** + * Sets the fake lag in seconds + * + * Params: + * fakeLag = the fake lag to use + */ public void setFakeLag(ulong fakeLag) { this.fakeLag = fakeLag;