<li><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionOut.html"title="class in com.djrapitops.plan.system.info.connection"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../../com/djrapitops/plan/system/info/connection/InfoRequestPageHandler.html"title="class in com.djrapitops.plan.system.info.connection"><spanclass="typeNameLink">Next Class</span></a></li>
<dd><ahref="../../../../../../com/djrapitops/plan/system/SubSystem.html"title="interface in com.djrapitops.plan.system">SubSystem</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ProxyConnectionSystem.html"title="class in com.djrapitops.plan.system.info.connection">ProxyConnectionSystem</a>, <ahref="../../../../../../com/djrapitops/plan/system/info/connection/ServerConnectionSystem.html"title="class in com.djrapitops.plan.system.info.connection">ServerConnectionSystem</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <spanclass="typeNameLabel">ConnectionSystem</span>
extends java.lang.Object
implements <ahref="../../../../../../com/djrapitops/plan/system/SubSystem.html"title="interface in com.djrapitops.plan.system">SubSystem</a></pre>
<divclass="block">ConnectionSystem manages out- and inbound InfoRequest connections.
<p>
It decides what server to use for each request.</div>
</li>
</ul>
</div>
<divclass="summary">
<ulclass="blockList">
<liclass="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="field.summary">
<!---->
</a>
<h3>Field Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Field Summary table, listing fields, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionLog.html"title="class in com.djrapitops.plan.system.info.connection">ConnectionLog</a></code></td>
<tdclass="colFirst"><code>protected java.util.Map<java.util.UUID,<ahref="../../../../../../com/djrapitops/plan/system/info/server/Server.html"title="class in com.djrapitops.plan.system.info.server">Server</a>></code></td>
<tdclass="colFirst"><code>protected <ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequests.html"title="class in com.djrapitops.plan.system.info.request">InfoRequests</a></code></td>
<tdclass="colFirst"><code>protected dagger.Lazy<<ahref="../../../../../../com/djrapitops/plan/system/info/InfoSystem.html"title="class in com.djrapitops.plan.system.info">InfoSystem</a>></code></td>
<tdclass="colFirst"><code>protected <ahref="../../../../../../com/djrapitops/plan/system/info/server/ServerInfo.html"title="class in com.djrapitops.plan.system.info.server">ServerInfo</a></code></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionSystem.html#ConnectionSystem-com.djrapitops.plan.system.info.connection.ConnectionLog-com.djrapitops.plan.system.info.request.InfoRequests-dagger.Lazy-com.djrapitops.plan.system.info.server.ServerInfo-">ConnectionSystem</a></span>(<ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionLog.html"title="class in com.djrapitops.plan.system.info.connection">ConnectionLog</a> connectionLog,
<ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequests.html"title="class in com.djrapitops.plan.system.info.request">InfoRequests</a> infoRequests,
dagger.Lazy<<ahref="../../../../../../com/djrapitops/plan/system/info/InfoSystem.html"title="class in com.djrapitops.plan.system.info">InfoSystem</a>> infoSystem,
<ahref="../../../../../../com/djrapitops/plan/system/info/server/ServerInfo.html"title="class in com.djrapitops.plan.system.info.server">ServerInfo</a> serverInfo)</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<divclass="block">Performs enable actions for the subsystem.</div>
</td>
</tr>
<trid="i2"class="altColor">
<tdclass="colFirst"><code><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionLog.html"title="class in com.djrapitops.plan.system.info.connection">ConnectionLog</a></code></td>
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../../../com/djrapitops/plan/system/info/server/Server.html"title="class in com.djrapitops.plan.system.info.server">Server</a>></code></td>
<tdclass="colFirst"><code><ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequest.html"title="interface in com.djrapitops.plan.system.info.request">InfoRequest</a></code></td>
<tdclass="colFirst"><code>protected abstract <ahref="../../../../../../com/djrapitops/plan/system/info/server/Server.html"title="class in com.djrapitops.plan.system.info.server">Server</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionSystem.html#selectServerForRequest-com.djrapitops.plan.system.info.request.InfoRequest-">selectServerForRequest</a></span>(<ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequest.html"title="interface in com.djrapitops.plan.system.info.request">InfoRequest</a> infoRequest)</code> </td>
</tr>
<trid="i9"class="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionSystem.html#sendInfoRequest-com.djrapitops.plan.system.info.request.InfoRequest-">sendInfoRequest</a></span>(<ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequest.html"title="interface in com.djrapitops.plan.system.info.request">InfoRequest</a> infoRequest)</code> </td>
</tr>
<trid="i10"class="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionSystem.html#sendInfoRequest-com.djrapitops.plan.system.info.request.InfoRequest-com.djrapitops.plan.system.info.server.Server-">sendInfoRequest</a></span>(<ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequest.html"title="interface in com.djrapitops.plan.system.info.request">InfoRequest</a> infoRequest,
<ahref="../../../../../../com/djrapitops/plan/system/info/server/Server.html"title="class in com.djrapitops.plan.system.info.server">Server</a> toServer)</code> </td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionSystem.html#sendWideInfoRequest-com.djrapitops.plan.system.info.request.WideRequest-">sendWideInfoRequest</a></span>(<ahref="../../../../../../com/djrapitops/plan/system/info/request/WideRequest.html"title="interface in com.djrapitops.plan.system.info.request">WideRequest</a> infoRequest)</code> </td>
<pre>protected final <ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionLog.html"title="class in com.djrapitops.plan.system.info.connection">ConnectionLog</a> connectionLog</pre>
</li>
</ul>
<aname="infoRequests">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>infoRequests</h4>
<pre>protected final <ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequests.html"title="class in com.djrapitops.plan.system.info.request">InfoRequests</a> infoRequests</pre>
</li>
</ul>
<aname="infoSystem">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>infoSystem</h4>
<pre>protected final dagger.Lazy<<ahref="../../../../../../com/djrapitops/plan/system/info/InfoSystem.html"title="class in com.djrapitops.plan.system.info">InfoSystem</a>> infoSystem</pre>
</li>
</ul>
<aname="serverInfo">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>serverInfo</h4>
<pre>protected final <ahref="../../../../../../com/djrapitops/plan/system/info/server/ServerInfo.html"title="class in com.djrapitops.plan.system.info.server">ServerInfo</a> serverInfo</pre>
</li>
</ul>
<aname="dataServers">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>dataServers</h4>
<pre>protected java.util.Map<java.util.UUID,<ahref="../../../../../../com/djrapitops/plan/system/info/server/Server.html"title="class in com.djrapitops.plan.system.info.server">Server</a>> dataServers</pre>
<pre>public ConnectionSystem(<ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionLog.html"title="class in com.djrapitops.plan.system.info.connection">ConnectionLog</a> connectionLog,
<ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequests.html"title="class in com.djrapitops.plan.system.info.request">InfoRequests</a> infoRequests,
dagger.Lazy<<ahref="../../../../../../com/djrapitops/plan/system/info/InfoSystem.html"title="class in com.djrapitops.plan.system.info">InfoSystem</a>> infoSystem,
<ahref="../../../../../../com/djrapitops/plan/system/info/server/ServerInfo.html"title="class in com.djrapitops.plan.system.info.server">ServerInfo</a> serverInfo)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="getInfoRequest-java.lang.String-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getInfoRequest</h4>
<pre>public <ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequest.html"title="interface in com.djrapitops.plan.system.info.request">InfoRequest</a> getInfoRequest(java.lang.String name)</pre>
<pre>protected abstract <ahref="../../../../../../com/djrapitops/plan/system/info/server/Server.html"title="class in com.djrapitops.plan.system.info.server">Server</a> selectServerForRequest(<ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequest.html"title="interface in com.djrapitops.plan.system.info.request">InfoRequest</a> infoRequest)
throws <ahref="../../../../../../com/djrapitops/plan/api/exceptions/connection/NoServersException.html"title="class in com.djrapitops.plan.api.exceptions.connection">NoServersException</a></pre>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="../../../../../../com/djrapitops/plan/api/exceptions/connection/NoServersException.html"title="class in com.djrapitops.plan.api.exceptions.connection">NoServersException</a></code></dd>
<pre>public void sendInfoRequest(<ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequest.html"title="interface in com.djrapitops.plan.system.info.request">InfoRequest</a> infoRequest)
throws <ahref="../../../../../../com/djrapitops/plan/api/exceptions/connection/WebException.html"title="class in com.djrapitops.plan.api.exceptions.connection">WebException</a></pre>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="../../../../../../com/djrapitops/plan/api/exceptions/connection/WebException.html"title="class in com.djrapitops.plan.api.exceptions.connection">WebException</a></code></dd>
<pre>public void sendInfoRequest(<ahref="../../../../../../com/djrapitops/plan/system/info/request/InfoRequest.html"title="interface in com.djrapitops.plan.system.info.request">InfoRequest</a> infoRequest,
<ahref="../../../../../../com/djrapitops/plan/system/info/server/Server.html"title="class in com.djrapitops.plan.system.info.server">Server</a> toServer)
throws <ahref="../../../../../../com/djrapitops/plan/api/exceptions/connection/WebException.html"title="class in com.djrapitops.plan.api.exceptions.connection">WebException</a></pre>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="../../../../../../com/djrapitops/plan/api/exceptions/connection/WebException.html"title="class in com.djrapitops.plan.api.exceptions.connection">WebException</a></code></dd>
</dl>
</li>
</ul>
<aname="getConnectionLog--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getConnectionLog</h4>
<pre>public <ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionLog.html"title="class in com.djrapitops.plan.system.info.connection">ConnectionLog</a> getConnectionLog()</pre>
<pre>public abstract void sendWideInfoRequest(<ahref="../../../../../../com/djrapitops/plan/system/info/request/WideRequest.html"title="interface in com.djrapitops.plan.system.info.request">WideRequest</a> infoRequest)
throws <ahref="../../../../../../com/djrapitops/plan/api/exceptions/connection/NoServersException.html"title="class in com.djrapitops.plan.api.exceptions.connection">NoServersException</a></pre>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="../../../../../../com/djrapitops/plan/api/exceptions/connection/NoServersException.html"title="class in com.djrapitops.plan.api.exceptions.connection">NoServersException</a></code></dd>
</dl>
</li>
</ul>
<aname="getDataServers--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getDataServers</h4>
<pre>public java.util.List<<ahref="../../../../../../com/djrapitops/plan/system/info/server/Server.html"title="class in com.djrapitops.plan.system.info.server">Server</a>> getDataServers()</pre>
</li>
</ul>
<aname="enable--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>enable</h4>
<pre>public void enable()</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../../com/djrapitops/plan/system/SubSystem.html#enable--">SubSystem</a></code></span></div>
<divclass="block">Performs enable actions for the subsystem.</div>
<dd><code><ahref="../../../../../../com/djrapitops/plan/system/SubSystem.html#enable--">enable</a></code> in interface <code><ahref="../../../../../../com/djrapitops/plan/system/SubSystem.html"title="interface in com.djrapitops.plan.system">SubSystem</a></code></dd>
</dl>
</li>
</ul>
<aname="disable--">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>disable</h4>
<pre>public void disable()</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../../com/djrapitops/plan/system/SubSystem.html#disable--">SubSystem</a></code></span></div>
<divclass="block">Performs disable actions for the subsystem</div>
<dd><code><ahref="../../../../../../com/djrapitops/plan/system/SubSystem.html#disable--">disable</a></code> in interface <code><ahref="../../../../../../com/djrapitops/plan/system/SubSystem.html"title="interface in com.djrapitops.plan.system">SubSystem</a></code></dd>
<li><ahref="../../../../../../com/djrapitops/plan/system/info/connection/ConnectionOut.html"title="class in com.djrapitops.plan.system.info.connection"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../../com/djrapitops/plan/system/info/connection/InfoRequestPageHandler.html"title="class in com.djrapitops.plan.system.info.connection"><spanclass="typeNameLink">Next Class</span></a></li>