<li><ahref="../../../../com/comphenix/protocol/events/ListenerPriority.html"title="enum in com.comphenix.protocol.events"><spanclass="strong">Next Class</span></a></li>
<li>java.lang.Enum<<ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a>></li>
<dd>java.io.Serializable, java.lang.Comparable<<ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a>></dd>
extends java.lang.Enum<<ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a>></pre>
<divclass="block">Used to set a packet filter.</div>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Enum Constant Summary table, listing enum constants, and an explanation">
<tdclass="colFirst"><code>static <ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a></code></td>
<divclass="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a>[]</code></td>
<pre>public static final <ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a> SERVER_SIDE</pre>
<divclass="block">Listen for server side packets that will invoke onPacketSending().</div>
</li>
</ul>
<aname="CLIENT_SIDE">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>CLIENT_SIDE</h4>
<pre>public static final <ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a> CLIENT_SIDE</pre>
<divclass="block">Listen for client side packets that will invoke onPacketReceiving().</div>
</li>
</ul>
<aname="BOTH">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>BOTH</h4>
<pre>public static final <ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a> BOTH</pre>
<divclass="block">Listen for both client and server side packets.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method_detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="values()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>values</h4>
<pre>public static <ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a>[] values()</pre>
<divclass="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (ConnectionSide c : ConnectionSide.values())
System.out.println(c);
</pre></div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in
the order they are declared</dd></dl>
</li>
</ul>
<aname="valueOf(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>valueOf</h4>
<pre>public static <ahref="../../../../com/comphenix/protocol/events/ConnectionSide.html"title="enum in com.comphenix.protocol.events">ConnectionSide</a> valueOf(java.lang.String name)</pre>
<divclass="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant
with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl>
<li><ahref="../../../../com/comphenix/protocol/events/ListenerPriority.html"title="enum in com.comphenix.protocol.events"><spanclass="strong">Next Class</span></a></li>