Package com.illumon.iris.controller
Interface ControllerDispatcherHandler.ConnectionFactory
- Enclosing class:
- ControllerDispatcherHandler
public static interface ControllerDispatcherHandler.ConnectionFactory
-
Method Summary
Modifier and TypeMethodDescriptiongetIfAvailable
(String host, int port) make
(String host, int port, com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams, BiConsumer<com.fishlib.net.api.ClientEntry, com.fishlib.base.Command> commandHandler, Consumer<com.fishlib.net.api.ClientEntry> clientDeathHandler, Consumer<QueryDispatcherConnection> newConnectionConsumer)
-
Method Details
-
make
@NotNull QueryDispatcherConnection make(@NotNull String host, int port, @Nullable com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams, @Nullable BiConsumer<com.fishlib.net.api.ClientEntry, com.fishlib.base.Command> commandHandler, @Nullable Consumer<com.fishlib.net.api.ClientEntry> clientDeathHandler, @Nullable Consumer<QueryDispatcherConnection> newConnectionConsumer) throws IOException- Throws:
IOException
-
getIfAvailable
-