Package com.wowza.wms.module
Class ServerListenerStreamDemoPublisher
- Object
- 
- com.wowza.wms.module.ServerListenerStreamDemoPublisher
 
- 
- All Implemented Interfaces:
- IApplicationInstanceNotify,- IApplicationNotify,- IServerNotify,- IServerNotify2,- IVHostNotify
 
 public class ServerListenerStreamDemoPublisher extends Object implements IServerNotify2, IVHostNotify, IApplicationNotify, IApplicationInstanceNotify 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classServerListenerStreamDemoPublisher.DemoPublisherclassServerListenerStreamDemoPublisher.DemoPublisherConfigclassServerListenerStreamDemoPublisher.ServerPublisherMapclassServerListenerStreamDemoPublisher.VHostPublishersMap
 - 
Field SummaryFields Modifier and Type Field Description static intEVENTTYPE_APPLICATION_STARTstatic intEVENTTYPE_STREAM_STARTstatic intEVENTTYPE_STREAM_STOP
 - 
Constructor SummaryConstructors Constructor Description ServerListenerStreamDemoPublisher()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IApplicationInstancegetAppInstance(IVHost vhost, ServerListenerStreamDemoPublisher.DemoPublisherConfig config)IApplicationInstancegetAppInstance(IVHost vhost, String appName, String appInstName)ServerListenerStreamDemoPublisher.ServerPublisherMapgetServerPublisherMap()voidonApplicationCreate(IApplication application)Triggered when application createdvoidonApplicationDestroy(IApplication application)Triggered when application destroyedvoidonApplicationInstanceCreate(IApplicationInstance applicationInstance)Triggered when applicationInstance createdvoidonApplicationInstanceDestroy(IApplicationInstance applicationInstance)Triggered when applicationInstance destroyedvoidonServerConfigLoaded(IServer server)Triggered when server configuration is loadedvoidonServerCreate(IServer server)Triggered when server object is first created.voidonServerInit(IServer server)Triggered when server initialization is complete and all VHosts have been startedvoidonServerShutdownComplete(IServer server)Triggered at the end of server shutdownvoidonServerShutdownStart(IServer server)Triggered at the beginning of server shutdownvoidonVHostClientConnect(IVHost vhost, IClient inClient, com.wowza.wms.request.RequestFunction function, AMFDataList params)Triggered before a client connects to this virtual host.voidonVHostCreate(IVHost vhost)Triggered when vHost createdvoidonVHostInit(IVHost vhost)Triggered when vHost initializedvoidonVHostShutdownComplete(IVHost vhost)Triggered at the end of vhost shutdownvoidonVHostShutdownStart(IVHost vhost)Triggered at the beginning of vhost shutdownvoidshutdownPublisher(ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher)voidstartupPublisher(IApplicationInstance applicationInstance, ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher)
 
- 
- 
- 
Field Detail- 
EVENTTYPE_STREAM_STOPpublic static final int EVENTTYPE_STREAM_STOP - See Also:
- Constant Field Values
 
 - 
EVENTTYPE_STREAM_STARTpublic static final int EVENTTYPE_STREAM_START - See Also:
- Constant Field Values
 
 - 
EVENTTYPE_APPLICATION_STARTpublic static final int EVENTTYPE_APPLICATION_START - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
onServerCreatepublic void onServerCreate(IServer server) Description copied from interface:IServerNotifyTriggered when server object is first created.- Specified by:
- onServerCreatein interface- IServerNotify
- Parameters:
- server- server object
 
 - 
onServerConfigLoadedpublic void onServerConfigLoaded(IServer server) Description copied from interface:IServerNotify2Triggered when server configuration is loaded- Specified by:
- onServerConfigLoadedin interface- IServerNotify2
- Parameters:
- server- server object
 
 - 
onServerInitpublic void onServerInit(IServer server) Description copied from interface:IServerNotifyTriggered when server initialization is complete and all VHosts have been started- Specified by:
- onServerInitin interface- IServerNotify
- Parameters:
- server- server object
 
 - 
