Class AdvertisedServer


  • public class AdvertisedServer
    extends Object
    Advertised server instance
    Author:
    Mladen Turk
    • Constructor Detail

      • AdvertisedServer

        protected AdvertisedServer​(String server)
    • Method Detail

      • 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