mirror of
https://github.com/deavmi/birchwood
synced 2024-09-19 23:23:25 +02:00
Receiver
- Added a constructor for `ReceiverThread` Sender - Added a constructor for `SenderThread`
This commit is contained in:
parent
175138f91e
commit
3e25c70e37
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user