|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.mgcp.tx.GlobalTransactionManager
public class GlobalTransactionManager
Implements pool of transactions.
| Field Summary | |
|---|---|
protected MgcpProvider |
provider
|
| Constructor Summary | |
|---|---|
GlobalTransactionManager(org.mobicents.media.server.scheduler.Scheduler scheduler)
|
|
| Method Summary | |
|---|---|
Transaction |
allocateNew(InetSocketAddress source,
int id)
|
TransactionManager |
createTransactionManager()
|
Transaction |
find(InetSocketAddress source,
int id)
Find active transaction with specified identifier. |
long |
getTime()
Provides access to the wall clock. |
org.mobicents.media.server.scheduler.Scheduler |
scheduler()
Gets the access to the scheduler. |
void |
setMgcpProvider(MgcpProvider provider)
Assigns MGCP provider. |
void |
setNamingService(NamingTree namingService)
Associates endpoint naming service. |
void |
setPoolSize(int poolSize)
Associates endpoint naming service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MgcpProvider provider
| Constructor Detail |
|---|
public GlobalTransactionManager(org.mobicents.media.server.scheduler.Scheduler scheduler)
| Method Detail |
|---|
public void setNamingService(NamingTree namingService)
namingService - the endpoint naming service.public void setPoolSize(int poolSize)
namingService - the endpoint naming service.public org.mobicents.media.server.scheduler.Scheduler scheduler()
public long getTime()
public void setMgcpProvider(MgcpProvider provider)
provider - mgcp provider instance
public Transaction find(InetSocketAddress source,
int id)
id - the transaction identifier.
public Transaction allocateNew(InetSocketAddress source,
int id)
public TransactionManager createTransactionManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||