Archiviert
13
0
Dieses Repository wurde am 2021-01-06 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
ProtocolLib/Javadoc/com/comphenix/protocol/ProtocolLibrary.html

405 Zeilen
23 KiB
HTML

2012-10-17 08:07:20 +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>
2013-02-05 23:35:15 +01:00
<!-- Generated by javadoc (version 1.7.0_07) on Tue Feb 05 23:33:34 CET 2013 -->
2012-10-17 08:07:20 +02:00
<title>ProtocolLibrary</title>
2013-02-05 23:35:15 +01:00
<meta name="date" content="2013-02-05">
2012-10-17 08:07:20 +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="ProtocolLibrary";
}
//-->
</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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/ProtocolLibrary.html">Use</a></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><a href="../../../com/comphenix/protocol/PacketStream.html" title="interface in com.comphenix.protocol"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/comphenix/protocol/ProtocolManager.html" title="interface in com.comphenix.protocol"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/comphenix/protocol/ProtocolLibrary.html" target="_top">Frames</a></li>
<li><a href="ProtocolLibrary.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.comphenix.protocol</div>
<h2 title="Class ProtocolLibrary" class="title">Class ProtocolLibrary</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
2013-02-05 23:35:15 +01:00
<li><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/PluginBase.html?is-external=true" title="class or interface in org.bukkit.plugin">org.bukkit.plugin.PluginBase</a></li>
2012-10-17 08:07:20 +02:00
<li>
<ul class="inheritance">
2013-02-05 23:35:15 +01:00
<li><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true" title="class or interface in org.bukkit.plugin.java">org.bukkit.plugin.java.JavaPlugin</a></li>
2012-10-17 08:07:20 +02:00
<li>
<ul class="inheritance">
<li>com.comphenix.protocol.ProtocolLibrary</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
2013-02-05 23:35:15 +01:00
<dd><a href="http://jd.bukkit.org/apidocs/org/bukkit/command/CommandExecutor.html?is-external=true" title="class or interface in org.bukkit.command">CommandExecutor</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/command/TabCompleter.html?is-external=true" title="class or interface in org.bukkit.command">TabCompleter</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/command/TabExecutor.html?is-external=true" title="class or interface in org.bukkit.command">TabExecutor</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true" title="class or interface in org.bukkit.plugin">Plugin</a></dd>
2012-10-17 08:07:20 +02:00
</dl>
<hr>
<br>
<pre>public class <span class="strong">ProtocolLibrary</span>
2013-02-05 23:35:15 +01:00
extends <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true" title="class or interface in org.bukkit.plugin.java">JavaPlugin</a></pre>
2012-10-17 08:07:20 +02:00
<div class="block">The main entry point for ProtocolLib.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Kristian</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/comphenix/protocol/ProtocolLibrary.html#ProtocolLibrary()">ProtocolLibrary</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</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>
<tr class="altColor">
2012-12-27 17:44:04 +01:00
<td class="colFirst"><code>static <a href="../../../com/comphenix/protocol/error/ErrorReporter.html" title="interface in com.comphenix.protocol.error">ErrorReporter</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/comphenix/protocol/ProtocolLibrary.html#getErrorReporter()">getErrorReporter</a></strong>()</code>
<div class="block">Retrieve the current error reporter.</div>
</td>
</tr>
<tr class="rowColor">
2012-10-17 08:07:20 +02:00
<td class="colFirst"><code>static <a href="../../../com/comphenix/protocol/ProtocolManager.html" title="interface in com.comphenix.protocol">ProtocolManager</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/comphenix/protocol/ProtocolLibrary.html#getProtocolManager()">getProtocolManager</a></strong>()</code>
<div class="block">Retrieves the packet protocol manager.</div>
</td>
</tr>
2012-12-27 17:44:04 +01:00
<tr class="altColor">
2013-02-05 23:35:15 +01:00
<td class="colFirst"><code>com.comphenix.protocol.metrics.Statistics</code></td>
2012-10-17 08:07:20 +02:00
<td class="colLast"><code><strong><a href="../../../com/comphenix/protocol/ProtocolLibrary.html#getStatistics()">getStatistics</a></strong>()</code>
<div class="block">Retrieve the metrics instance used to measure users of this library.</div>
</td>
</tr>
2012-12-27 17:44:04 +01:00
<tr class="rowColor">
2012-10-17 08:07:20 +02:00
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/comphenix/protocol/ProtocolLibrary.html#onDisable()">onDisable</a></strong>()</code>&nbsp;</td>
</tr>
2012-12-27 17:44:04 +01:00
<tr class="altColor">
2012-10-17 08:07:20 +02:00
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/comphenix/protocol/ProtocolLibrary.html#onEnable()">onEnable</a></strong>()</code>&nbsp;</td>
</tr>
2012-12-27 17:44:04 +01:00
<tr class="rowColor">
2012-10-17 08:07:20 +02:00
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/comphenix/protocol/ProtocolLibrary.html#onLoad()">onLoad</a></strong>()</code>&nbsp;</td>
</tr>
2012-12-27 17:44:04 +01:00
<tr class="altColor">
2012-11-04 03:50:58 +01:00
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/comphenix/protocol/ProtocolLibrary.html#reloadConfig()">reloadConfig</a></strong>()</code>&nbsp;</td>
</tr>
2012-10-17 08:07:20 +02:00
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.bukkit.plugin.java.JavaPlugin">
<!-- -->
</a>
2013-02-05 23:35:15 +01:00
<h3>Methods inherited from class&nbsp;org.bukkit.plugin.java.<a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true" title="class or interface in org.bukkit.plugin.java">JavaPlugin</a></h3>
<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getClassLoader()" title="class or interface in org.bukkit.plugin.java">getClassLoader</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getCommand(java.lang.String)" title="class or interface in org.bukkit.plugin.java">getCommand</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getConfig()" title="class or interface in org.bukkit.plugin.java">getConfig</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getDatabase()" title="class or interface in org.bukkit.plugin.java">getDatabase</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getDatabaseClasses()" title="class or interface in org.bukkit.plugin.java">getDatabaseClasses</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getDataFolder()" title="class or interface in org.bukkit.plugin.java">getDataFolder</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getDefaultWorldGenerator(java.lang.String, java.lang.String)" title="class or interface in org.bukkit.plugin.java">getDefaultWorldGenerator</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getDescription()" title="class or interface in org.bukkit.plugin.java">getDescription</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getFile()" title="class or interface in org.bukkit.plugin.java">getFile</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getLogger()" title="class or interface in org.bukkit.plugin.java">getLogger</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getPluginLoader()" title="class or interface in org.bukkit.plugin.java">getPluginLoader</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getResource(java.lang.String)" title="class or interface in org.bukkit.plugin.java">getResource</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#getServer()" title="class or interface in org.bukkit.plugin.java">getServer</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#initialize(org.bukkit.plugin.PluginLoader, org.bukkit.Server, org.bukkit.plugin.PluginDescriptionFile, java.io.File, java.io.File, java.lang.ClassLoader)" title="class or interface in org.bukkit.plugin.java">initialize</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#installDDL()" title="class or interface in org.bukkit.plugin.java">installDDL</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#isEnabled()" title="class or interface in org.bukkit.plugin.java">isEnabled</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#isInitialized()" title="class or interface in org.bukkit.plugin.java">isInitialized</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#isNaggable()" title="class or interface in org.bukkit.plugin.java">isNaggable</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#onCommand(org.bukkit.command.CommandSender, org.bukkit.command.Command, java.lang.String, java.lang.String[])" title="class or interface in org.bukkit.plugin.java">onCommand</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#onTabComplete(org.bukkit.command.CommandSender, org.bukkit.command.Command, java.lang.String, java.lang.String[])" title="class or interface in org.bukkit.plugin.java">onTabComplete</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugi
2012-10-17 08:07:20 +02:00
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.bukkit.plugin.PluginBase">
<!-- -->
</a>
2013-02-05 23:35:15 +01:00
<h3>Methods inherited from class&nbsp;org.bukkit.plugin.<a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/PluginBase.html?is-external=true" title="class or interface in org.bukkit.plugin">PluginBase</a></h3>
<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/PluginBase.html?is-external=true#equals(java.lang.Object)" title="class or interface in org.bukkit.plugin">equals</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/PluginBase.html?is-external=true#getName()" title="class or interface in org.bukkit.plugin">getName</a>, <a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/PluginBase.html?is-external=true#hashCode()" title="class or interface in org.bukkit.plugin">hashCode</a></code></li>
2012-10-17 08:07:20 +02:00
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ProtocolLibrary()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ProtocolLibrary</h4>
<pre>public&nbsp;ProtocolLibrary()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="onLoad()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onLoad</h4>
<pre>public&nbsp;void&nbsp;onLoad()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
2013-02-05 23:35:15 +01:00
<dd><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true#onLoad()" title="class or interface in org.bukkit.plugin">onLoad</a></code>&nbsp;in interface&nbsp;<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true" title="class or interface in org.bukkit.plugin">Plugin</a></code></dd>
2012-10-17 08:07:20 +02:00
<dt><strong>Overrides:</strong></dt>
2013-02-05 23:35:15 +01:00
<dd><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#onLoad()" title="class or interface in org.bukkit.plugin.java">onLoad</a></code>&nbsp;in class&nbsp;<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true" title="class or interface in org.bukkit.plugin.java">JavaPlugin</a></code></dd>
2012-10-17 08:07:20 +02:00
</dl>
</li>
</ul>
2012-11-04 03:50:58 +01:00
<a name="reloadConfig()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reloadConfig</h4>
<pre>public&nbsp;void&nbsp;reloadConfig()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
2013-02-05 23:35:15 +01:00
<dd><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true#reloadConfig()" title="class or interface in org.bukkit.plugin">reloadConfig</a></code>&nbsp;in interface&nbsp;<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true" title="class or interface in org.bukkit.plugin">Plugin</a></code></dd>
2012-11-04 03:50:58 +01:00
<dt><strong>Overrides:</strong></dt>
2013-02-05 23:35:15 +01:00
<dd><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#reloadConfig()" title="class or interface in org.bukkit.plugin.java">reloadConfig</a></code>&nbsp;in class&nbsp;<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true" title="class or interface in org.bukkit.plugin.java">JavaPlugin</a></code></dd>
2012-11-04 03:50:58 +01:00
</dl>
</li>
</ul>
2012-10-17 08:07:20 +02:00
<a name="onEnable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onEnable</h4>
<pre>public&nbsp;void&nbsp;onEnable()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
2013-02-05 23:35:15 +01:00
<dd><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true#onEnable()" title="class or interface in org.bukkit.plugin">onEnable</a></code>&nbsp;in interface&nbsp;<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true" title="class or interface in org.bukkit.plugin">Plugin</a></code></dd>
2012-10-17 08:07:20 +02:00
<dt><strong>Overrides:</strong></dt>
2013-02-05 23:35:15 +01:00
<dd><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#onEnable()" title="class or interface in org.bukkit.plugin.java">onEnable</a></code>&nbsp;in class&nbsp;<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true" title="class or interface in org.bukkit.plugin.java">JavaPlugin</a></code></dd>
2012-10-17 08:07:20 +02:00
</dl>
</li>
</ul>
<a name="onDisable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onDisable</h4>
<pre>public&nbsp;void&nbsp;onDisable()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
2013-02-05 23:35:15 +01:00
<dd><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true#onDisable()" title="class or interface in org.bukkit.plugin">onDisable</a></code>&nbsp;in interface&nbsp;<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true" title="class or interface in org.bukkit.plugin">Plugin</a></code></dd>
2012-10-17 08:07:20 +02:00
<dt><strong>Overrides:</strong></dt>
2013-02-05 23:35:15 +01:00
<dd><code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true#onDisable()" title="class or interface in org.bukkit.plugin.java">onDisable</a></code>&nbsp;in class&nbsp;<code><a href="http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html?is-external=true" title="class or interface in org.bukkit.plugin.java">JavaPlugin</a></code></dd>
2012-10-17 08:07:20 +02:00
</dl>
</li>
</ul>
2012-12-27 17:44:04 +01:00
<a name="getErrorReporter()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getErrorReporter</h4>
<pre>public static&nbsp;<a href="../../../com/comphenix/protocol/error/ErrorReporter.html" title="interface in com.comphenix.protocol.error">ErrorReporter</a>&nbsp;getErrorReporter()</pre>
<div class="block">Retrieve the current error reporter.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Current error reporter.</dd></dl>
</li>
</ul>
2012-10-17 08:07:20 +02:00
<a name="getProtocolManager()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProtocolManager</h4>
<pre>public static&nbsp;<a href="../../../com/comphenix/protocol/ProtocolManager.html" title="interface in com.comphenix.protocol">ProtocolManager</a>&nbsp;getProtocolManager()</pre>
<div class="block">Retrieves the packet protocol manager.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Packet protocol manager, or NULL if it has been disabled.</dd></dl>
</li>
</ul>
<a name="getStatistics()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getStatistics</h4>
2013-02-05 23:35:15 +01:00
<pre>public&nbsp;com.comphenix.protocol.metrics.Statistics&nbsp;getStatistics()</pre>
2012-10-17 08:07:20 +02:00
<div class="block">Retrieve the metrics instance used to measure users of this library.
<p>
2012-11-04 03:50:58 +01:00
Note that this method may return NULL when the server is reloading or shutting down. It is also
NULL if metrics has been disabled.</div>
2012-10-17 08:07:20 +02:00
<dl><dt><span class="strong">Returns:</span></dt><dd>Metrics instance container.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= 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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/ProtocolLibrary.html">Use</a></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><a href="../../../com/comphenix/protocol/PacketStream.html" title="interface in com.comphenix.protocol"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/comphenix/protocol/ProtocolManager.html" title="interface in com.comphenix.protocol"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/comphenix/protocol/ProtocolLibrary.html" target="_top">Frames</a></li>
<li><a href="ProtocolLibrary.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>