public class AsyncAgiConnectionHandler extends AgiConnectionHandler
AsyncAgiBreakCommand.AGI_CONNECTION_HANDLERS| Constructor and Description |
|---|
AsyncAgiConnectionHandler(MappingStrategy mappingStrategy,
AsyncAgiEvent asyncAgiStartEvent,
AgiChannelFactory agiChannelFactory)
Creates a new FastAGIConnectionHandler to handle the given FastAGI socket connection.
|
| Modifier and Type | Method and Description |
|---|---|
protected AgiReader |
createReader() |
protected AgiWriter |
createWriter() |
void |
onAsyncAgiEndEvent(AsyncAgiEvent event) |
void |
onAsyncAgiExecEvent(AsyncAgiEvent event) |
void |
release()
Release any open resources like closing a socket.
|
void |
updateChannelName(String channelName) |
getChannel, getScript, getScriptName, isIgnoreMissingScripts, run, setIgnoreMissingScriptspublic AsyncAgiConnectionHandler(MappingStrategy mappingStrategy, AsyncAgiEvent asyncAgiStartEvent, AgiChannelFactory agiChannelFactory) throws IllegalArgumentException
mappingStrategy - the strategy to use to determine which script to run.asyncAgiStartEvent - the AsyncAgiEvent that started this connection, must be a start sub event.agiChannelFactory - The factory to use for creating new AgiChannel instances.IllegalArgumentException - if asyncAgiStartEvent is not a start sub type".protected AgiReader createReader()
createReader in class AgiConnectionHandlerprotected AgiWriter createWriter()
createWriter in class AgiConnectionHandlerpublic void release()
AgiConnectionHandlerrelease in class AgiConnectionHandlerpublic void onAsyncAgiExecEvent(AsyncAgiEvent event)
public void onAsyncAgiEndEvent(AsyncAgiEvent event)
public void updateChannelName(String channelName)
Copyright © 2004–2020. All rights reserved.