public class AsyncAgiWriter extends Object implements AgiWriter
ManagerConnection to send
AgiCommands as part of an AsyncAgi conversation.ManagerConnection,
AgiAction| Constructor and Description |
|---|
AsyncAgiWriter(ManagerConnection connection,
String channelName) |
| Modifier and Type | Method and Description |
|---|---|
void |
sendCommand(AgiCommand command)
Sends the given command to the Asterisk server.
|
void |
updateChannelName(String channelName) |
public AsyncAgiWriter(ManagerConnection connection, String channelName)
public void sendCommand(AgiCommand command) throws AgiException
AgiWritersendCommand in interface AgiWritercommand - the command to send.AgiException - if the command can't be sent.public void updateChannelName(String channelName)
Copyright © 2004–2021. All rights reserved.