Class AdvertisedServer

java.lang.Object
org.jboss.modcluster.advertise.impl.AdvertisedServer

public class AdvertisedServer extends Object
Advertised server instance
Author:
Mladen Turk
  • Field Details

  • Constructor Details

    • AdvertisedServer

      protected AdvertisedServer(String server)
  • Method Details

    • setStatus

      protected boolean setStatus(int status, String desc)
    • setDate

      protected void setDate(Date date)
      Set the Date of the last Advertise message
    • setParameter

      protected void setParameter(String name, String value)
      Set the Header
    • getDate

      public Date getDate()
      Get Date of the last Advertise message
    • getStatusCode

      public int getStatusCode()
      Get Status code of the last Advertise message
    • getStatusDescription

      public String getStatusDescription()
      Get Status description of the last Advertise message
    • getParameter

      public String getParameter(String name)
      Get Advertise parameter
    • toString

      public String toString()
      Overrides:
      toString in class Object