|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IServer
IServer: public interface to Server object.
| Method Summary | |
|---|---|
void |
addServerListener(IServerNotify serverListener)
Add server listener |
java.util.List |
getAdminInterfaceObjectList()
Get the list of objects exposed through JMX interface |
com.wowza.util.RandomIdGenerator |
getClientIdGenerator()
Get the client id generator for the server |
HostPort |
getCommandInterfaceHostPort()
Get the definition of the command interface |
ConnectionCounter |
getConnectionCounter()
Get the server connection counter. |
com.wowza.wms.client.ConnectionCounterSimple |
getConnectionCounter(int counterIndex)
Get the server connection counter for a specific technology (see IVHost.COUNTER_*) |
int |
getCoreHandlerPoolSize()
Get the handler core thread pool size. |
int |
getCoreTransportPoolSize()
Get the transport core thread pool size. |
String |
getDateStarted()
Get the date and time the server was started. |
java.util.Properties |
getDynamicLogProperties()
Get the dynamic log properties defined at the server level in conf/log4j.properties |
ThreadPool |
getHandlerThreadPool()
Get the server handler thread pool. |
IOPerformanceCounter |
getIoPerformanceCounter()
Get the server performance counter. |
IOPerformanceCounter |
getIoPerformanceCounter(int counterIndex)
Get the server performance counter for a specific technology (see IVHost.COUNTER_*) |
WMSProperties |
getProperties()
Get server level properties collection |
ThreadPool |
getThreadPool()
Get the server handler thread pool. |
String |
getTimeRunning()
Get a formatted String of how long the server has been running. |
double |
getTimeRunningSeconds()
Get time running in seconds |
ThreadPool |
getTransportThreadPool()
Get the server transport thread pool. |
com.wowza.wms.transport.udp.UDPPortManager |
getUDPPortManager()
Get the UDP port manager which manages the allocation of incoming UDP port binding to be sure there are not port conflicts |
com.wowza.wms.transport.udp.UDPPortSharingManager |
getUDPPortSharingManager()
Get the UDP port sharing manager. |
String[] |
getUserAgents()
Get a pipe "|" delimited list of user agents that the server recognizes as RTMPT client. |
String |
getVersion()
Get server version number. |
VHostList |
getVHostList()
Returns the interface to the VHostList for the server |
boolean |
isDynamicLogContextLoaded(String logContext)
Returns true of the given dynamic log context is already loaded. |
boolean |
isSuspended()
Is the server current suspended |
String |
readConfig(String sName)
Method to read xml config file.. |
void |
reloadVHostConfig()
Reload the VHosts.xml file. |
void |
removeServerListener(IServerNotify serverListener)
Remove server listener |
void |
setCommandInterfaceHostPort(HostPort commandInterfaceHostPort)
Set the definition for the command interface. |
void |
setCoreHandlerPoolSize(int corePoolSize)
Set the handler core thread pool size. |
void |
setCoreTransportPoolSize(int corePoolSize)
Set the transport core thread pool size. |
void |
setDynamicLogProperties(java.util.Properties dynamicLogProperties)
Set the dynamic log properties set at the server level |
void |
setUserAgents(String[] userAgents)
Set a pipe "|" delimited list of user agents that the server recognizes as RTMPT client. |
void |
startCommandInterface()
Start the command interface as defined in Server.xml. |
void |
startVHost(String vhostName)
Start a vHost by name. |
void |
startVHosts()
Start all vHosts |
void |
stopAdminAgent()
Stop the JMX interface |
void |
stopCommandInterface()
Stop the command interface as defined in Server.xml. |
void |
stopVHost(String vhostName)
Stop a vHost by name. |
void |
stopVHosts()
Stop all vHosts |
void |
suspendAllVHosts()
Suspend all virtual hosts (Calls IVHost.suspendAllHostPorts for each vhost) |
void |
suspendServer()
Suspend all virtual hosts and the command interface |
void |
unbindAllVHosts()
Unbind all virtual hosts (Calls IVHost.unbindAllHostPorts for each vhost) |
boolean |
writeConfig(String sName,
String data)
Method to write xml config file.. |
| Method Detail |
|---|
void addServerListener(IServerNotify serverListener)
serverListener - server listenerjava.util.List getAdminInterfaceObjectList()
com.wowza.util.RandomIdGenerator getClientIdGenerator()
HostPort getCommandInterfaceHostPort()
ConnectionCounter getConnectionCounter()
com.wowza.wms.client.ConnectionCounterSimple getConnectionCounter(int counterIndex)
counterIndex - counter index (see IVHost.COUNTER_*)
int getCoreHandlerPoolSize()
int getCoreTransportPoolSize()
String getDateStarted()
java.util.Properties getDynamicLogProperties()
ThreadPool getHandlerThreadPool()
IOPerformanceCounter getIoPerformanceCounter()
IOPerformanceCounter getIoPerformanceCounter(int counterIndex)
counterIndex - counter index (see IVHost.COUNTER_*)
WMSProperties getProperties()
ThreadPool getThreadPool()
String getTimeRunning()
double getTimeRunningSeconds()
ThreadPool getTransportThreadPool()
com.wowza.wms.transport.udp.UDPPortManager getUDPPortManager()
com.wowza.wms.transport.udp.UDPPortSharingManager getUDPPortSharingManager()
String[] getUserAgents()
String getVersion()
VHostList getVHostList()
boolean isDynamicLogContextLoaded(String logContext)
boolean isSuspended()
String readConfig(String sName)
void reloadVHostConfig()
void removeServerListener(IServerNotify serverListener)
serverListener - server listenervoid setCommandInterfaceHostPort(HostPort commandInterfaceHostPort)
commandInterfaceHostPort - host port definition of command interfacevoid setCoreHandlerPoolSize(int corePoolSize)
corePoolSize - core thread pool sizevoid setCoreTransportPoolSize(int corePoolSize)
corePoolSize - core thread pool sizevoid setDynamicLogProperties(java.util.Properties dynamicLogProperties)
dynamicLogProperties - dynamic log properties defined at the server levelvoid setUserAgents(String[] userAgents)
userAgents - pipe "|" delimited list of user agents that the server recognizes as RTMPT clientvoid startCommandInterface()
void startVHost(String vhostName)
vhostName - vHost namevoid startVHosts()
void stopAdminAgent()
void stopCommandInterface()
void stopVHost(String vhostName)
vhostName - vHost namevoid stopVHosts()
void suspendAllVHosts()
void suspendServer()
void unbindAllVHosts()
boolean writeConfig(String sName,
String data)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||