From 961b34da38331e9fa845e590facfb98235753ef8 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Mon, 1 Oct 2012 04:59:27 +0200 Subject: [PATCH] Update documentation (may still need some work). --- .../src/com/comphenix/protocol/async/AsyncFilterManager.java | 2 +- ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ProtocolLib/src/com/comphenix/protocol/async/AsyncFilterManager.java b/ProtocolLib/src/com/comphenix/protocol/async/AsyncFilterManager.java index a09bfd13..0862bed4 100644 --- a/ProtocolLib/src/com/comphenix/protocol/async/AsyncFilterManager.java +++ b/ProtocolLib/src/com/comphenix/protocol/async/AsyncFilterManager.java @@ -182,7 +182,7 @@ public class AsyncFilterManager implements AsynchronousManager { // Start the process getSendingQueue(syncPacket).enqueue(newEvent); - // We know this is occuring on the main thread, to pass TRUE + // We know this is occuring on the main thread, so pass TRUE getProcessingQueue(syncPacket).enqueue(newEvent, true); } diff --git a/ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java b/ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java index 3f063eb8..8cecb1c8 100644 --- a/ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java +++ b/ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java @@ -18,6 +18,8 @@ import com.google.common.primitives.Longs; /** * Contains information about the packet that is being processed by asynchronous listeners. + *

+ * Asynchronous listeners can use this to set packet timeout or transmission order. * * @author Kristian */