/*
 * (C) Copyright 2013 Kurento (http://kurento.org/)
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser General Public License
 * (LGPL) version 2.1 which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/lgpl-2.1.html
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 */

namespace java com.kurento.kms.thrift.api
namespace cpp kurento
namespace * Kurento

/**
 * HttpEndPoint extends MediaSessionEndPoint
 *
 * Constructors:
 * HttpEndPoint ();
 * HttpEndPoint (KmsMediaHttpEndPointConstructorParams);
 * HttpEndPoint (KmsMediaHttpEndPointConstructorParams, KmsMediaObjectConstructorParams);
 * HttpEndPoint (KmsMediaObjectConstructorParams);
 */
const string TYPE_NAME = "HttpEndPoint";

const string CONSTRUCTOR_PARAMS_DATA_TYPE = "KmsMediaHttpEndPointConstructorParams";

struct KmsMediaHttpEndPointConstructorParams {
  2: optional i32 disconnectionTimeout
}

/* METHODS */

/**
This method requests an HttpEndPoint to provide its associated URL.

String getUrl ();
*/
const string GET_URL = "getUrl";

/*
 * (C) Copyright 2013 Kurento (http://kurento.org/)
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser General Public License
 * (LGPL) version 2.1 which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/lgpl-2.1.html
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 */

namespace java com.kurento.kms.thrift.api
namespace cpp kurento
namespace * Kurento

/**
 * HttpEndPoint extends MediaSessionEndPoint
 *
 * Constructors:
 * HttpEndPoint ();
 * HttpEndPoint (KmsMediaHttpEndPointConstructorParams);
 * HttpEndPoint (KmsMediaHttpEndPointConstructorParams, KmsMediaObjectConstructorParams);
 * HttpEndPoint (KmsMediaObjectConstructorParams);
 */
const string TYPE_NAME = "HttpEndPoint";

const string CONSTRUCTOR_PARAMS_DATA_TYPE = "KmsMediaHttpEndPointConstructorParams";

struct KmsMediaHttpEndPointConstructorParams {
  2: optional i32 disconnectionTimeout
  3: optional bool live
}

/* METHODS */

/**
This method requests an HttpEndPoint to provide its associated URL.

String getUrl ();
*/
const string GET_URL = "getUrl";

Add option to indicate if a HttpEndPoint is live or not

Change-Id: I8be2840ec37780ec0d6167d59a9d9420c411989b

KurentoLegacy/kms-interface