org.mobicents.media.server
Class VirtualSS7EndpointInstaller

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

public class VirtualSS7EndpointInstaller
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
VirtualSS7EndpointInstaller()
          Creates new endpoint installer.
 
Method Summary
 String getEndpointClass()
          Gets the name of the class implementing endpoint.
 boolean getIsALaw()
          Gets the pattern used for generating endpoint name.
 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
 SS7Manager getSS7Manager()
          Gets the SS7Manager used for generating endpoint name.
 int getStartChannelID()
          Gets the pattern used for generating endpoint name.
 void install()
          (Non Java-doc.)
 void setDspFactory(DspFactory dspFactory)
           
 void setEndpointClass(String endpointClass)
          Sets the name of the class implementing endpoint.
 void setIsALaw(boolean isALaw)
          Sets the pattern used for generating endpoint name.
 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 setSS7Manager(SS7Manager ss7Manager)
          Sets the pattern used for generating endpoint name.
 void setStartChannelID(int startChannelID)
          Sets the pattern used for generating endpoint name.
 void uninstall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualSS7EndpointInstaller

public VirtualSS7EndpointInstaller()
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.

getIsALaw

public boolean getIsALaw()
Gets the pattern used for generating endpoint name.

Returns:
text pattern

setIsALaw

public void setIsALaw(boolean isALaw)
Sets the pattern used for generating endpoint name.

Parameters:
namePattern - the pattern text.

getStartChannelID

public int getStartChannelID()
Gets the pattern used for generating endpoint name.

Returns:
text pattern

setStartChannelID

public void setStartChannelID(int startChannelID)
Sets the pattern used for generating endpoint name.

Parameters:
namePattern - the pattern text.

getSS7Manager

public SS7Manager getSS7Manager()
Gets the SS7Manager used for generating endpoint name.

Returns:
SS7Manager

setSS7Manager

public void setSS7Manager(SS7Manager ss7Manager)
Sets the pattern used for generating endpoint name.

Parameters:
SS7Manager - 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.