|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.Server
public class Server
| Field Summary | |
|---|---|
org.apache.log4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
Server()
|
|
| Method Summary | |
|---|---|
void |
addInstaller(EndpointInstaller installer)
Installs endpoints defined by specified installer. |
void |
addManager(ServerManager manager)
(Non Java-doc.) |
String |
getBindAddress()
Get the address to which this server is bound |
int |
getEndpointCount()
|
Collection<Endpoint> |
getEndpoints()
|
RTPManager |
getRtpManager()
Gets the access to the RTP manager |
void |
install(Endpoint endpoint)
Installs the specified endpoint. |
Endpoint |
lookup(String name,
boolean bussy)
|
Endpoint[] |
lookupall(String endpointName)
|
void |
removeInstaller(EndpointInstaller installer)
Uninstalls endpoint defined by specified endpoint installer. |
void |
removeManager(ServerManager manager)
(Non Java-doc.) |
void |
setBindAddress(String bindAddress)
Assigns the address to which this server will be bound. |
void |
setClock(Clock clock)
Assigns clock instance. |
void |
setInterface(org.mobicents.media.server.io.network.UdpManager udpManager)
|
void |
setScheduler(Scheduler scheduler)
|
void |
start()
Starts the server. |
void |
stop()
Stops the server. |
void |
uninstalls(String name)
Uninstalls the endpoint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public Server()
| Method Detail |
|---|
public void setClock(Clock clock)
clock - public String getBindAddress()
public void setBindAddress(String bindAddress)
bindAddress - the dotted IP address valuepublic void setScheduler(Scheduler scheduler)
public RTPManager getRtpManager()
public void setInterface(org.mobicents.media.server.io.network.UdpManager udpManager)
public void addInstaller(EndpointInstaller installer)
installer - the endpoints installerpublic void removeInstaller(EndpointInstaller installer)
installer - the endpoints installer.public void install(Endpoint endpoint)
endpoint - the endpoint to installed.public void uninstalls(String name)
name - the local name of the endpoint to be uninstalled
public void start()
throws Exception
Exceptionpublic void stop()
public Endpoint lookup(String name,
boolean bussy)
throws ResourceUnavailableException
lookup in interface MediaServerResourceUnavailableException
public Endpoint[] lookupall(String endpointName)
throws ResourceUnavailableException
lookupall in interface MediaServerResourceUnavailableExceptionpublic int getEndpointCount()
getEndpointCount in interface MediaServerpublic Collection<Endpoint> getEndpoints()
getEndpoints in interface MediaServerpublic void addManager(ServerManager manager)
addManager in interface MediaServerMediaServer.addManager(org.mobicents.media.server.spi.ServerManager)public void removeManager(ServerManager manager)
removeManager in interface MediaServerMediaServer.removeManager(org.mobicents.media.server.spi.ServerManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||