|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.mgcp.controller.Controller
public class Controller
The MGCP access point.
| Field Summary | |
|---|---|
protected NamingTree |
endpoints
|
protected MgcpProvider |
mgcpProvider
|
protected org.mobicents.media.server.scheduler.Scheduler |
scheduler
|
protected MediaServer |
server
|
| Constructor Summary | |
|---|---|
Controller()
|
|
| Method Summary | |
|---|---|
void |
onStarted(Endpoint endpoint)
|
void |
onStopped(Endpoint endpoint)
|
void |
process(MgcpEvent event)
|
void |
setConfiguration(String url)
Modifies path to the configuration file. |
void |
setPoolSize(int poolSize)
Assigns pool size. |
void |
setPort(int port)
Assigns MGCP port number. |
void |
setScheduler(org.mobicents.media.server.scheduler.Scheduler scheduler)
Sets job scheduler. |
void |
setServer(MediaServer server)
Set server to control. |
void |
setUdpInterface(UdpManager udpInterface)
Assigns UDP network interface. |
void |
start()
Starts controller. |
void |
stop()
Stops controller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.mobicents.media.server.scheduler.Scheduler scheduler
protected MgcpProvider mgcpProvider
protected MediaServer server
protected NamingTree endpoints
| Constructor Detail |
|---|
public Controller()
| Method Detail |
|---|
public void setUdpInterface(UdpManager udpInterface)
udpInterface - the UDP interface .public void setPoolSize(int poolSize)
poolSize - the size of Transaction pool.public void setPort(int port)
port - the port number.public void setServer(MediaServer server)
server - the server instance.public void setScheduler(org.mobicents.media.server.scheduler.Scheduler scheduler)
scheduler - the scheduler instance.
public void setConfiguration(String url)
throws Exception
fileName - the name of the file.
Exceptionpublic void start()
public void stop()
public void process(MgcpEvent event)
process in interface Listener<MgcpEvent>public void onStarted(Endpoint endpoint)
onStarted in interface ServerManagerpublic void onStopped(Endpoint endpoint)
onStopped in interface ServerManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||