public void start(){
  try {
    heart=new Heart();
    int threads=Integer.parseInt(properties.getProperty("threads","5"));
    for (int i=0; i < threads; i++) {
      Worker worker=new Worker(this,i);
      workers.add(worker);
    }
    client=new Async(this,async_timeout,false);
    client.start(threads);
    alive=true;
    Thread thread=new Thread(this,"Daemon-Poll");
    id=thread.getId();
    thread.start();
  }
 catch (  Exception e) {
    e.printStackTrace(out);
  }
}

public void start ( ) { try { heart = new Heart ( ) ; int threads = Integer . parseInt ( properties . getProperty ( "threads" , "5" ) ) ; for ( int i = 0 ; i < threads ; i ++ ) { Worker worker = new Worker ( this , i ) ; workers . add ( worker ) ; } client = new Async ( this , async_timeout , false ) ; client . start ( threads ) ; alive = true ; Thread thread = new Thread ( this , "Daemon-Poll" ) ; id = thread . getId ( ) ; thread . start ( ) ; } catch ( Exception e ) { e . printStackTrace ( out ) ; } }
starts the selector , heartbeat and worker threads .
