Package septogeddon.pluginquery.channel
Class QueryLimiter
java.lang.Object
septogeddon.pluginquery.QueryChannelHandler
septogeddon.pluginquery.channel.QueryLimiter
-
Field Summary
Fields inherited from class septogeddon.pluginquery.QueryChannelHandler
name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onActive
(QueryConnection connection) void
onInactive
(QueryConnection connection) Methods inherited from class septogeddon.pluginquery.QueryChannelHandler
getName, onAdded, onCaughtException, onHandshake, onReceiving, onRemoved, onSending
-
Constructor Details
-
QueryLimiter
public QueryLimiter(int limit)
-
-
Method Details
-
onActive
- Overrides:
onActive
in classQueryChannelHandler
- Throws:
Exception
-
onInactive
- Overrides:
onInactive
in classQueryChannelHandler
- Throws:
Exception
-