In Producer or Consumer in start/stop mode, what should be the "super" call order?

    @Override
    protected void doStart() {
        super.doStart();
        if (chat == null) {
            chat = new MultiUserChat(endpoint.getConnection(), room);
            chat.join(this.endpoint.getNickname());
        }
    }

Wouldn't the endpoint signaling that it is ready when in fact it is not (joining chat may take some seconds)?

Vadim.

Reply via email to