org.mobicents.media.server.mgcp.controller.naming
Class NamingTree
java.lang.Object
org.mobicents.media.server.mgcp.controller.naming.NamingTree
public class NamingTree
- extends Object
Naming tree for MGCP endpoints.
- Author:
- kulikov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clock
public static org.mobicents.media.server.scheduler.Clock clock
NamingTree
public NamingTree()
register
public void register(MgcpEndpoint endpoint)
- Adds endpoint to this tree.
- Parameters:
endpoint - the endpoint to be added.
unregister
public void unregister(MgcpEndpoint endpoint)
- Removes endpoint from this tree.
- Parameters:
endpoint - the endpoint to be removed.
find
public int find(Text name,
MgcpEndpoint[] endpoints)
throws UnknownEndpointException
- Searches endpoints with specified name pattern
- Parameters:
name - the name pattern to searchendpoints - the list of matching endpoints
- Returns:
- number of found endpoints
- Throws:
UnknownEndpointException
Copyright © 2012 TeleStax, Inc.. All Rights Reserved.