mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 15:22:53 +02:00
Sender
- Added documentation to the `SenderThread` Receiver - Added documentation to the `ReceiveThread`
This commit is contained in:
parent
fc63aaae49
commit
9e68d94120
@ -1,3 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Receive queue management
|
||||||
|
*/
|
||||||
module birchwood.client.receiver;
|
module birchwood.client.receiver;
|
||||||
|
|
||||||
import core.thread : Thread, dur;
|
import core.thread : Thread, dur;
|
||||||
@ -17,6 +20,11 @@ import std.string : indexOf;
|
|||||||
import birchwood.client.events : PongEvent, IRCEvent;
|
import birchwood.client.events : PongEvent, IRCEvent;
|
||||||
import std.string : cmp;
|
import std.string : cmp;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Manages the receive queue and performs
|
||||||
|
* message parsing and event triggering
|
||||||
|
* based on said messages
|
||||||
|
*/
|
||||||
public final class ReceiverThread : Thread
|
public final class ReceiverThread : Thread
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Send queue management
|
||||||
|
*/
|
||||||
module birchwood.client.sender;
|
module birchwood.client.sender;
|
||||||
|
|
||||||
import core.thread : Thread, dur;
|
import core.thread : Thread, dur;
|
||||||
@ -11,6 +14,9 @@ import libsnooze;
|
|||||||
|
|
||||||
import birchwood.client;
|
import birchwood.client;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Manages the send queue
|
||||||
|
*/
|
||||||
public final class SenderThread : Thread
|
public final class SenderThread : Thread
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user