import net.pterodactylus.xdcc.data.Network.ServerBuilder;
import net.pterodactylus.xdcc.ui.stdin.CommandReader;
import net.pterodactylus.xdcc.ui.stdin.NetworkAdapter;
-import net.pterodactylus.xdcc.ui.telnet.TelnetInterface;
import com.google.common.eventbus.AsyncEventBus;
import com.google.common.eventbus.EventBus;
commandReader.start();
eventBus.register(commandReader);
- TelnetInterface telnetInterface = new TelnetInterface(core, configuration.getTelnetPort());
- telnetInterface.start();
- eventBus.register(telnetInterface);
-
NetworkAdapter networkAcceptor = new NetworkAdapter(eventBus, core, configuration.getTelnetPort());
networkAcceptor.start();