public class GlobalTransactionManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected MgcpProvider |
provider |
| Constructor and Description |
|---|
GlobalTransactionManager(org.restcomm.media.scheduler.Scheduler scheduler,
org.restcomm.media.scheduler.Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
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.restcomm.media.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.
|
protected MgcpProvider provider
public GlobalTransactionManager(org.restcomm.media.scheduler.Scheduler scheduler, org.restcomm.media.scheduler.Clock clock)
public void setNamingService(NamingTree namingService)
namingService - the endpoint naming service.public void setPoolSize(int poolSize)
namingService - the endpoint naming service.public org.restcomm.media.scheduler.Scheduler scheduler()
public long getTime()
public void setMgcpProvider(MgcpProvider provider)
provider - mgcp provider instancepublic Transaction find(InetSocketAddress source, int id)
id - the transaction identifier.public Transaction allocateNew(InetSocketAddress source, int id)
public TransactionManager createTransactionManager()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.