2425262728293031
{ String message = is.readUTF(); if (Config.server.enableChat) { getConnectionManager().iterate(this, new ChatMessageContext(connection.getNickname(), message)); } }
303132333435363738
} } public void iterate(ClientConnection currentClient, IterationContextInterface context) { ChatMessageContext customContext = context.queryPostMessageHandlerContext(); currentClient.sendChatMessage(customContext.getSenderName(), customContext .getMessage()); }