Package com.wowza.wms.vhost
Class VHostItem
Object
com.wowza.wms.vhost.VHostItem
VHostItem: data class that hold definition of a virtual host.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet configuration path for vHost.int
Get connection limit of this vHost item.getName()
Get vHost nameGet propertiesboolean
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
Set vHost namevoid
setProperties
(WMSProperties properties) Set propertiesvoid
setVisited
(boolean visited) Set is visited.toString()
Format vHost item
-
Constructor Details
-
VHostItem
public VHostItem()Create empty vHostItem
-
-
Method Details
-
reset
public void reset()Reset vHostItem to empty state -
getConfigDir
Get configuration path for vHost.- Returns:
- configuration path for vHost
-
setConfigDir
Set configuration path for vHost.- Parameters:
configDir
- configuration path for vHost
-
getName
Get vHost name- Returns:
- vHost name
-
setName
Set vHost name- Parameters:
name
- vHost name
-
getProperties
Get properties- Returns:
- properties
-
setProperties
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
Format vHost item
-