Class AdvertisedServer
- java.lang.Object
-
- org.jboss.modcluster.advertise.impl.AdvertisedServer
-
public class AdvertisedServer extends Object
Advertised server instance- Author:
- Mladen Turk
-
-
Field Summary
Fields Modifier and Type Field Description static String
MANAGER_ADDRESS
Manager-Address header
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdvertisedServer(String server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getDate()
Get Date of the last Advertise messageString
getParameter(String name)
Get Advertise parameterint
getStatusCode()
Get Status code of the last Advertise messageString
getStatusDescription()
Get Status description of the last Advertise messageprotected void
setDate(Date date)
Set the Date of the last Advertise messageprotected void
setParameter(String name, String value)
Set the Headerprotected boolean
setStatus(int status, String desc)
String
toString()
-
-
-
Field Detail
-
MANAGER_ADDRESS
public static final String MANAGER_ADDRESS
Manager-Address header- See Also:
- Constant Field Values
-
-
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
-
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
-
-