| 29 | virtual int GetLink() { return linkState; } |
| 30 | virtual int QueueSize() { return queue.get_length(); } |
| 31 | virtual NetworkPacket Dequeue() { |
| 32 | if(queue.get_length()) { |
| 33 | return queue.remove_at(0); |
| 34 | } else { |
| 35 | return {nullptr, 0}; |
| 36 | } |
| 37 | } |
| 38 | virtual NetworkPacket DequeueBlocking() { |
| 39 | Scheduler::BlockCurrentThread(blocker, threadLock); |
| 40 |
nothing calls this directly
no test coverage detected