ProtocolLib/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html

324 lines
21 KiB
HTML
Raw Normal View History

2012-09-18 17:27:59 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
2012-10-01 05:01:08 +02:00
<!-- Generated by javadoc (version 1.7.0_07) on Mon Oct 01 05:00:24 CEST 2012 -->
2012-09-18 17:27:59 +02:00
<title>Uses of Class com.comphenix.protocol.events.PacketEvent</title>
2012-10-01 05:01:08 +02:00
<meta name="date" content="2012-10-01">
2012-09-18 17:27:59 +02:00
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.comphenix.protocol.events.PacketEvent";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/events/class-use/PacketEvent.html" target="_top">Frames</a></li>
<li><a href="PacketEvent.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.comphenix.protocol.events.PacketEvent" class="title">Uses of Class<br>com.comphenix.protocol.events.PacketEvent</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
2012-10-01 05:01:08 +02:00
<td class="colFirst"><a href="#com.comphenix.protocol">com.comphenix.protocol</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.comphenix.protocol.async">com.comphenix.protocol.async</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
2012-09-18 17:27:59 +02:00
<td class="colFirst"><a href="#com.comphenix.protocol.events">com.comphenix.protocol.events</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.comphenix.protocol.injector">com.comphenix.protocol.injector</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
2012-10-01 05:01:08 +02:00
<li class="blockList"><a name="com.comphenix.protocol">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a> in <a href="../../../../../com/comphenix/protocol/package-summary.html">com.comphenix.protocol</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/package-summary.html">com.comphenix.protocol</a> with parameters of type <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="strong">AsynchronousManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/AsynchronousManager.html#hasAsynchronousListeners(com.comphenix.protocol.events.PacketEvent)">hasAsynchronousListeners</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;packet)</code>
<div class="block">Determine if a given synchronous packet has asynchronous listeners.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.async">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a> in <a href="../../../../../com/comphenix/protocol/async/package-summary.html">com.comphenix.protocol.async</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/async/package-summary.html">com.comphenix.protocol.async</a> with parameters of type <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">AsyncListenerHandler.</span><code><strong><a href="../../../../../com/comphenix/protocol/async/AsyncListenerHandler.html#enqueuePacket(com.comphenix.protocol.events.PacketEvent)">enqueuePacket</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;packet)</code>
<div class="block">Queue a packet for processing.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">AsyncFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#enqueueSyncPacket(com.comphenix.protocol.events.PacketEvent, com.comphenix.protocol.async.AsyncMarker)">enqueueSyncPacket</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;syncPacket,
<a href="../../../../../com/comphenix/protocol/async/AsyncMarker.html" title="class in com.comphenix.protocol.async">AsyncMarker</a>&nbsp;asyncMarker)</code>
<div class="block">Enqueue a packet for asynchronous processing.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="strong">AsyncFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#hasAsynchronousListeners(com.comphenix.protocol.events.PacketEvent)">hasAsynchronousListeners</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;packet)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="strong">AsyncMarker.</span><code><strong><a href="../../../../../com/comphenix/protocol/async/AsyncMarker.html#isMinecraftAsync(com.comphenix.protocol.events.PacketEvent)">isMinecraftAsync</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>
<div class="block">Determine if Minecraft allows asynchronous processing of this packet.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">AsyncMarker.</span><code><strong><a href="../../../../../com/comphenix/protocol/async/AsyncMarker.html#sendPacket(com.comphenix.protocol.events.PacketEvent)">sendPacket</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>
<div class="block">Transmit a given packet to the current packet stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">AsyncFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#signalPacketUpdate(com.comphenix.protocol.events.PacketEvent)">signalPacketUpdate</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;packet)</code>
<div class="block">Signal that a packet is ready to be transmitted.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">AsyncFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/async/AsyncFilterManager.html#signalProcessingDone(com.comphenix.protocol.events.PacketEvent)">signalProcessingDone</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;packet)</code>
<div class="block">Signal that a packet has finished processing.</div>
</td>
</tr>
</tbody>
</table>
</li>
2012-09-18 17:27:59 +02:00
<li class="blockList"><a name="com.comphenix.protocol.events">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a> in <a href="../../../../../com/comphenix/protocol/events/package-summary.html">com.comphenix.protocol.events</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/events/package-summary.html">com.comphenix.protocol.events</a> that return <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<td class="colLast"><span class="strong">PacketEvent.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketEvent.html#fromClient(java.lang.Object, com.comphenix.protocol.events.PacketContainer, org.bukkit.entity.Player)">fromClient</a></strong>(java.lang.Object&nbsp;source,
<a href="../../../../../com/comphenix/protocol/events/PacketContainer.html" title="class in com.comphenix.protocol.events">PacketContainer</a>&nbsp;packet,
org.bukkit.entity.Player&nbsp;client)</code>
<div class="block">Creates an event representing a client packet transmission.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<td class="colLast"><span class="strong">PacketEvent.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketEvent.html#fromServer(java.lang.Object, com.comphenix.protocol.events.PacketContainer, org.bukkit.entity.Player)">fromServer</a></strong>(java.lang.Object&nbsp;source,
<a href="../../../../../com/comphenix/protocol/events/PacketContainer.html" title="class in com.comphenix.protocol.events">PacketContainer</a>&nbsp;packet,
org.bukkit.entity.Player&nbsp;recipient)</code>
<div class="block">Creates an event representing a server packet transmission.</div>
</td>
</tr>
2012-10-01 05:01:08 +02:00
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<td class="colLast"><span class="strong">PacketEvent.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketEvent.html#fromSynchronous(com.comphenix.protocol.events.PacketEvent, com.comphenix.protocol.async.AsyncMarker)">fromSynchronous</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event,
<a href="../../../../../com/comphenix/protocol/async/AsyncMarker.html" title="class in com.comphenix.protocol.async">AsyncMarker</a>&nbsp;marker)</code>
<div class="block">Create an asynchronous packet event from a synchronous event and a async marker.</div>
</td>
</tr>
2012-09-18 17:27:59 +02:00
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/events/package-summary.html">com.comphenix.protocol.events</a> with parameters of type <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
2012-10-01 05:01:08 +02:00
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></code></td>
<td class="colLast"><span class="strong">PacketEvent.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketEvent.html#fromSynchronous(com.comphenix.protocol.events.PacketEvent, com.comphenix.protocol.async.AsyncMarker)">fromSynchronous</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event,
<a href="../../../../../com/comphenix/protocol/async/AsyncMarker.html" title="class in com.comphenix.protocol.async">AsyncMarker</a>&nbsp;marker)</code>
<div class="block">Create an asynchronous packet event from a synchronous event and a async marker.</div>
</td>
</tr>
<tr class="rowColor">
2012-09-18 17:27:59 +02:00
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">PacketListener.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketListener.html#onPacketReceiving(com.comphenix.protocol.events.PacketEvent)">onPacketReceiving</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>
<div class="block">Invoked right before a recieved packet from a client is being processed.</div>
</td>
</tr>
2012-10-01 05:01:08 +02:00
<tr class="altColor">
2012-09-18 17:27:59 +02:00
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">PacketAdapter.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketAdapter.html#onPacketReceiving(com.comphenix.protocol.events.PacketEvent)">onPacketReceiving</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>&nbsp;</td>
</tr>
2012-10-01 05:01:08 +02:00
<tr class="rowColor">
2012-09-18 17:27:59 +02:00
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">PacketListener.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketListener.html#onPacketSending(com.comphenix.protocol.events.PacketEvent)">onPacketSending</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>
<div class="block">Invoked right before a packet is transmitted from the server to the client.</div>
</td>
</tr>
2012-10-01 05:01:08 +02:00
<tr class="altColor">
2012-09-18 17:27:59 +02:00
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">PacketAdapter.</span><code><strong><a href="../../../../../com/comphenix/protocol/events/PacketAdapter.html#onPacketSending(com.comphenix.protocol.events.PacketEvent)">onPacketSending</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.injector">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a> in <a href="../../../../../com/comphenix/protocol/injector/package-summary.html">com.comphenix.protocol.injector</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/injector/package-summary.html">com.comphenix.protocol.injector</a> with parameters of type <a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">PacketFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#invokePacketRecieving(com.comphenix.protocol.events.PacketEvent)">invokePacketRecieving</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>
<div class="block">Invokes the given packet event for every registered listener.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">PacketFilterManager.</span><code><strong><a href="../../../../../com/comphenix/protocol/injector/PacketFilterManager.html#invokePacketSending(com.comphenix.protocol.events.PacketEvent)">invokePacketSending</a></strong>(<a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">PacketEvent</a>&nbsp;event)</code>
<div class="block">Invokes the given packet event for every registered listener.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/events/class-use/PacketEvent.html" target="_top">Frames</a></li>
<li><a href="PacketEvent.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>