org.mobicents.media.server.mgcp.controller
Class Configurator

java.lang.Object
  extended by org.mobicents.media.server.mgcp.controller.Configurator

public class Configurator
extends Object

Loads configuration from external xml file.

Author:
kulikov

Constructor Summary
Configurator(InputStream stream)
           
 
Method Summary
 MgcpEndpoint activate(Endpoint endpoint, MgcpProvider mgcpProvider, String address, int port)
          Creates relation between MGCP endpoint(activity) and server endpoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configurator

public Configurator(InputStream stream)
             throws ParserConfigurationException,
                    SAXException,
                    IOException
Throws:
ParserConfigurationException
SAXException
IOException
Method Detail

activate

public MgcpEndpoint activate(Endpoint endpoint,
                             MgcpProvider mgcpProvider,
                             String address,
                             int port)
                      throws Exception
Creates relation between MGCP endpoint(activity) and server endpoint.

Parameters:
endpoint - the server endpoint.
mgcpProvider - the MGCP protocol provider;
address - the address of the domain
port - the port number used for listening
Returns:
MGCP endpoint.
Throws:
Exception


Copyright © 2012 TeleStax, Inc.. All Rights Reserved.