com.wowza.wms.vhost
Class VHostItem

Object
  extended by com.wowza.wms.vhost.VHostItem

public class VHostItem
extends Object

VHostItem: data class that hold definition of a virtual host.


Constructor Summary
VHostItem()
          Create empty vHostItem
 
Method Summary
 String getConfigDir()
          Get configuration path for vHost.
 int getConnectionLimit()
          Get connection limit of this vHost item.
 String getName()
          Get vHost name
 WMSProperties getProperties()
          Get properties
 boolean isVisited()
          Has this vHostItem been visited during load of VHosts.xml file.
 void reset()
          Reset vHostItem to empty state
 void 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 name
 void setProperties(WMSProperties properties)
          Set properties
 void setVisited(boolean visited)
          Set is visited.
 String toString()
          Format vHost item
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VHostItem

public VHostItem()
Create empty vHostItem

Method Detail

getConfigDir

public String getConfigDir()
Get configuration path for vHost.

Returns:
configuration path for vHost

getConnectionLimit

public int getConnectionLimit()
Get connection limit of this vHost item.

Returns:
connection limit of this vHost item

getName

public String getName()
Get vHost name

Returns:
vHost name

getProperties

public WMSProperties getProperties()
Get properties

Returns:
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

reset

public void reset()
Reset vHostItem to empty state


setConfigDir

public void setConfigDir(String configDir)
Set configuration path for vHost.

Parameters:
configDir - configuration path for vHost

setConnectionLimit

public void setConnectionLimit(int connectionLimit)
Set connection limit of this vHost item.

Parameters:
connectionLimit - connection limit of this vHost item

setName

public void setName(String name)
Set vHost name

Parameters:
name - vHost name

setProperties

public void setProperties(WMSProperties properties)
Set properties

Parameters:
properties - properties

setVisited

public void setVisited(boolean visited)
Set is visited.

Parameters:
visited - is visited

toString

public String toString()
Format vHost item

Overrides:
toString in class Object