|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IHTTPStreamerAdapter
IHTTPStreamerAdapter: HTTP streaming adapter interface
| Method Summary | |
|---|---|
boolean |
canHandle(String path)
Return true if can handle request |
String |
getAdapterName()
Get the name of this adapter |
com.wowza.wms.httpstreamer.model.HTTPStreamerItem |
getHTTPStreamerItem()
Get the HTTP streamer item associated with this adapter |
String |
getID()
Get the id of this adapter |
int |
getIdleFrequency()
Get the idle frequency (milliseconds) for HTTP requests. |
WMSProperties |
getProperties()
Get properties |
IVHost |
getVHost()
Get the vhost associated with this adapter |
void |
init()
Initialize the HTTP streaming adapter |
void |
service(org.apache.mina.common.IoSession session,
com.wowza.wms.server.RtmpRequestMessage req,
com.wowza.wms.server.RtmpResponseMessage resp)
Called to service each request |
void |
setHTTPStreamerItem(com.wowza.wms.httpstreamer.model.HTTPStreamerItem httpStreamerItem)
Set the HTTP streamer item associated with this adapter |
void |
setID(String id)
Set the id of this adapter |
void |
setProperties(WMSProperties properties)
Set properties |
void |
setVHost(IVHost vhost)
Set the vhost associated with this adapter |
void |
shutdownSession(IHTTPStreamerSession session)
Called when an HTTP streaming session is shutdown |
| Method Detail |
|---|
boolean canHandle(String path)
path - request path
String getAdapterName()
com.wowza.wms.httpstreamer.model.HTTPStreamerItem getHTTPStreamerItem()
String getID()
int getIdleFrequency()
WMSProperties getProperties()
IVHost getVHost()
void init()
void service(org.apache.mina.common.IoSession session,
com.wowza.wms.server.RtmpRequestMessage req,
com.wowza.wms.server.RtmpResponseMessage resp)
session - io sessionreq - requestresp - responsevoid setHTTPStreamerItem(com.wowza.wms.httpstreamer.model.HTTPStreamerItem httpStreamerItem)
httpStreamerItem - HTTP streamer itemvoid setID(String id)
id - id of this adaptervoid setProperties(WMSProperties properties)
properties - propertiesvoid setVHost(IVHost vhost)
vhost - vhostvoid shutdownSession(IHTTPStreamerSession session)
session - HTTP streaming session
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||