public class EndpointQueue extends Object implements MgcpEndpointStateListener
| Modifier and Type | Field and Description |
|---|---|
org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
EndpointQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(MgcpEndpoint endpoint)
Adds new endpoint to the queue.
|
int |
find(Text name,
MgcpEndpoint[] endpoints)
Finds endpoints matching to name pattern.
|
void |
onFreed(MgcpEndpoint endpoint) |
void |
setInstaller(EndpointInstaller installer) |
public void setInstaller(EndpointInstaller installer)
public void add(MgcpEndpoint endpoint)
endpoint - the endpoint to be addedpublic int find(Text name, MgcpEndpoint[] endpoints)
name - the name pattern for searchendpoints - collection which will be filled by found endpointspublic void onFreed(MgcpEndpoint endpoint)
onFreed in interface MgcpEndpointStateListenerCopyright © 2017 TeleStax, Inc.. All Rights Reserved.