IApplicationInstanceNotify, IApplicationNotify, IServerNotify, IServerNotify2, IVHostNotifypublic class ServerListenerStreamDemoPublisher extends Object implements IServerNotify2, IVHostNotify, IApplicationNotify, IApplicationInstanceNotify
| Modifier and Type | Class | Description |
|---|---|---|
class |
ServerListenerStreamDemoPublisher.DemoPublisher |
|
class |
ServerListenerStreamDemoPublisher.DemoPublisherConfig |
|
class |
ServerListenerStreamDemoPublisher.ServerPublisherMap |
|
class |
ServerListenerStreamDemoPublisher.VHostPublishersMap |
| Modifier and Type | Field | Description |
|---|---|---|
static int |
EVENTTYPE_APPLICATION_START |
|
static int |
EVENTTYPE_STREAM_START |
|
static int |
EVENTTYPE_STREAM_STOP |
| Constructor | Description |
|---|---|
ServerListenerStreamDemoPublisher() |
| Modifier and Type | Method | Description |
|---|---|---|
IApplicationInstance |
getAppInstance(IVHost vhost,
ServerListenerStreamDemoPublisher.DemoPublisherConfig config) |
|
IApplicationInstance |
getAppInstance(IVHost vhost,
String appName,
String appInstName) |
|
ServerListenerStreamDemoPublisher.ServerPublisherMap |
getServerPublisherMap() |
|
void |
onApplicationCreate(IApplication application) |
Triggered when application created
|
void |
onApplicationDestroy(IApplication application) |
Triggered when application destroyed
|
void |
onApplicationInstanceCreate(IApplicationInstance applicationInstance) |
Triggered when applicationInstance created
|
void |
onApplicationInstanceDestroy(IApplicationInstance applicationInstance) |
Triggered when applicationInstance destroyed
|
void |
onServerConfigLoaded(IServer server) |
Triggered when server configuration is loaded
|
void |
onServerCreate(IServer server) |
Triggered when server object is first created.
|
void |
onServerInit(IServer server) |
Triggered when server initialization is complete and all VHosts have been started
|
void |
onServerShutdownComplete(IServer server) |
Triggered at the end of server shutdown
|
void |
onServerShutdownStart(IServer server) |
Triggered at the beginning of server shutdown
|
void |
onVHostClientConnect(IVHost vhost,
IClient inClient,
com.wowza.wms.request.RequestFunction function,
AMFDataList params) |
Triggered before a client connects to this virtual host.
|
void |
onVHostCreate(IVHost vhost) |
Triggered when vHost created
|
void |
onVHostInit(IVHost vhost) |
Triggered when vHost initialized
|
void |
onVHostShutdownComplete(IVHost vhost) |
Triggered at the end of vhost shutdown
|
void |
onVHostShutdownStart(IVHost vhost) |
Triggered at the beginning of vhost shutdown
|
void |
shutdownPublisher(ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher) |
|
void |
startupPublisher(IApplicationInstance applicationInstance,
ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher) |
public static final int EVENTTYPE_APPLICATION_START
public static final int EVENTTYPE_STREAM_START
public static final int EVENTTYPE_STREAM_STOP
public IApplicationInstance getAppInstance(IVHost vhost, ServerListenerStreamDemoPublisher.DemoPublisherConfig config)
public IApplicationInstance getAppInstance(IVHost vhost, String appName, String appInstName)
public ServerListenerStreamDemoPublisher.ServerPublisherMap getServerPublisherMap()
public void onApplicationCreate(IApplication application)
IApplicationNotifyonApplicationCreate in interface IApplicationNotifyapplication - applicationpublic void onApplicationDestroy(IApplication application)
IApplicationNotifyonApplicationDestroy in interface IApplicationNotifyapplication - applicationpublic void onApplicationInstanceCreate(IApplicationInstance applicationInstance)
IApplicationInstanceNotifyonApplicationInstanceCreate in interface IApplicationInstanceNotifyapplicationInstance - applicationInstancepublic void onApplicationInstanceDestroy(IApplicationInstance applicationInstance)
IApplicationInstanceNotifyonApplicationInstanceDestroy in interface IApplicationInstanceNotifyapplicationInstance - applicationInstancepublic void onServerConfigLoaded(IServer server)
IServerNotify2onServerConfigLoaded in interface IServerNotify2server - server objectpublic void onServerCreate(IServer server)
IServerNotifyonServerCreate in interface IServerNotifyserver - server objectpublic void onServerInit(IServer server)
IServerNotifyonServerInit in interface IServerNotifyserver - server objectpublic void onServerShutdownComplete(IServer server)
IServerNotifyonServerShutdownComplete in interface IServerNotifyserver - server objectpublic void onServerShutdownStart(IServer server)
IServerNotifyonServerShutdownStart in interface IServerNotifyserver - server objectpublic void onVHostClientConnect(IVHost vhost, IClient inClient, com.wowza.wms.request.RequestFunction function, AMFDataList params)
IVHostNotifyonVHostClientConnect in interface IVHostNotifyinClient - client object of the connectionfunction - functionparams - parameterspublic void onVHostCreate(IVHost vhost)
IVHostNotifyonVHostCreate in interface IVHostNotifypublic void onVHostInit(IVHost vhost)
IVHostNotifyonVHostInit in interface IVHostNotifyvhost - vhostpublic void onVHostShutdownComplete(IVHost vhost)
IVHostNotifyonVHostShutdownComplete in interface IVHostNotifyvhost - vhostpublic void onVHostShutdownStart(IVHost vhost)
IVHostNotifyonVHostShutdownStart in interface IVHostNotifyvhost - vhostpublic void shutdownPublisher(ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher)
public void startupPublisher(IApplicationInstance applicationInstance, ServerListenerStreamDemoPublisher.DemoPublisher demoPublisher)