class TextServer extends Thread {

    public ConnectionInformation getConnectionInformation()
            throws UnknownHostException {
        final TextConnectionInformation remote = new TextConnectionInformation(
                port);
        remote.setCalledDevice(calledId);
        remote.setCallingDevice(callingId);
        return remote;
    }

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

}