/* Network-Integrated Multimedia Middleware (NMM)
 * http://www.motama.com/nmm.html
 *
 * Copyright (C) 2006-2007
 * Motama GmbH, Saarbruecken, Germany
 * http://www.motama.com
 *
 * This file is part of NMM. 
 * 
 * NMM is free software; you can redistribute it and/or modify it    
 * under the terms of the GNU General Public License as published by 
 * the Free Software Foundation; only version 2 of the License.      
 * 
 * NMM is distributed in the hope that it will be useful, but WITHOUT 
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 
 * License for more details.  
 * 
 * You should have received a copy of the GNU General Public License 
 * along with NMM; if not, write to the Free Software Foundation,    
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 */

#include "nmm/multimedia/INode.idl"

module NMM {
  
  /** Interface for IceCast sink node.
   */
  interface IIcecast {
    
    /** Set the IP address of the IceCast streaming server.
     */
    Result setServerIP(in string value) limited(INode::INITIALIZED) required(INode::INITIALIZED, INode::ACTIVATED);
    
    /** Set the port of the IceCast streaming server.
     */
    Result setServerPort(in nmm_int32 value) limited(INode::INITIALIZED) required(INode::INITIALIZED, INode::ACTIVATED);

    /** Set the source password for the IceCast streaming server.
     */
    Result setServerPassword(in string value) limited(INode::INITIALIZED) required(INode::INITIALIZED, INode::ACTIVATED);
    
    /** Set the user name for the IceCast streaming server.
     */
    Result setUser(in string value) limited(INode::INITIALIZED) required(INode::INITIALIZED, INode::ACTIVATED);

    /** Set the mount point.
     */
    Result setMountpoint(in string value) limited(INode::INITIALIZED) required(INode::INITIALIZED, INode::ACTIVATED);
    
    /** Set the source title.
     */
    Result setTitle(in string value) limited(INode::INITIALIZED);
    
    /** Set the source name.
     */
    Result setStreamName(in string value) limited(INode::INITIALIZED);

    /** Set the source genre.
     */
    Result setGenre(in string value) limited(INode::INITIALIZED);

    /** Set the source description.
     */
    Result setDescription(in string value) limited(INode::INITIALIZED);

    /** Set the source URL.
     */
    Result setURL(in string value) limited(INode::INITIALIZED);
    
    /** Set public mode.
     */
    Result setPublic(in nmm_int32 value) limited(INode::INITIALIZED);
    
    /** Set whether to send title.
     */
    Result setSendTitle(in nmm_bool value) limited(INode::INITIALIZED);
  };
}
