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

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

public class MgcpCall
extends Object

MGCP call.

Author:
kulikov

Field Summary
protected  ConcurrentHashMap<Text,MgcpConnection> connections
           
protected  Text id
           
 
Constructor Summary
protected MgcpCall(CallManager callManager, Text id)
           
 
Method Summary
 void deleteConnections()
           
 void exclude(MgcpConnection activity)
          Excludes connection activity from this call.
 MgcpConnection getMgcpConnection(Text id)
           
 int size()
          The amount of connections related to this call.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected Text id

connections

protected ConcurrentHashMap<Text,MgcpConnection> connections
Constructor Detail

MgcpCall

protected MgcpCall(CallManager callManager,
                   Text id)
Method Detail

getMgcpConnection

public MgcpConnection getMgcpConnection(Text id)

exclude

public void exclude(MgcpConnection activity)
Excludes connection activity from this call.

Parameters:
activity - the activity to be excluded.

size

public int size()
The amount of connections related to this call.

Returns:
the amount.

deleteConnections

public void deleteConnections()

toString

public String toString()
Overrides:
toString in class Object


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