[connection] send queue in NekoConnection

This commit is contained in:
2019-06-03 11:23:20 +03:00
parent 5a3d5b974e
commit 4c8ae66624
13 changed files with 75 additions and 90 deletions

View File

@@ -16,7 +16,7 @@ class NekoWSConnection<O:Message, I:Message> extends NekoConnection<O, I> {
opened = false;
}
override private function _send(packet:O):Void {
override private function sendPacket(packet:O):Void {
var data = PacketUtil.toBytes(packet);
writeData(data, socket);
}