[an error occurred while processing this directive]
Domain for sale!
Start Search Contents Index Links About
Virus.java

/**
 * This interface defines the basic functions of a
 * Virus. Implementing it should allow an attempt at
 * infecting a Host with this Virus.
 
 @author Havard Rast Blok
 *
 */
public interface Virus {

  /**
   * Trys to infect the given Host with this Virus.
   * A succesful infection is determinted by the
   * ... probabilites implemented in the concrete 
   * Virus and relevant host.
   
   @param host the Host to attempt to infect
   */
  public void infect(Host host);
}


site: Håvard Rast Blok
mail:
updated: 16 July 2010