1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-19 23:23:25 +02:00
- Added a constructor for `ReceiverThread`

Sender

- Added a constructor for `SenderThread`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-09 11:16:53 +02:00
parent 175138f91e
commit 3e25c70e37
2 changed files with 24 additions and 0 deletions

View File

@ -30,4 +30,16 @@ public final class ReceiverThread : Thread
* The associated IRC client
*/
private Client client;
/**
* Constructs a new receiver thread with the associated
* client
*
* Params:
* client = the Client to associate with
*/
this(Client client)
{
this.client = client;
}
}

View File

@ -30,4 +30,16 @@ public final class SenderThread : Thread
* The associated IRC client
*/
private Client client;
/**
* Constructs a new sender thread with the associated
* client
*
* Params:
* client = the Client to associate with
*/
this(Client client)
{
this.client = client;
}
}