@Override public void begin(HashMap<String, CIArguments> args) { this.startTimeInMillis = System.currentTimeMillis(); addShutdownHooks(); initIO(args.get("--io")); initMessageProviders(); initConnections(); configureArguments(args.get("--general")); messageHandler = new ControllerMessageHandler(this); messageHandler.start(); setStatus("Running!\n"); log(LogCodex.encodeLog(LogType.MESSAGE, initMessages)); }
@Override public void processInformationRequest(Message request, ConnectionHandler conn) { messageHandler.addMessage(request, conn); }