Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static String |
_EXECUTOR_QUEUE_SIZE
Defines how many message can be stored in queue before new ones are discarded.
|
static String |
_EXECUTOR_TABLE_SIZE
Defines how many executors will work on event delivery
|
protected int |
parserThreadPoolSize |
protected int |
port |
JainMgcpStackProviderImpl |
provider |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
JainMgcpStackImpl() |
JainMgcpStackImpl(InetAddress localAddress,
int port)
Creates a new instance of JainMgcpStackImpl
|
| Modifier and Type | Method and Description |
|---|---|
PacketRepresentation |
allocatePacket() |
void |
close()
Closes the stack and it's underlying resources.
|
jain.protocol.ip.mgcp.JainMgcpProvider |
createProvider() |
void |
deleteProvider(jain.protocol.ip.mgcp.JainMgcpProvider provider) |
InetAddress |
getAddress() |
ConcurrentMap<TransactionHandler> |
getCompletedTransactions() |
ConcurrentMap<TransactionHandler> |
getLocalTransactions() |
int |
getPort() |
String |
getProtocolVersion() |
ConcurrentMap<Integer> |
getRemoteTxToLocalTxMap() |
boolean |
isRequest(String header) |
void |
printStats() |
void |
releasePacket(PacketRepresentation pr) |
void |
run() |
void |
send(PacketRepresentation pr) |
void |
setPort(int port) |
void |
setProtocolVersion(String protocolVersion) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final String _EXECUTOR_TABLE_SIZE
public static final String _EXECUTOR_QUEUE_SIZE
protected int port
public JainMgcpStackProviderImpl provider
protected int parserThreadPoolSize
public JainMgcpStackImpl()
public JainMgcpStackImpl(InetAddress localAddress, int port)
public void printStats()
public void close()
public jain.protocol.ip.mgcp.JainMgcpProvider createProvider()
throws jain.protocol.ip.mgcp.CreateProviderException
createProvider in interface jain.protocol.ip.mgcp.JainMgcpStackjain.protocol.ip.mgcp.CreateProviderExceptionpublic void deleteProvider(jain.protocol.ip.mgcp.JainMgcpProvider provider)
throws jain.protocol.ip.mgcp.DeleteProviderException
deleteProvider in interface jain.protocol.ip.mgcp.JainMgcpStackjain.protocol.ip.mgcp.DeleteProviderExceptionpublic void setPort(int port)
setPort in interface jain.protocol.ip.mgcp.OAM_IFpublic int getPort()
getPort in interface jain.protocol.ip.mgcp.JainMgcpStackpublic InetAddress getAddress()
public String getProtocolVersion()
getProtocolVersion in interface jain.protocol.ip.mgcp.JainMgcpStackpublic void setProtocolVersion(String protocolVersion)
setProtocolVersion in interface jain.protocol.ip.mgcp.JainMgcpStackpublic PacketRepresentation allocatePacket()
public void releasePacket(PacketRepresentation pr)
public void send(PacketRepresentation pr)
public boolean isRequest(String header)
public ConcurrentMap<TransactionHandler> getLocalTransactions()
public ConcurrentMap<Integer> getRemoteTxToLocalTxMap()
public ConcurrentMap<TransactionHandler> getCompletedTransactions()
Copyright © 2014 TeleStax, Inc.. All Rights Reserved.