org.mobicents.media.server
Class VirtualEndpointInstaller

java.lang.Object
  extended by org.mobicents.media.server.VirtualEndpointInstaller
All Implemented Interfaces:
EndpointInstaller

public class VirtualEndpointInstaller
extends Object
implements EndpointInstaller

Endpoint installer is used for automatic creation and instalation of endpoints. It uses three parameters: the name pattern, class name and configuration

Author:
kulikov

Constructor Summary
VirtualEndpointInstaller()
          Creates new endpoint installer.
 
Method Summary
 String getEndpointClass()
          Gets the name of the class implementing endpoint.
 int getLocalConnections()
          Gets the number of local connections allowed per endpoint
 String getNamePattern()
          Gets the pattern used for generating endpoint name.
 int getRtpConnections()
          Gets the number of local connections allowed per endpoint
 void install()
          (Non Java-doc.)
 void setDspFactory(DspFactory dspFactory)
           
 void setEndpointClass(String endpointClass)
          Sets the name of the class implementing endpoint.
 void setLocalConnections(int localConnections)
          Sets the number of local connections allowed per endpoint
 void setNamePattern(String namePattern)
          Sets the pattern used for generating endpoint name.
 void setRtpConnections(int rtpConnections)
          Sets the number of local connections allowed per endpoint
 void setServer(Server server)
          Creates relation with server instance.
 void uninstall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualEndpointInstaller

public VirtualEndpointInstaller()
Creates new endpoint installer.

Method Detail

setServer

public void setServer(Server server)
Creates relation with server instance.

Parameters:
server - the server instance.

getNamePattern

public String getNamePattern()
Gets the pattern used for generating endpoint name.

Returns:
text pattern

setNamePattern

public void setNamePattern(String namePattern)
Sets the pattern used for generating endpoint name.

Parameters:
namePattern - the pattern text.

getEndpointClass

public String getEndpointClass()
Gets the name of the class implementing endpoint.

Returns:
the fully qualified class name.

setEndpointClass

public void setEndpointClass(String endpointClass)
Sets the name of the class implementing endpoint.

Parameters:
endpointClass - the fully qualified class name.

setDspFactory

public void setDspFactory(DspFactory dspFactory)

getLocalConnections

public int getLocalConnections()
Gets the number of local connections allowed per endpoint

Returns:
the number of local connections.

setLocalConnections

public void setLocalConnections(int localConnections)
Sets the number of local connections allowed per endpoint

Parameters:
localConnections - the number of local connections.

getRtpConnections

public int getRtpConnections()
Gets the number of local connections allowed per endpoint

Returns:
the number of local connections.

setRtpConnections

public void setRtpConnections(int rtpConnections)
Sets the number of local connections allowed per endpoint

Parameters:
localConnections - the number of local connections.

install

public void install()
(Non Java-doc.)

Specified by:
install in interface EndpointInstaller
Throws:
ResourceUnavailableException

uninstall

public void uninstall()
Specified by:
uninstall in interface EndpointInstaller


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