org.mobicents.media.server.connection
Class LocalToRemoteConnections

java.lang.Object
  extended by org.mobicents.media.server.connection.Connections
      extended by org.mobicents.media.server.connection.LocalToRemoteConnections

public class LocalToRemoteConnections
extends Connections

Implements connection management subsystem. Procedure of joining endponts must work very fast however dynamic connection creation upon request cause long and unpredictable delays. Preallocated connection objects gives better result.

Author:
kulikov

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mobicents.media.server.connection.Connections
Connections.Channel, Connections.LocalChannel
 
Field Summary
 
Fields inherited from class org.mobicents.media.server.connection.Connections
activeConnections, audioChannel, dspFactory, endpoint, localChannels, rtpManager, scheduler, videoChannel
 
Constructor Summary
LocalToRemoteConnections(BaseEndpointImpl endpoint, int localPoolSize, int rtpPoolSize)
           
 
Method Summary
protected  void addToConference(BaseConnection connection)
           
 void updateMode(MediaType mediaType)
          Determines transmission mode between endpoint and connections.
 
Methods inherited from class org.mobicents.media.server.connection.Connections
createConnection, getActiveConnectionsCount, getChannelId, getCheckPoint, getEndpoint, getMixer, getSplitter, release, releaseConnection, removeFromConference, report, updateConnectionChannels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalToRemoteConnections

public LocalToRemoteConnections(BaseEndpointImpl endpoint,
                                int localPoolSize,
                                int rtpPoolSize)
                         throws Exception
Throws:
Exception
Method Detail

addToConference

protected void addToConference(BaseConnection connection)
Overrides:
addToConference in class Connections

updateMode

public void updateMode(MediaType mediaType)
Description copied from class: Connections
Determines transmission mode between endpoint and connections. This method is called when mode of any connection has been changed. It checks modes of all active connections and determines endpoint transition mode as a combination of connections modes.

Overrides:
updateMode in class Connections


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