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:
yulian oifa

Field Summary
protected  ConcurrentMap<MgcpConnection> connections
           
protected  int id
           
 
Constructor Summary
protected MgcpCall(CallManager callManager, int id)
           
 
Method Summary
 void deleteConnections()
           
 void exclude(MgcpConnection activity)
          Excludes connection activity from this call.
 MgcpConnection getMgcpConnection(Integer 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 int id

connections

protected ConcurrentMap<MgcpConnection> connections
Constructor Detail

MgcpCall

protected MgcpCall(CallManager callManager,
                   int id)
Method Detail

getMgcpConnection

public MgcpConnection getMgcpConnection(Integer 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 © 2013 TeleStax, Inc.. All Rights Reserved.