public void send(int[] targets,SystemMessage sm){
  if (sm instanceof TOMMessage) {
    clientsConn.send(targets,(TOMMessage)sm,false);
  }
 else {
    Logger.println("--------sending----------> " + sm);
    serversConn.send(targets,sm,true);
  }
}

public void send ( int [ ] targets , SystemMessage sm ) { if ( sm instanceof TOMMessage ) { clientsConn . send ( targets , ( TOMMessage ) sm , false ) ; } else { Logger . println ( "--------sending----------> " + sm ) ; serversConn . send ( targets , sm , true ) ; } }
send a message to target processes . if the message is an instance of tommessage , it is sent to the clients , otherwise it is set to the servers .
