public class MgcpSignalProvider extends Object
| Constructor and Description |
|---|
MgcpSignalProvider(com.google.common.util.concurrent.ListeningScheduledExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
MgcpSignal |
provide(String pkg,
String signal,
int requestId,
NotifiedEntity notifiedEntity,
Map<String,String> parameters,
MgcpEndpoint endpoint)
Provides an MGCP Signal to be executed.
|
public MgcpSignalProvider(com.google.common.util.concurrent.ListeningScheduledExecutorService executor)
public MgcpSignal provide(String pkg, String signal, int requestId, NotifiedEntity notifiedEntity, Map<String,String> parameters, MgcpEndpoint endpoint) throws UnrecognizedMgcpPackageException, UnsupportedMgcpSignalException
pkg - The package name.signal - The signal name.requestId - The request identifier.notifiedEntity - The entity that requested to be notified about events resulting from signal completion. May be null.parameters - The parameters that configure the signalendpoint - The endpoint where the signal is going to be executed.UnrecognizedMgcpPackageException - When package name is unrecognized.UnsupportedMgcpSignalException - When package does not support the specified signal.Copyright © 2017 TeleStax, Inc.. All Rights Reserved.