<li><ahref="../../../../../com/comphenix/protocol/injector/player/NetworkServerInjector.html"title="class in com.comphenix.protocol.injector.player"><spanclass="strong">Prev Class</span></a></li>
<ahref="../../../../../com/comphenix/protocol/injector/ListenerInvoker.html"title="interface in com.comphenix.protocol.injector">ListenerInvoker</a> invoker,
org.bukkit.Server server)</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method_summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<divclass="block">Add an underlying packet handler of the given ID.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#checkListener(com.comphenix.protocol.events.PacketListener)">checkListener</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</code>
<divclass="block">Determine if a listener is valid or not.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#checkListener(java.util.Set)">checkListener</a></strong>(java.util.Set<<ahref="../../../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a>> listeners)</code>
<divclass="block">Determine if the given listeners are valid.</div>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a></code></td>
<ahref="../../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> packet,
boolean filters)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#setPlayerHook(com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks)">setPlayerHook</a></strong>(<ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> playerHook)</code>
<divclass="block">Sets how the server packets are read.</div>
<ahref="../../../../../com/comphenix/protocol/injector/ListenerInvoker.html"title="interface in com.comphenix.protocol.injector">ListenerInvoker</a> invoker,
org.bukkit.Server server)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method_detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="getPlayerHook()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getPlayerHook</h4>
<pre>public <ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> getPlayerHook()</pre>
<divclass="block">Retrieves how the server packets are read.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Injection method for reading server packets.</dd></dl>
<pre>public void setPlayerHook(<ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> playerHook)</pre>
<divclass="block">Sets how the server packets are read.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>playerHook</code> - - the new injection method for reading server packets.</dd></dl>
<ahref="../../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> packet,
<pre>public void checkListener(java.util.Set<<ahref="../../../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a>> listeners)</pre>
<divclass="block">Determine if the given listeners are valid.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>listeners</code> - - listeners to check.</dd></dl>
<pre>public void checkListener(<ahref="../../../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</pre>
<divclass="block">Determine if a listener is valid or not.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>listener</code> - - listener to check.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - If the given listener's whitelist cannot be fulfilled.</dd></dl>
<divclass="block">Process a packet as if it were sent by the given player.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>player</code> - - the sender.</dd><dd><code>mcPacket</code> - - the packet to process.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalAccessException</code> - If the reflection machinery failed.</dd>
<dd><code>java.lang.reflect.InvocationTargetException</code> - If the underlying method caused an error.</dd></dl>
<li><ahref="../../../../../com/comphenix/protocol/injector/player/NetworkServerInjector.html"title="class in com.comphenix.protocol.injector.player"><spanclass="strong">Prev Class</span></a></li>