public class NamingTree extends Object
| Constructor and Description |
|---|
NamingTree() |
| Modifier and Type | Method and Description |
|---|---|
int |
find(Text name,
MgcpEndpoint[] endpoints)
Searches endpoints with specified name pattern
|
void |
register(MgcpEndpoint endpoint,
EndpointInstaller installer)
Adds endpoint to this tree.
|
void |
unregister(MgcpEndpoint endpoint)
Removes endpoint from this tree.
|
public void register(MgcpEndpoint endpoint, EndpointInstaller installer)
endpoint - the endpoint to be added.public void unregister(MgcpEndpoint endpoint)
endpoint - the endpoint to be removed.public int find(Text name, MgcpEndpoint[] endpoints) throws UnknownEndpointException
name - the name pattern to searchendpoints - the list of matching endpointsUnknownEndpointExceptionCopyright © 2017 TeleStax, Inc.. All Rights Reserved.