com.wowza.wms.vhost
Class HostPortList

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

public class HostPortList
extends Object

HostPortList: data object that contains a collection of HostPort objects.


Constructor Summary
HostPortList()
          Create empty HostPortList
 
Method Summary
 void add(HostPort hostPort)
          Add HostPort object
 HostPort get(int index)
          Get HostPort object at index, null if out of bounds
 int size()
          Get number of HostPort objects
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostPortList

public HostPortList()
Create empty HostPortList

Method Detail

add

public void add(HostPort hostPort)
Add HostPort object

Parameters:
hostPort -

get

public HostPort get(int index)
Get HostPort object at index, null if out of bounds

Parameters:
index - index
Returns:
HostPort object at index, null if out of bounds

size

public int size()
Get number of HostPort objects

Returns:
number of HostPort objects