public interface MgcpTransactionManager extends MgcpMessageSubject
| Modifier and Type | Method and Description |
|---|---|
void |
process(InetSocketAddress from,
InetSocketAddress to,
MgcpRequest request,
MgcpCommand command,
MessageDirection direction)
Processes a new MGCP Request to be handled in a new transaction.
|
void |
process(InetSocketAddress from,
InetSocketAddress to,
MgcpResponse response,
MessageDirection direction)
Processes an MGCP Response to close an open transaction.
|
forget, notify, observevoid process(InetSocketAddress from, InetSocketAddress to, MgcpRequest request, MgcpCommand command, MessageDirection direction) throws DuplicateMgcpTransactionException
from - The sender of the request.to - The recipient of the request.request - The MGCP request message.command - The MGCP command to be executed.direction - Dictates whether the message is incoming or outgoing.DuplicateMgcpTransactionException - In case there is an existing transaction for the same call agent.void process(InetSocketAddress from, InetSocketAddress to, MgcpResponse response, MessageDirection direction) throws MgcpTransactionNotFoundException
from - The sender of the request.to - The recipient of the request.response - The MGCP response message.direction - Dictates whether the message is incoming or outgoing.MgcpTransactionNotFoundException - In case there is no matching transaction to close.Copyright © 2017 TeleStax, Inc.. All Rights Reserved.