mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 11:22:53 +02:00
Merge branch 'master' into rfc2812
This commit is contained in:
commit
9ff29d177d
@ -744,25 +744,6 @@ public class Client : Thread
|
||||
receiver.rq(message);
|
||||
}
|
||||
|
||||
// /**
|
||||
// * Sends a message to the server by enqueuing it on
|
||||
// * the client-side send queue
|
||||
// *
|
||||
// * Params:
|
||||
// * messageOut = the message to send
|
||||
// */
|
||||
// private void sendMessage(string messageOut)
|
||||
// {
|
||||
// // TODO: Do message splits here
|
||||
|
||||
|
||||
// /* Encode the mesage */
|
||||
// ubyte[] encodedMessage = encodeMessage(messageOut);
|
||||
|
||||
// /* Enqueue the message to the send queue */
|
||||
// sender.sq(encodedMessage);
|
||||
// }
|
||||
|
||||
/**
|
||||
* Sends a message to the server by enqueuing it on
|
||||
* the client-side send queue.
|
||||
|
@ -53,6 +53,13 @@ public final class ReceiverThread : Thread
|
||||
}
|
||||
|
||||
// TODO: Rename to `receiveQ`
|
||||
/**
|
||||
* Enqueues the raw message into the receieve queue
|
||||
* for eventual processing
|
||||
*
|
||||
* Params:
|
||||
* encodedMessage = the message to enqueue
|
||||
*/
|
||||
public void rq(ubyte[] encodedMessage)
|
||||
{
|
||||
/* Lock queue */
|
||||
|
@ -48,6 +48,13 @@ public final class SenderThread : Thread
|
||||
}
|
||||
|
||||
// TODO: Rename to `sendQ`
|
||||
/**
|
||||
* Enqueues the raw message into the send queue
|
||||
* for eventual sending
|
||||
*
|
||||
* Params:
|
||||
* encodedMessage = the message to enqueue
|
||||
*/
|
||||
public void sq(ubyte[] encodedMessage)
|
||||
{
|
||||
/* Lock queue */
|
||||
|
Loading…
Reference in New Issue
Block a user