mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 13:43:19 +02:00
ConnInfo
- Added method documentation
This commit is contained in:
parent
3c6ee2bbbb
commit
ac6d9dbc14
@ -36,16 +36,32 @@ public struct ConnectionInfo
|
|||||||
return this.bulkReadSize;
|
return this.bulkReadSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the address of the endpoint server
|
||||||
|
*
|
||||||
|
* Returns: the server's address
|
||||||
|
*/
|
||||||
public Address getAddr()
|
public Address getAddr()
|
||||||
{
|
{
|
||||||
return addrInfo;
|
return addrInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the chosen fake lag
|
||||||
|
*
|
||||||
|
* Returns: the fake lag in seconds
|
||||||
|
*/
|
||||||
public ulong getFakeLag()
|
public ulong getFakeLag()
|
||||||
{
|
{
|
||||||
return fakeLag;
|
return fakeLag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the fake lag in seconds
|
||||||
|
*
|
||||||
|
* Params:
|
||||||
|
* fakeLag = the fake lag to use
|
||||||
|
*/
|
||||||
public void setFakeLag(ulong fakeLag)
|
public void setFakeLag(ulong fakeLag)
|
||||||
{
|
{
|
||||||
this.fakeLag = fakeLag;
|
this.fakeLag = fakeLag;
|
||||||
|
Loading…
Reference in New Issue
Block a user