<h2title="Uses of Class com.comphenix.protocol.events.PacketEvent"class="title">Uses of Class<br>com.comphenix.protocol.events.PacketEvent</h2>
</div>
<divclass="classUseContainer">
<ulclass="blockList">
<liclass="blockList">
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></span><spanclass="tabEnd"> </span></caption>
<h3>Uses of <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> in <ahref="../../../../../com/comphenix/protocol/package-summary.html">com.comphenix.protocol</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../../com/comphenix/protocol/package-summary.html">com.comphenix.protocol</a> with parameters of type <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><spanclass="strong">AsynchronousManager.</span><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="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">AsynchronousManager.</span><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>
<h3>Uses of <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> in <ahref="../../../../../com/comphenix/protocol/async/package-summary.html">com.comphenix.protocol.async</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../../com/comphenix/protocol/async/package-summary.html">com.comphenix.protocol.async</a> with parameters of type <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">AsyncListenerHandler.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncListenerHandler.html#enqueuePacket(com.comphenix.protocol.events.PacketEvent)">enqueuePacket</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> packet)</code>
<divclass="block">Queue a packet for processing.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">AsyncFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#enqueueSyncPacket(com.comphenix.protocol.events.PacketEvent, com.comphenix.protocol.async.AsyncMarker)">enqueueSyncPacket</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> syncPacket,
<ahref="../../../../../com/comphenix/protocol/async/AsyncMarker.html"title="class in com.comphenix.protocol.async">AsyncMarker</a> asyncMarker)</code>
<divclass="block">Enqueue a packet for asynchronous processing.</div>
<tdclass="colLast"><spanclass="strong">AsyncFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#getProcessingQueue(com.comphenix.protocol.events.PacketEvent)">getProcessingQueue</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> packet)</code>
<divclass="block">Retrieve the processing queue this packet belongs to.</div>
<tdclass="colLast"><spanclass="strong">AsyncFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#getSendingQueue(com.comphenix.protocol.events.PacketEvent)">getSendingQueue</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> packet)</code>
<divclass="block">Retrieve the sending queue this packet belongs to.</div>
<tdclass="colLast"><spanclass="strong">AsyncFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#getSendingQueue(com.comphenix.protocol.events.PacketEvent, boolean)">getSendingQueue</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> packet,
boolean createNew)</code>
<divclass="block">Retrieve the sending queue this packet belongs to.</div>
<tdclass="colLast"><spanclass="strong">AsyncFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncFilterManager.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> </td>
<tdclass="colLast"><spanclass="strong">AsyncMarker.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncMarker.html#isMinecraftAsync(com.comphenix.protocol.events.PacketEvent)">isMinecraftAsync</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code>
<divclass="block">Determine if Minecraft allows asynchronous processing of this packet.</div>
<tdclass="colLast"><spanclass="strong">AsyncFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#signalFreeProcessingSlot(com.comphenix.protocol.events.PacketEvent)">signalFreeProcessingSlot</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 has finished processing.</div>
<tdclass="colLast"><spanclass="strong">AsyncFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/async/AsyncFilterManager.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> </td>
<h3>Uses of <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> in <ahref="../../../../../com/comphenix/protocol/events/package-summary.html">com.comphenix.protocol.events</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../../com/comphenix/protocol/events/package-summary.html">com.comphenix.protocol.events</a> that return <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<ahref="../../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> packet,
<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> client)</code>
<divclass="block">Creates an event representing a client packet transmission.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<ahref="../../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> packet,
<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> recipient)</code>
<divclass="block">Creates an event representing a server packet transmission.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<tdclass="colLast"><spanclass="strong">PacketEvent.</span><code><strong><ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html#fromSynchronous(com.comphenix.protocol.events.PacketEvent, com.comphenix.protocol.async.AsyncMarker)">fromSynchronous</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event,
<ahref="../../../../../com/comphenix/protocol/async/AsyncMarker.html"title="class in com.comphenix.protocol.async">AsyncMarker</a> marker)</code>
<divclass="block">Create an asynchronous packet event from a synchronous event and a async marker.</div>
</td>
</tr>
</tbody>
</table>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../../com/comphenix/protocol/events/package-summary.html">com.comphenix.protocol.events</a> with parameters of type <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<tdclass="colLast"><spanclass="strong">PacketEvent.</span><code><strong><ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html#fromSynchronous(com.comphenix.protocol.events.PacketEvent, com.comphenix.protocol.async.AsyncMarker)">fromSynchronous</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event,
<ahref="../../../../../com/comphenix/protocol/async/AsyncMarker.html"title="class in com.comphenix.protocol.async">AsyncMarker</a> marker)</code>
<divclass="block">Create an asynchronous packet event from a synchronous event and a async marker.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">PacketListener.</span><code><strong><ahref="../../../../../com/comphenix/protocol/events/PacketListener.html#onPacketReceiving(com.comphenix.protocol.events.PacketEvent)">onPacketReceiving</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code>
<divclass="block">Invoked right before a recieved packet from a client is being processed.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">PacketAdapter.</span><code><strong><ahref="../../../../../com/comphenix/protocol/events/PacketAdapter.html#onPacketReceiving(com.comphenix.protocol.events.PacketEvent)">onPacketReceiving</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">PacketListener.</span><code><strong><ahref="../../../../../com/comphenix/protocol/events/PacketListener.html#onPacketSending(com.comphenix.protocol.events.PacketEvent)">onPacketSending</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code>
<divclass="block">Invoked right before a packet is transmitted from the server to the client.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">PacketAdapter.</span><code><strong><ahref="../../../../../com/comphenix/protocol/events/PacketAdapter.html#onPacketSending(com.comphenix.protocol.events.PacketEvent)">onPacketSending</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code> </td>
<h3>Uses of <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> in <ahref="../../../../../com/comphenix/protocol/injector/package-summary.html">com.comphenix.protocol.injector</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../../com/comphenix/protocol/injector/package-summary.html">com.comphenix.protocol.injector</a> with parameters of type <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
<tdclass="colLast"><spanclass="strong">SortedPacketListenerList.</span><code><strong><ahref="../../../../../com/comphenix/protocol/injector/SortedPacketListenerList.html#invokePacketRecieving(com.comphenix.protocol.error.ErrorReporter, com.comphenix.protocol.events.PacketEvent)">invokePacketRecieving</a></strong>(<ahref="../../../../../com/comphenix/protocol/error/ErrorReporter.html"title="interface in com.comphenix.protocol.error">ErrorReporter</a> reporter,
<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code>
<divclass="block">Invokes the given packet event for every registered listener.</div>
<tdclass="colLast"><spanclass="strong">ListenerInvoker.</span><code><strong><ahref="../../../../../com/comphenix/protocol/injector/ListenerInvoker.html#invokePacketRecieving(com.comphenix.protocol.events.PacketEvent)">invokePacketRecieving</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code>
<divclass="block">Invokes the given packet event for every registered listener.</div>
<tdclass="colLast"><spanclass="strong">PacketFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#invokePacketRecieving(com.comphenix.protocol.events.PacketEvent)">invokePacketRecieving</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code> </td>
<tdclass="colLast"><spanclass="strong">SortedPacketListenerList.</span><code><strong><ahref="../../../../../com/comphenix/protocol/injector/SortedPacketListenerList.html#invokePacketSending(com.comphenix.protocol.error.ErrorReporter, com.comphenix.protocol.events.PacketEvent)">invokePacketSending</a></strong>(<ahref="../../../../../com/comphenix/protocol/error/ErrorReporter.html"title="interface in com.comphenix.protocol.error">ErrorReporter</a> reporter,
<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code>
<divclass="block">Invokes the given packet event for every registered listener.</div>
<tdclass="colLast"><spanclass="strong">ListenerInvoker.</span><code><strong><ahref="../../../../../com/comphenix/protocol/injector/ListenerInvoker.html#invokePacketSending(com.comphenix.protocol.events.PacketEvent)">invokePacketSending</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code>
<divclass="block">Invokes the given packet event for every registered listener.</div>
<tdclass="colLast"><spanclass="strong">PacketFilterManager.</span><code><strong><ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#invokePacketSending(com.comphenix.protocol.events.PacketEvent)">invokePacketSending</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> event)</code> </td>
<h3>Uses of <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a> in <ahref="../../../../../com/comphenix/protocol/injector/packet/package-summary.html">com.comphenix.protocol.injector.packet</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../../com/comphenix/protocol/injector/packet/package-summary.html">com.comphenix.protocol.injector.packet</a> that return <ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<tdclass="colLast"><spanclass="strong">PacketInjector.</span><code><strong><ahref="../../../../../com/comphenix/protocol/injector/packet/PacketInjector.html#packetRecieved(com.comphenix.protocol.events.PacketContainer, org.bukkit.entity.Player)">packetRecieved</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> packet,
<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> client)</code>
<divclass="block">Let the packet listeners process the given packet.</div>