<divclass="block">Retrieve the default error logger.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/comphenix/protocol/PacketStream.html"title="interface in com.comphenix.protocol">PacketStream</a></code></td>
<divclass="block">Retrieves a immutable set containing the ID of the sent server packets that will be
observed by the asynchronous listeners.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/comphenix/protocol/AsynchronousManager.html#hasAsynchronousListeners(com.comphenix.protocol.events.PacketEvent)">hasAsynchronousListeners</a></strong>(<ahref="../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> packet)</code>
<divclass="block">Determine if a given synchronous packet has asynchronous listeners.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/comphenix/protocol/async/AsyncListenerHandler.html"title="class in com.comphenix.protocol.async">AsyncListenerHandler</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/comphenix/protocol/AsynchronousManager.html#registerAsyncHandler(com.comphenix.protocol.events.PacketListener)">registerAsyncHandler</a></strong>(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</code>
<divclass="block">Registers an asynchronous packet handler.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/comphenix/protocol/AsynchronousManager.html#signalPacketTransmission(com.comphenix.protocol.events.PacketEvent)">signalPacketTransmission</a></strong>(<ahref="../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> packet)</code>
<divclass="block">Signal that a packet is ready to be transmitted.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/comphenix/protocol/AsynchronousManager.html#unregisterAsyncHandler(com.comphenix.protocol.async.AsyncListenerHandler)">unregisterAsyncHandler</a></strong>(<ahref="../../../com/comphenix/protocol/async/AsyncListenerHandler.html"title="class in com.comphenix.protocol.async">AsyncListenerHandler</a> handler)</code>
<divclass="block">Unregisters and closes the given asynchronous handler.</div>
<pre><ahref="../../../com/comphenix/protocol/async/AsyncListenerHandler.html"title="class in com.comphenix.protocol.async">AsyncListenerHandler</a> registerAsyncHandler(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</pre>
<divclass="block">Registers an asynchronous packet handler.
<p>
To start listening asynchronously, pass the getListenerLoop() runnable to a different thread.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>listener</code> - - the packet listener that will recieve these asynchronous events.</dd>
<pre>void unregisterAsyncHandler(<ahref="../../../com/comphenix/protocol/async/AsyncListenerHandler.html"title="class in com.comphenix.protocol.async">AsyncListenerHandler</a> handler)</pre>
<divclass="block">Unregisters and closes the given asynchronous handler.</div>
<pre>boolean hasAsynchronousListeners(<ahref="../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> packet)</pre>
<divclass="block">Determine if a given synchronous packet has asynchronous listeners.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>packet</code> - - packet to test.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>TRUE if it does, FALSE otherwise.</dd></dl>
</li>
</ul>
<aname="getPacketStream()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getPacketStream</h4>
<pre><ahref="../../../com/comphenix/protocol/PacketStream.html"title="interface in com.comphenix.protocol">PacketStream</a> getPacketStream()</pre>
<divclass="block">Retrieve the default packet stream.</div>
<pre>void signalPacketTransmission(<ahref="../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> packet)</pre>
<divclass="block">Signal that a packet is ready to be transmitted.
<p>
This should only be called if <ahref="../../../com/comphenix/protocol/async/AsyncMarker.html#incrementProcessingDelay()"><code>AsyncMarker.incrementProcessingDelay()</code></a>
has been called previously.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>packet</code> - - packet to signal.</dd></dl>