| Constructor and Description |
|---|
AsyncAgiReader(ManagerConnection connection,
List<String> environment,
BlockingQueue<AsyncAgiEvent> asyncAgiEvents) |
| Modifier and Type | Method and Description |
|---|---|
AgiReply |
readReply()
Reads one reply to an AgiCommand from Asterisk.
|
AgiRequest |
readRequest()
Reads the initial request data from Asterisk.
|
public AsyncAgiReader(ManagerConnection connection, List<String> environment, BlockingQueue<AsyncAgiEvent> asyncAgiEvents)
public AgiRequest readRequest() throws AgiException
AgiReaderreadRequest in interface AgiReaderAgiException - if the request can't be read.public AgiReply readReply() throws AgiException
AgiReaderreadReply in interface AgiReaderAgiException - if the reply can't be read.Copyright © 2004–2021. All rights reserved.