public class PlayAnnouncement extends AbstractMgcpSignal implements PlayerListener
Because there is no need to monitor the incoming media stream this event is an efficient mechanism for treatments, informational announcements, etc.
executing| Constructor and Description |
|---|
PlayAnnouncement(Player player,
int requestId,
Map<String,String> parameters) |
PlayAnnouncement(Player player,
int requestId,
NotifiedEntity notifiedEntity,
Map<String,String> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the executing signal.
No action is taken if signal is not executing. |
void |
execute()
Executes the signal.
|
protected boolean |
isParameterSupported(String name) |
void |
process(PlayerEvent event) |
equals, forget, getName, getNotifiedEntity, getParameter, getRequestId, getSignalType, getSymbol, isExecuting, notify, observe, toStringpublic PlayAnnouncement(Player player, int requestId, NotifiedEntity notifiedEntity, Map<String,String> parameters)
protected boolean isParameterSupported(String name)
isParameterSupported in class AbstractMgcpSignalpublic void execute()
MgcpSignalexecute in interface MgcpSignalpublic void cancel()
MgcpSignalcancel in interface MgcpSignalpublic void process(PlayerEvent event)
process in interface Listener<PlayerEvent>Copyright © 2017 TeleStax, Inc.. All Rights Reserved.