Cleaned up code

This commit is contained in:
Tristan B. Kildaire 2020-04-26 13:16:55 +02:00
parent 8083dca414
commit 209e009af6
1 changed files with 2 additions and 5 deletions

View File

@ -368,15 +368,12 @@ public final class BesterConnection : Thread
private JSONValue handlerRun(MessageHandler chosenHandler, JSONValue payload)
{
/* TODO: Send and receive data here */
/* Handler's UNIX domain socket */
Socket handlerSocket = chosenHandler.getNewSocket();
/* Get the payload as a string */
string payloadString = toJSON(payload);
/* Construct the data to send */
byte[] sendBuffer;