public class ResourcesPool extends Object implements ComponentFactory
| Constructor and Description |
|---|
ResourcesPool(RtpConnectionPool rtpConnections,
LocalConnectionPool localConnections,
AudioPlayerPool players,
AudioRecorderPool recorders,
DtmfDetectorPool dtmfDetectors,
DtmfGeneratorPool dtmfGenerators,
PhoneSignalDetectorPool signalDetectors,
PhoneSignalGeneratorPool signalGenerators) |
| Modifier and Type | Method and Description |
|---|---|
Component |
newAudioComponent(ComponentType componentType) |
Connection |
newConnection(boolean isLocal) |
void |
releaseAudioComponent(Component component,
ComponentType componentType) |
void |
releaseConnection(Connection connection,
boolean isLocal) |
public ResourcesPool(RtpConnectionPool rtpConnections, LocalConnectionPool localConnections, AudioPlayerPool players, AudioRecorderPool recorders, DtmfDetectorPool dtmfDetectors, DtmfGeneratorPool dtmfGenerators, PhoneSignalDetectorPool signalDetectors, PhoneSignalGeneratorPool signalGenerators)
public Component newAudioComponent(ComponentType componentType)
newAudioComponent in interface ComponentFactorypublic void releaseAudioComponent(Component component, ComponentType componentType)
releaseAudioComponent in interface ComponentFactorypublic Connection newConnection(boolean isLocal)
newConnection in interface ComponentFactorypublic void releaseConnection(Connection connection, boolean isLocal)
releaseConnection in interface ComponentFactoryCopyright © 2016 TeleStax, Inc.. All Rights Reserved.