net.sourceforge.plantuml.telnet.TelnetServer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.telnet;
import java.net.ServerSocket;
import java.net.Socket;
public class TelnetServer {
// ::remove folder when __HAXE__
// ::remove folder when __CORE__
public static void main(String args[]) throws Exception {
final ServerSocket server = new ServerSocket(4242);
while (true) {
final Socket socket = server.accept();
new AcceptTelnetClient(socket);
}
}
}