refactor: Expose a method.

This commit is contained in:
Boris Grozev 2016-09-09 07:26:55 -05:00
parent 4216982445
commit 3aaee5acde

View File

@ -447,7 +447,7 @@ public abstract class AbstractUdpListener
* Adds pkt to this socket. If the queue is full, drops a packet. Does * Adds pkt to this socket. If the queue is full, drops a packet. Does
* not block. * not block.
*/ */
protected void addBuffer(Buffer buf) public void addBuffer(Buffer buf)
{ {
synchronized (queue) synchronized (queue)
{ {