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 Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclass -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAppInstance(IVHost vhost, String appName, String appInstName) 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 Details
-
EVENTTYPE_STREAM_STOP
public static final int EVENTTYPE_STREAM_STOP- See Also:
-
EVENTTYPE_STREAM_START
public static final int EVENTTYPE_STREAM_START- See Also:
-
EVENTTYPE_APPLICATION_START
public static final int EVENTTYPE_APPLICATION_START- See Also:
-
-
Constructor Details
-
ServerListenerStreamDemoPublisher
public ServerListenerStreamDemoPublisher()
-
-
Method Details
-
onServerCreate
Description copied from interface:IServerNotifyTriggered when server object is first created.- Specified by:
onServerCreatein interfaceIServerNotify- Parameters:
server- server object
-
onServerConfigLoaded
Description copied from interface:IServerNotify2Triggered when server configuration is loaded- Specified by:
onServerConfigLoadedin interfaceIServerNotify2- Parameters:
server- server object
-
onServerInit
Description copied from interface:IServerNotifyTriggered when server initialization is complete and all VHosts have been started- Specified by:
onServerInitin interfaceIServerNotify- Parameters:
server- server object
-
onServerShutdownStart
Description copied from interface:IServerNotifyTriggered at the beginning of server shutdown- Specified by:
onServerShutdownStartin interfaceIServerNotify- Parameters:
server- server object
-
onServerShutdownComplete
Description copied from interface:IServerNotifyTriggered at the end of server shutdown- Specified by:
onServerShutdownCompletein interfaceIServerNotify- Parameters:
server- server object
-
onVHostCreate
Description copied from interface:IVHostNotifyTriggered when vHost created- Specified by:
onVHostCreatein interfaceIVHostNotify
-
getServerPublisherMap
-
onVHostInit
Description copied from interface:IVHostNotifyTriggered when vHost initialized- Specified by:
onVHostInitin interfaceIVHostNotify- Parameters:
vhost- vhost
-
onVHostShutdownStart
Description copied from interface:IVHostNotifyTriggered at the beginning of vhost shutdown- Specified by:
onVHostShutdownStartin interfaceIVHostNotify- Parameters:
vhost- vhost
-
onVHostShutdownComplete
Description copied from interface:IVHostNotifyTriggered at the end of vhost shutdown- Specified by:
onVHostShutdownCompletein interfaceIVHostNotify- Parameters:
vhost- vhost
-
onVHostClientConnect
public 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 interfaceIVHostNotifyinClient- client object of the connectionfunction- functionparams- parameters
-
onApplicationInstanceCreate
Description copied from interface:IApplicationInstanceNotifyTriggered when applicationInstance created- Specified by:
onApplicationInstanceCreatein interfaceIApplicationInstanceNotify- Parameters:
applicationInstance- applicationInstance
-
onApplicationInstanceDestroy
Description copied from interface:IApplicationInstanceNotifyTriggered when applicationInstance destroyed- Specified by:
onApplicationInstanceDestroyin interfaceIApplicationInstanceNotify- Parameters:
applicationInstance- applicationInstance
-
onApplicationCreate
Description copied from interface:IApplicationNotifyTriggered when application created- Specified by:
onApplicationCreatein interfaceIApplicationNotify- Parameters:
application- application
-
onApplicationDestroy
Description copied from interface:IApplicationNotifyTriggered when application destroyed- Specified by:
onApplicationDestroyin interfaceIApplicationNotify- Parameters:
application- application
-
getAppInstance
public IApplicationInstance getAppInstance(IVHost vhost, ServerListenerStreamDemoPublisher.DemoPublisherConfig config) -
getAppInstance
-
startupPublisher
public void startupPublisher(IApplicationInstance applicationInstance, ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher) -
shutdownPublisher
-