Package com.wowza.wms.vhost
Class VHostItem
- Object
-
- com.wowza.wms.vhost.VHostItem
-
public class VHostItem extends Object
VHostItem: data class that hold definition of a virtual host.
-
-
Constructor Summary
Constructors Constructor Description VHostItem()
Create empty vHostItem
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConfigDir()
Get configuration path for vHost.int
getConnectionLimit()
Get connection limit of this vHost item.String
getName()
Get vHost nameWMSProperties
getProperties()
Get propertiesboolean
isVisited()
Has this vHostItem been visited during load of VHosts.xml file.void
reset()
Reset vHostItem to empty statevoid
setConfigDir(String configDir)
Set configuration path for vHost.void
setConnectionLimit(int connectionLimit)
Set connection limit of this vHost item.void
setName(String name)
Set vHost namevoid
setProperties(WMSProperties properties)
Set propertiesvoid
setVisited(boolean visited)
Set is visited.String
toString()
Format vHost item
-
-
-
Method Detail
-
reset
public void reset()
Reset vHostItem to empty state
-
getConfigDir
public String getConfigDir()
Get configuration path for vHost.- Returns:
- configuration path for vHost
-
setConfigDir
public void setConfigDir(String configDir)
Set configuration path for vHost.- Parameters:
configDir
- configuration path for vHost
-
getName
public String getName()
Get vHost name- Returns:
- vHost name
-
setName
public void setName(String name)
Set vHost name- Parameters:
name
- vHost name
-
getProperties
public WMSProperties getProperties()
Get properties- Returns:
- properties
-
setProperties
public void setProperties(WMSProperties properties)
Set properties- Parameters:
properties
- properties
-
isVisited
public boolean isVisited()
Has this vHostItem been visited during load of VHosts.xml file. Internally used to track and delete vHost definitions on reload of VHosts.xml.- Returns:
- Has this vHostItem been visited during load
-
setVisited
public void setVisited(boolean visited)
Set is visited.- Parameters:
visited
- is visited
-
getConnectionLimit
public int getConnectionLimit()
Get connection limit of this vHost item.- Returns:
- connection limit of this vHost item
-
setConnectionLimit
public void setConnectionLimit(int connectionLimit)
Set connection limit of this vHost item.- Parameters:
connectionLimit
- connection limit of this vHost item
-
toString
public String toString()
Format vHost item- Overrides:
toString
in classObject
-
-