/**
 * Class MediaStream
 * 
 * Represents a mediaStream object.
 * 
 * The underscore is used to declare classes, attributes and methods 
 * as private by naming convention.
 * 
 * Created:		2009_09-25	
 * Modified:	2009_09-28
 *
 * @version 0.1
 * @author Jan Völker
 * @copyright ARD.de
 */

/** 
 * Class constructor
 * @access public
 * @param string Quality of the stream s, m or l
 * @param string Streamingserver URL
 * @param string Stream
 * @return MediaStream
 */
var MediaStream = function(quality, server, stream) {
	this._quality = quality;
	this._server = server;
	this._stream = stream;
};

MediaStream.prototype = {
	/** 
	 * Getter for the mediaStream quality
	 * @access public
	 * @param void
	 * @return string Quality of the stream 0 - small, 1 - medium or 2 - large
	 */
	getQuality: function() {
		return this._quality;
	},
	/** 
	 * Getter for the mediaStream server
	 * @access public
	 * @param void
	 * @return string Streamserver
	 */
	getServer: function() {
		return this._server;
	},
	/** 
	 * Getter for the stream
	 * @access public
	 * @param void
	 * @return string Stream
	 */
	getStream: function() {
		return this._stream;
	}
};
