|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.mgcp.controller.naming.EndpointQueue
public class EndpointQueue
Storage for endpoints of same type with search and reordering functions.
| Constructor Summary | |
|---|---|
EndpointQueue()
|
|
| Method Summary | |
|---|---|
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 |
remove(MgcpEndpoint endpoint)
Removes endpoint from the queue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EndpointQueue()
| Method Detail |
|---|
public void add(MgcpEndpoint endpoint)
endpoint - the endpoint to be addedpublic void remove(MgcpEndpoint endpoint)
endpoint - the endpoint to be removed.
public int find(Text name,
MgcpEndpoint[] endpoints)
name - the name pattern for searchendpoints - collection which will be filled by found endpoints
public void onFreed(MgcpEndpoint endpoint)
onFreed in interface MgcpEndpointStateListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||