onServerShutdownStartpublic void onServerShutdownStart(IServer server) Description copied from interface:IServerNotifyTriggered at the beginning of server shutdown- Specified by:
- onServerShutdownStartin interface- IServerNotify
- Parameters:
- server- server object
 
 - 
onServerShutdownCompletepublic void onServerShutdownComplete(IServer server) Description copied from interface:IServerNotifyTriggered at the end of server shutdown- Specified by:
- onServerShutdownCompletein interface- IServerNotify
- Parameters:
- server- server object
 
 - 
onVHostCreatepublic void onVHostCreate(IVHost vhost) Description copied from interface:IVHostNotifyTriggered when vHost created- Specified by:
- onVHostCreatein interface- IVHostNotify
 
 - 
getServerPublisherMappublic ServerListenerStreamDemoPublisher.ServerPublisherMap getServerPublisherMap() 
 - 
onVHostInitpublic void onVHostInit(IVHost vhost) Description copied from interface:IVHostNotifyTriggered when vHost initialized- Specified by:
- onVHostInitin interface- IVHostNotify
- Parameters:
- vhost- vhost
 
 - 
onVHostShutdownStartpublic void onVHostShutdownStart(IVHost vhost) Description copied from interface:IVHostNotifyTriggered at the beginning of vhost shutdown- Specified by:
- onVHostShutdownStartin interface- IVHostNotify
- Parameters:
- vhost- vhost
 
 - 
onVHostShutdownCompletepublic void onVHostShutdownComplete(IVHost vhost) Description copied from interface:IVHostNotifyTriggered at the end of vhost shutdown- Specified by:
- onVHostShutdownCompletein interface- IVHostNotify
- Parameters:
- vhost- vhost
 
 - 
onVHostClientConnectpublic void onVHostClientConnect(IVHost vhost, IClient inClient, com.wowza.wms.request.RequestFunction function, AMFDataList params) Description copied from interface:IVHostNotifyTriggered before a client connects to this virtual host. Provides an opportunity to rewrite the information that is being used to connect.- Specified by:
- onVHostClientConnectin interface- IVHostNotify
- inClient- client object of the connection
- function- function
- params- parameters
 
 - 
onApplicationInstanceCreatepublic void onApplicationInstanceCreate(IApplicationInstance applicationInstance) Description copied from interface:IApplicationInstanceNotifyTriggered when applicationInstance created- Specified by:
- onApplicationInstanceCreatein interface- IApplicationInstanceNotify
- Parameters:
- applicationInstance- applicationInstance
 
 - 
onApplicationInstanceDestroypublic void onApplicationInstanceDestroy(IApplicationInstance applicationInstance) Description copied from interface:IApplicationInstanceNotifyTriggered when applicationInstance destroyed- Specified by:
- onApplicationInstanceDestroyin interface- IApplicationInstanceNotify
- Parameters:
- applicationInstance- applicationInstance
 
 - 
onApplicationCreatepublic void onApplicationCreate(IApplication application) Description copied from interface:IApplicationNotifyTriggered when application created- Specified by:
- onApplicationCreatein interface- IApplicationNotify
- Parameters:
- application- application
 
 - 
onApplicationDestroypublic void onApplicationDestroy(IApplication application) Description copied from interface:IApplicationNotifyTriggered when application destroyed- Specified by:
- onApplicationDestroyin interface- IApplicationNotify
- Parameters:
- application- application
 
 - 
getAppInstancepublic IApplicationInstance getAppInstance(IVHost vhost, ServerListenerStreamDemoPublisher.DemoPublisherConfig config) 
 - 
getAppInstancepublic IApplicationInstance getAppInstance(IVHost vhost, String appName, String appInstName) 
 - 
startupPublisherpublic void startupPublisher(IApplicationInstance applicationInstance, ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher) 
 - 
shutdownPublisherpublic void shutdownPublisher(ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher) 
 
- 
 
-