public void run()
    {
        this.running = 1;
        this.log(4, Starting Server...);
        while (this.running) {
            try {
                if (this.connection != null) {
                    try {
                        this.connection.wait();
                    } catch (int v2) {
                    } catch (int v2) {
                    }
                    if ((this.connection.started) && (!this.connection.running)) {
                        this.log(5, Connection was reset.);
                        this.resetConnection();
                    }
                } else {
                    this.parameters.setStatus(com.mwr.jdiesel.api.connectors.Connector$Status.CONNECTING);
                    this.log(4, new StringBuilder().append(Attempting to bind to port ).append(((com.mwr.jdiesel.api.connectors.Server) this.parameters).getPort()).append(...).toString());
                    this.server_socket = new com.mwr.jdiesel.api.connectors.ServerSocketFactory().createSocket(((com.mwr.jdiesel.api.connectors.Server) this.parameters));
                    this.log(4, Waiting for connections...);
                    java.net.Socket v1 = this.server_socket.accept();
                    if (v1 == null) {
                    } else {
                        this.parameters.setStatus(com.mwr.jdiesel.api.connectors.Connector$Status.ONLINE);
                        this.log(4, Accepted connection...);
                        this.log(4, Starting drozer thread...);
                        this.createConnection(new com.mwr.jdiesel.api.transport.SocketTransport(v1));
                    }
                }
            } catch (java.security.UnrecoverableKeyException v0) {
                this.log(6, Error loading key material for SSL.);
                this.stopConnector();
            } catch (java.security.UnrecoverableKeyException v0) {
                this.log(6, IO Error. Resetting connection.);
                System.out.println(new StringBuilder().append(error: ).append(v0.toString()).toString());
                this.resetConnection();
            } catch (java.security.UnrecoverableKeyException v0) {
                this.log(6, Error loading key material for SSL.);
                this.stopConnector();
            } catch (java.security.UnrecoverableKeyException v0) {
                this.log(6, Error loading key material for SSL.);
                this.stopConnector();
            } catch (java.security.UnrecoverableKeyException v0) {
                this.log(6, Error loading key material for SSL.);
                this.stopConnector();
            }
        }
        this.log(4, Stopped.);
        this.parameters.setStatus(com.mwr.jdiesel.api.connectors.Connector$Status.OFFLINE);
        return;
    }