class TextServer extends Thread {

    public void sendInput(final String input) throws IOException {
        final TextMessage message = TextMessage.newBuilder()
                .setType(TextMessageType.USER).setData(input)
                .setSequenceNumber(lastSequenceNumber++).build();
        send(message);
    }

    public  TextServer(final String hostname, final int serverPort);
    public  TextServer(final int serverPort);

}