Commit a8ae2dad authored by mdulapa's avatar mdulapa

OCVET-230, HttpRequestResolutionHandler-API-v7.doc ,18/Apr/12 5:44 PM

parent d95c46d1
package org.ocap.hn.service;
/**
* This class provides access to the configuration of the content server.
*
* It permits privileged applications to register a handler that maps
* incoming HTTP requests for content streaming to a content binary.
*/
public abstract class MediaServerManager
{
/**
* Protected constructor; not for application use.
*/
protected MediaServerManager()
{
}
/**
* Get the MediaServerManager instance
*/
public static MediaServerManager getInstance()
{
return null;
}
/**
* Registers a HTTP Request resolution handler. If a handler is already
* registered, this method SHALL replace it. If the {@code hrrh} parameter
* is null, any previously registered handler is removed.
*
* @param hrrh The HttpRequestResolutionHandler to register.
*
* @throws SecurityException if the caller does not have
* MonitorAppPermission("handler.homenetwork").
*/
public abstract void setHttpRequestResolutionHandler(HttpRequestResolutionHandler hrrh);
/**
* Gets the port number used in the URL of audio and video content items
* that are streamed over HTTP.
*
* @return The port number on which the content server is listening for
* HTTP streaming requests.
*/
public abstract int getHttpMediaPortNumber();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment