<li><ahref="../../../com/comphenix/protocol/BukkitInitialization.html"title="class in com.comphenix.protocol"><spanclass="strong">Next Class</span></a></li>
<tdclass="colFirst"><code><ahref="../../../com/comphenix/protocol/error/ErrorReporter.html"title="interface in com.comphenix.protocol.error">ErrorReporter</a></code></td>
<tdclass="colFirst"><code><ahref="../../../com/comphenix/protocol/PacketStream.html"title="interface in com.comphenix.protocol">PacketStream</a></code></td>
<tdclass="colFirst"><code>java.util.Set<<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a>></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>
<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>
<tdclass="colLast"><code><strong><ahref="../../../com/comphenix/protocol/AsynchronousManager.html#registerTimeoutHandler(com.comphenix.protocol.events.PacketListener)">registerTimeoutHandler</a></strong>(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</code>
<divclass="block">Register a synchronous listener that handles packets when they time out.</div>
<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>
<tdclass="colLast"><code><strong><ahref="../../../com/comphenix/protocol/AsynchronousManager.html#unregisterTimeoutHandler(com.comphenix.protocol.events.PacketListener)">unregisterTimeoutHandler</a></strong>(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</code>
<divclass="block">Unregisters a given timeout listener.</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.
Use <ahref="../../../com/comphenix/protocol/async/AsyncMarker.html#incrementProcessingDelay()"><code>AsyncMarker.incrementProcessingDelay()</code></a> to delay a packet until its ready to be transmitted.
<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><ahref="../../../com/comphenix/protocol/error/ErrorReporter.html"title="interface in com.comphenix.protocol.error">ErrorReporter</a> getErrorReporter()</pre>
<divclass="block">Retrieve the default error reporter.</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>
<pre>void registerTimeoutHandler(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</pre>
<divclass="block">Register a synchronous listener that handles packets when they time out.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>listener</code> - - synchronous listener that will handle timed out packets.</dd></dl>
<pre>void unregisterTimeoutHandler(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</pre>
<divclass="block">Unregisters a given timeout listener.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>listener</code> - - the timeout listener to unregister.</dd></dl>
</li>
</ul>
<aname="getTimeoutHandlers()">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>getTimeoutHandlers</h4>
<pre>java.util.Set<<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a>> getTimeoutHandlers()</pre>
<divclass="block">Get a immutable list of every registered timeout handler.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>List of every registered timeout handler.</dd></dl>
<li><ahref="../../../com/comphenix/protocol/BukkitInitialization.html"title="class in com.comphenix.protocol"><spanclass="strong">Next Class</span></a></li>