mirror of
https://github.com/besterprotocol/besterd
synced 2023-12-13 21:00:32 +01:00
WIP
This commit is contained in:
parent
5929c83ce4
commit
8918c94ec5
|
@ -430,17 +430,18 @@ private class BesterConnection : Thread
|
|||
JSONValue payloadData = payloadBlock["data"];
|
||||
|
||||
/* Lookup the payloadType handler */
|
||||
MessageHandler chosenHandler;
|
||||
|
||||
for(uint i = 0; i < server.handlers.length; i++)
|
||||
{
|
||||
if(cmp(server.handlers[i].getPluginName(), payloadType) == 0)
|
||||
{
|
||||
chosenHandler = server.handlers[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
MessageHandler chosenHandler;
|
||||
|
||||
for(uint i = 0; i < server.handlers.length; i++)
|
||||
{
|
||||
if(cmp(server.handlers[i].getPluginName(), payloadType) == 0)
|
||||
{
|
||||
chosenHandler = server.handlers[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO: Continue here */
|
||||
|
||||
|
||||
return dispatchStatus;
|
||||
|
|
Loading…
Reference in a new issue